From 3174b7d3d543f5a44f88351ead78cf0781617584 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Mon, 22 Apr 2019 13:53:14 -0400 Subject: [PATCH] Bump many-linux to 2010 --- .ci/build-manylinux-wheels.sh | 3 ++- .ci/travis-build-wheels.sh | 5 +++-- .ci/travis-release.sh | 3 +-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.ci/build-manylinux-wheels.sh b/.ci/build-manylinux-wheels.sh index 26bad51c..7d1fcf0c 100755 --- a/.ci/build-manylinux-wheels.sh +++ b/.ci/build-manylinux-wheels.sh @@ -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 diff --git a/.ci/travis-build-wheels.sh b/.ci/travis-build-wheels.sh index c1d9b77e..c2b72fb5 100755 --- a/.ci/travis-build-wheels.sh +++ b/.ci/travis-build-wheels.sh @@ -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 diff --git a/.ci/travis-release.sh b/.ci/travis-release.sh index bf018ea5..a2677360 100755 --- a/.ci/travis-release.sh +++ b/.ci/travis-release.sh @@ -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}"