Skip to content

Commit

Permalink
Do not upgrade wheel at all
Browse files Browse the repository at this point in the history
I though pip was smart, but pip is stupid and it ignores version
constraints declared by auditwheel when you upgrade a bunch of packages.
  • Loading branch information
mgedmin committed Nov 8, 2019
1 parent cc436e2 commit d3d2861
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .manylinux-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ for PYBIN in /opt/python/*/bin; do
[[ "${PYBIN}" == *"cp36"* ]] || \
[[ "${PYBIN}" == *"cp37"* ]] || \
[[ "${PYBIN}" == *"cp38"* ]]; then
# NB: it's risky to upgrade wheel without upgrading auditwheel,
# see https://github.com/pypa/auditwheel/issues/206
"${PYBIN}/pip" install -U pip setuptools wheel cffi auditwheel
"${PYBIN}/pip" install -U pip setuptools cffi
"${PYBIN}/pip" install -e /io/
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
rm -rf /io/build /io/*.egg-info
Expand Down

0 comments on commit d3d2861

Please sign in to comment.