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: I2fa1c67ecd712364a822edcf7470e5489447d990
This commit is contained in:
Tuan Do Anh 2018-07-18 15:51:23 +07:00
parent 4ce7976859
commit 82f6d119d0
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ if [[ $(readlink -f /etc/alternatives/pip) =~ "pip3" ]]; then
fi
if ! which pip; then
wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py
wget -O /tmp/get-pip.py https://bootstrap.pypa.io/3.2/get-pip.py
sudo -H -E ${PYTHON} /tmp/get-pip.py
fi