Cap installed pip to be < 8

Pip 8 just release which made uninstalling distutils installed packages
fatal. This was previously a deprecation warning and is now causing all
dsvm jobs to fail.

(cherry picked from commit 0ea729ac49)

Change-Id: I511d216d9d8619c7cf919c482aaead4e833cdaac
Depends-On: I315351f91747d27bf735bdc3f2a527d773b029be
This commit is contained in:
Matthew Treinish
2016-01-19 20:29:46 -05:00
parent 91eba8eb20
commit 385508edfd
2 changed files with 2 additions and 1 deletions

1
tools/cap-pip.txt Normal file
View File

@@ -0,0 +1 @@
pip<8

View File

@@ -58,7 +58,7 @@ function install_get_pip {
die $LINENO "Download of get-pip.py failed"
touch $LOCAL_PIP.downloaded
fi
sudo -H -E python $LOCAL_PIP
sudo -H -E python $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt
}