Skip to content

Commit

Permalink
Use older pip to fix Python 2 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Dec 1, 2023
1 parent bf24ffd commit 45c8d71
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ else
IMP_CONDA="imp"
fi

conda create --yes -q -n python${python_version} -c salilab python=${python_version} scipy matplotlib ${IMP_CONDA}
if [ ${python_version} = "2.7" ]; then
pip="pip<=19.3.1"
else
pip="pip"
fi

conda create --yes -q -n python${python_version} -c salilab python=${python_version} scipy matplotlib ${pip} ${IMP_CONDA}
eval "$(conda shell.bash hook)"
conda activate python${python_version}

Expand Down

0 comments on commit 45c8d71

Please sign in to comment.