Merge "infra-package-needs: install latest pip"

This commit is contained in:
Zuul 2021-10-20 00:22:04 +00:00 committed by Gerrit Code Review
commit 151d74991b
3 changed files with 21 additions and 0 deletions

View File

@ -23,4 +23,11 @@ fi
set -e
python3 -m venv /usr/bindep-env
if [[ ${DIB_RELEASE} == 'xenial' ]]; then
# The pip on xenial can't figure out it shouldn't install
# the latest pip; this is the last to support 3.5
/usr/bindep-env/bin/pip install --upgrade pip==20.3.4
else
/usr/bindep-env/bin/pip install --upgrade pip
fi
/usr/bindep-env/bin/pip install bindep

View File

@ -23,4 +23,11 @@ fi
set -e
python3 -m venv /usr/tox-env
if [[ ${DIB_RELEASE} == 'xenial' ]]; then
# The pip on xenial can't figure out it shouldn't install
# the latest pip; this is the last to support 3.5
/usr/bindep-env/bin/pip install --upgrade pip==20.3.4
else
/usr/bindep-env/bin/pip install --upgrade pip
fi
/usr/tox-env/bin/pip install tox

View File

@ -19,4 +19,11 @@ fi
set -e
python3 -m venv /usr/os-testr-env
if [[ ${DIB_RELEASE} == 'xenial' ]]; then
# The pip on xenial can't figure out it shouldn't install
# the latest pip; this is the last to support 3.5
/usr/bindep-env/bin/pip install --upgrade pip==20.3.4
else
/usr/bindep-env/bin/pip install --upgrade pip
fi
/usr/os-testr-env/bin/pip install os-testr