Skip to content

Commit

Permalink
testsuite: pip 21 dropped support for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderS committed Jan 29, 2021
1 parent 1f76615 commit 79aff6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ SITE_PACKAGES=$(python -c 'from distutils.sysconfig import get_python_lib; print
if [[ ${PYVER:0:1} == "2" && $PYVER != "2.7" && $PYVER != "2.6" ]]; then
pip install --index-url=https://pypi.org/simple -r testsuite/requirements-legacy.txt
else
if [[ "$PYVER" == "2.6" ]]; then
pip install --index-url=https://pypi.org/simple --upgrade pip
if [[ "${PYVER:0:1}" == "2" ]]; then
pip install --index-url=https://pypi.org/simple --upgrade 'pip<21'
else
pip install --upgrade pip
fi
Expand Down

0 comments on commit 79aff6e

Please sign in to comment.