X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpython-tools-install.sh;fp=shell%2Fpython-tools-install.sh;h=f1918aa8299da430605ca525d0f1ac3fdbb38a36;hb=90db9af77b1d31e7c22e6dc181c8b8c6f00b821e;hp=5866ea5ce488ee2e844d0b5559f1dbc6c48f1794;hpb=0c7c17f769c76574c333b3c08fffe795d44e9db9;p=releng%2Fglobal-jjb.git diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index 5866ea5c..f1918aa8 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -19,6 +19,7 @@ python-heatclient~=1.16.1 python-openstackclient~=3.16.0 EOF -pip install --user --quiet --upgrade pip==18.0 setuptools==40.0.0 -pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE" +# Use `python -m pip` to ensure we are using the latest version of pip +python -m pip install --user --quiet --upgrade pip==18.0 setuptools==40.0.0 +python -m pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE" pip freeze