Better explanatory message for pip install

Update comment text to reflect why we install pip the
way we do.

Change-Id: Id711b99932e5166f4ab9ce6f9d70bd8c66604ae3
Closes-Bug: #1536627
This commit is contained in:
stephane 2016-02-18 19:33:51 -08:00
parent 552b09cb12
commit d15756b32b

View File

@ -82,12 +82,13 @@ PYTHON=$(which python)
# We can't use the apt packaged version of pip since
# older versions of pip are incompatible with
# requests, one of our indirect dependencies (bug 1459947).
# Note(TheJulia) This originally appeared because older
# versions of pip would do the wrong thing, 1459947.
# However, now pip 8.0 breaks things. See 1536627
#wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py
#sudo -H -E python /tmp/get-pip.py
#
# Note(cinerama): We use pip to install an updated pip plus our
# other python requirements. pip breakages can seriously impact us,
# so we've chosen to install/upgrade pip here rather than in
# requirements (which are synced automatically from the global ones)
# so we can quickly and easily adjust version parameters.
# See bug 1536627.
if ! which pip; then
wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py