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.
Depends-On: I511d216d9d8619c7cf919c482aaead4e833cdaac
Change-Id: I22f5c3af1adf96cfbd5747122f915a82e947843a
| ... | ... |
@@ -77,9 +77,9 @@ function install_get_pip {
|
| 77 | 77 |
die $LINENO "Download of get-pip.py failed" |
| 78 | 78 |
touch $LOCAL_PIP.downloaded |
| 79 | 79 |
fi |
| 80 |
- sudo -H -E python $LOCAL_PIP |
|
| 80 |
+ sudo -H -E python $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt |
|
| 81 | 81 |
if python3_enabled; then |
| 82 |
- sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP
|
|
| 82 |
+ sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt
|
|
| 83 | 83 |
fi |
| 84 | 84 |
} |
| 85 | 85 |
|