Make sure that jjb-cleanup.sh allows unbound vars
[releng/global-jjb.git] / shell / python-tools-install.sh
index 5866ea5..298464d 100644 (file)
@@ -19,6 +19,8 @@ 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
+python -m pip install --user --quiet --upgrade setuptools
+python -m pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE"
 pip freeze