Pin auditwheel to 1.5.0 for virtualenv.
PiperOrigin-RevId: 236587064
This commit is contained in:
parent
2ed8375ef7
commit
7af99a4a4d
@ -664,7 +664,10 @@ for WHL_PATH in $(ls ${PIP_WHL_DIR}/${PROJECT_NAME}*.whl); do
|
||||
# Repair the wheels for cpu manylinux1
|
||||
echo "auditwheel repairing ${WHL_PATH}"
|
||||
pip show auditwheel
|
||||
sudo pip3 install auditwheel==1.5.0
|
||||
# If in virtualenv, re-pin auditwheel to version 1.5.0
|
||||
if [ $(python -c 'import sys; print ("1" if hasattr(sys, "real_prefix") else "0")') == "1" ]; then
|
||||
pip install auditwheel==1.5.0
|
||||
fi
|
||||
auditwheel --version
|
||||
auditwheel repair -w "${WHL_DIR}" "${WHL_PATH}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user