Browse code

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 0ea729ac4908683141e5b1a9ca0d4a0d2390f5ad)

Change-Id: I511d216d9d8619c7cf919c482aaead4e833cdaac
Depends-On: I315351f91747d27bf735bdc3f2a527d773b029be

Matthew Treinish authored on 2016/01/20 10:29:46
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1 @@
0
+pip<8
... ...
@@ -58,7 +58,7 @@ function install_get_pip {
58 58
             die $LINENO "Download of get-pip.py failed"
59 59
         touch $LOCAL_PIP.downloaded
60 60
     fi
61
-    sudo -H -E python $LOCAL_PIP
61
+    sudo -H -E python $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt
62 62
 }
63 63
 
64 64