X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpython-tools-install.sh;h=c607dcb7b8c5efb3c933a0244c710aa793e76ebe;hb=a69d4e3a1b365a4745301ee41c86ee25768c8618;hp=02070b4267a718cf4c784c6274e662a3232231b5;hpb=94549ed1f13fca2ebd7d3545166f1e73035a694d;p=releng%2Fglobal-jjb.git diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index 02070b42..c607dcb7 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -19,6 +19,8 @@ python-heatclient~=1.16.1 python-openstackclient~=3.16.0 EOF -python -m pip install --user --quiet --upgrade pip~=18.0 setuptools~=40.2.0 +# Use `python -m pip` to ensure we are using the latest version of pip +python -m pip install --user --quiet --upgrade pip +python -m pip install --user --quiet --upgrade setuptools python -m pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE" pip freeze