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. Depends-On: I511d216d9d8619c7cf919c482aaead4e833cdaac Change-Id: I22f5c3af1adf96cfbd5747122f915a82e947843a
This commit is contained in:
parent
8ca268b7c3
commit
1d27155f65
1
tools/cap-pip.txt
Normal file
1
tools/cap-pip.txt
Normal file
@ -0,0 +1 @@
|
||||
pip<8
|
@ -77,9 +77,9 @@ 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
|
||||
if python3_enabled; then
|
||||
sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP
|
||||
sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user