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 authored Dec 3, 2023
1 parent 739d141 commit 1f191f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/setup_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ cd ${temp_dir}

if [ ${python_version} = "2.7" ]; then
BOOST=""
pip="pip<=19.3.1"
else
BOOST="libboost-devel"
pip="pip"
fi
conda config --remove channels defaults # get conda-forge, not main, packages
conda create --yes -q -n python${python_version} -c salilab -c conda-forge python=${python_version} pip scipy matplotlib imp-nightly ${BOOST} gxx_linux-64 eigen cereal swig cmake
conda create --yes -q -n python${python_version} -c salilab -c conda-forge python=${python_version} ${pip} scipy matplotlib imp-nightly ${BOOST} gxx_linux-64 eigen cereal swig cmake
eval "$(conda shell.bash hook)"
conda activate python${python_version}
pip install pytest-cov coverage
Expand Down

0 comments on commit 1f191f1

Please sign in to comment.