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:
parent
4ce7976859
commit
82f6d119d0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user