From 3535bfcd641affc5b15e6855f2749b6055c26c3b Mon Sep 17 00:00:00 2001 From: jacky06 Date: Thu, 5 Jul 2018 07:56:21 -0400 Subject: [PATCH] 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: I49f6c9b238b42d4840c17af222e3bc82dfa6167f --- multi-node-aio/bootstrap.sh | 2 +- pxelinux-provisioning/bootstrap.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multi-node-aio/bootstrap.sh b/multi-node-aio/bootstrap.sh index ba308f8e..2c85d809 100755 --- a/multi-node-aio/bootstrap.sh +++ b/multi-node-aio/bootstrap.sh @@ -41,7 +41,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 diff --git a/pxelinux-provisioning/bootstrap.sh b/pxelinux-provisioning/bootstrap.sh index 27e4d0cb..3641e4d0 100755 --- a/pxelinux-provisioning/bootstrap.sh +++ b/pxelinux-provisioning/bootstrap.sh @@ -41,7 +41,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