You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PYTHON_VERSION=`python3.9 -V 2>&1| sed 's/[^0-9]*//g'| cut -c 1,2`;\
25
-
PYTHON_VERSION_IS_CORRECT=`cat code-env/python/desc.json |python3.9 -c "import sys, json; print(str($$PYTHON_VERSION) in [x[-2:] for x in json.load(sys.stdin)['acceptedPythonInterpreters']]);"`;\
24
+
PYTHON_VERSION=`python -V 2>&1| sed 's/[^0-9]*//g'| cut -c 1,2`;\
25
+
PYTHON_VERSION_IS_CORRECT=`cat code-env/python/desc.json |python -c "import sys, json; print(str($$PYTHON_VERSION) in [x[-2:] for x in json.load(sys.stdin)['acceptedPythonInterpreters']]);"`;\
26
26
if [ $$PYTHON_VERSION_IS_CORRECT =="False" ];thenecho"Python version $$PYTHON_VERSION is not in acceptedPythonInterpreters";exit 1;elseecho"Python version $$PYTHON_VERSION is in acceptedPythonInterpreters";fi;\
0 commit comments