Split pip and setuptools install to 2 calls 07/12607/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 14 Sep 2018 15:29:55 +0000 (11:29 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 14 Sep 2018 17:29:26 +0000 (13:29 -0400)
We seem to be getting more success installing pip and setuptools this
way and hopefully fixes the post-build scripts to not require all
jobs that use python to need to update their virtualenv calls.

Change-Id: I0fba7ba0f574cb29561fcfdb1404272c67165582
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
releasenotes/notes/fix-pip-install-9986f896b122d952.yaml [new file with mode: 0644]
shell/python-tools-install.sh

diff --git a/releasenotes/notes/fix-pip-install-9986f896b122d952.yaml b/releasenotes/notes/fix-pip-install-9986f896b122d952.yaml
new file mode 100644 (file)
index 0000000..903240e
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Fix `pip install pip setuptools` which seems to fail against the Nexus 3
+    proxy. Run them as separate calls to make things happier.
index dbfa131..c607dcb 100644 (file)
@@ -20,6 +20,7 @@ python-openstackclient~=3.16.0
 EOF
 
 # 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.2.0
+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