Loading build-and-test-py-project-within-miniconda.sh +7 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,13 @@ PY_EXE=python # Using pip instead of conda here avoids ridiculous uninstall chains # like these:https://gitlab.tiker.net/inducer/pyopencl/-/jobs/61543 PYTHON_VER=$($PY_EXE -c 'import sys; print(".".join(str(s) for s in sys.version_info[:2]))') if [[ "${PY_EXE}" == 2* ]]; then ${PY_EXE} -mpip install "pytest<5" else ${PY_EXE} -mpip install pytest fi conda list Loading Loading
build-and-test-py-project-within-miniconda.sh +7 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,13 @@ PY_EXE=python # Using pip instead of conda here avoids ridiculous uninstall chains # like these:https://gitlab.tiker.net/inducer/pyopencl/-/jobs/61543 PYTHON_VER=$($PY_EXE -c 'import sys; print(".".join(str(s) for s in sys.version_info[:2]))') if [[ "${PY_EXE}" == 2* ]]; then ${PY_EXE} -mpip install "pytest<5" else ${PY_EXE} -mpip install pytest fi conda list Loading