Skip to content

Commit

Permalink
Bump many-linux to 2010
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Apr 22, 2019
1 parent 46c5e9e commit 3174b7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .ci/build-manylinux-wheels.sh
Expand Up @@ -11,7 +11,8 @@ ${PIP} wheel /io/ -w /io/dist/

# Bundle external shared libraries into the wheels.
for whl in /io/dist/*.whl; do
auditwheel repair $whl -w /io/dist/
auditwheel repair --plat="manylinux2010_${PYARCH}" \
$whl -w /io/dist/
rm /io/dist/*-linux_*.whl
done

Expand Down
5 changes: 3 additions & 2 deletions .ci/travis-build-wheels.sh
Expand Up @@ -43,11 +43,12 @@ if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
maj='${pyver}'.split('.')[0], \
min='${pyver}'.split('.')[1]))")

for arch in x86_64 i686; do
ML_IMAGE="quay.io/pypa/manylinux1_${arch}"
for arch in x86_64; do
ML_IMAGE="quay.io/pypa/manylinux2010_${arch}"
docker pull "${ML_IMAGE}"
docker run --rm \
-v "${_root}":/io \
-e "PYARCH=${arch}" \
-e "PYMODULE=${PYMODULE}" \
-e "PYTHON_VERSION=${ML_PYTHON_VERSION}" \
"${ML_IMAGE}" /io/.ci/build-manylinux-wheels.sh
Expand Down
3 changes: 1 addition & 2 deletions .ci/travis-release.sh
Expand Up @@ -20,8 +20,7 @@ fi
# Check if all expected wheels have been built and uploaded.
release_platforms=(
"macosx_10_??_x86_64"
"manylinux1_i686"
"manylinux1_x86_64"
"manylinux*_x86_64"
)

P="${PYMODULE}-${PACKAGE_VERSION}"
Expand Down

0 comments on commit 3174b7d

Please sign in to comment.