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>
--- /dev/null
+---
+fixes:
+ - |
+ Fix `pip install pip setuptools` which seems to fail against the Nexus 3
+ proxy. Run them as separate calls to make things happier.
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