Commit d3d28615 authored by Marius Gedminas's avatar Marius Gedminas

Do not upgrade wheel at all

I though pip was smart, but pip is stupid and it ignores version
constraints declared by auditwheel when you upgrade a bunch of packages.
parent cc436e29
...@@ -9,9 +9,7 @@ for PYBIN in /opt/python/*/bin; do ...@@ -9,9 +9,7 @@ for PYBIN in /opt/python/*/bin; do
[[ "${PYBIN}" == *"cp36"* ]] || \ [[ "${PYBIN}" == *"cp36"* ]] || \
[[ "${PYBIN}" == *"cp37"* ]] || \ [[ "${PYBIN}" == *"cp37"* ]] || \
[[ "${PYBIN}" == *"cp38"* ]]; then [[ "${PYBIN}" == *"cp38"* ]]; then
# NB: it's risky to upgrade wheel without upgrading auditwheel, "${PYBIN}/pip" install -U pip setuptools cffi
# see https://github.com/pypa/auditwheel/issues/206
"${PYBIN}/pip" install -U pip setuptools wheel cffi auditwheel
"${PYBIN}/pip" install -e /io/ "${PYBIN}/pip" install -e /io/
"${PYBIN}/pip" wheel /io/ -w wheelhouse/ "${PYBIN}/pip" wheel /io/ -w wheelhouse/
rm -rf /io/build /io/*.egg-info rm -rf /io/build /io/*.egg-info
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment