diff --git a/.github/scripts/install.sh b/.github/scripts/install.sh index dd0dba9ad73..2277107c3d8 100755 --- a/.github/scripts/install.sh +++ b/.github/scripts/install.sh @@ -79,7 +79,8 @@ conda create -n jedi-test-env -q -y python=3.9 flask conda list -n jedi-test-env # Create environment to test conda env activation before launching a kernel -conda create -n spytest-ž -q -y -c conda-forge python=3.9 spyder-kernels +kernelVer="`cat requirements/main.yml | grep spyder-kernels | grep -o '[^>=]*$' | grep -o '^[^,<]*'`" +conda create -n spytest-ž -q -y -c conda-forge python=3.9 spyder-kernels="${kernelVer}" conda list -n spytest-ž # Install pyenv on Linux systems