Pin get-pip.py to 3.2

As get-pip.py evolves based on pip 10, while we're still using
pip 9, changes in the way it can be used are causing problems.

For example, the ability to use --download is no longer there.

As such, let's pin to a known good version and leave it at that
until we no longer need to use this script. Version 3.2 maps to
pip 7.1.2 which fulfills our needs.

Change-Id: I6aa297ee6e1ca3a76f016a6a0c3d4a735433a9b2
Closes-Bug: 1779534
(cherry picked from commit aa0a76ce9c)
This commit is contained in:
Jesse Pretorius 2018-07-03 18:09:14 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 4ab3f6c00b
commit b934d9cde0
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ esac
# Install pip
if ! which pip &>/dev/null; then
curl --silent --show-error --retry 5 \
https://bootstrap.pypa.io/get-pip.py | sudo python2.7
https://bootstrap.pypa.io/3.2/get-pip.py | sudo python2.7
fi
# Install bindep and tox