build manylinux2010 instead of manylinux1
MODIFY
.travis.yml
.travis.yml
@@ -12,7 +12,7 @@ script:
- codecov
after_success:
- if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "linux" && $TRAVIS_PYTHON_VERSION != *"pypy"* ]]; then
- docker run --rm -v "$(pwd):/data" quay.io/pypa/manylinux1_x86_64 bash -c "/data/.travis_build_wheel.sh $TRAVIS_PYTHON_VERSION";
+ docker run --rm -v "$(pwd):/data" quay.io/pypa/manylinux2010_x86_64 bash -c "/data/.travis_build_wheel.sh $TRAVIS_PYTHON_VERSION";
fi;
deploy:
provider: releases

MODIFY
.travis_build_wheel.sh
.travis_build_wheel.sh
@@ -26,3 +26,5 @@ done
# Remove unfixed wheel
rm -rf dist/fastavro-*-linux_*
+# Remove the manylinux1 wheel
+rm -rf dist/fastavro-*-manylinux1_*

MODIFY
publish.sh
publish.sh
@@ -18,7 +18,7 @@ fi
OSes="win_amd64
win32
macosx_10_13_x86_64
-manylinux1_x86_64"
+manylinux2010_x86_64"
PyVers="27
35
@@ -33,11 +33,11 @@ done
# Get the 38 versions
for os in $OSes; do
- wget -q --directory-prefix=dist/ https://github.com/fastavro/fastavro/releases/download/${ver}/fastavro-${ver}-cp${pyver}-cp${pyver}-${os}.whl
+ wget -q --directory-prefix=dist/ https://github.com/fastavro/fastavro/releases/download/${ver}/fastavro-${ver}-cp38-cp38-${os}.whl
done
# Also get the linux 2.7mu version
-wget -q --directory-prefix=dist/ https://github.com/fastavro/fastavro/releases/download/${ver}/fastavro-${ver}-cp27-cp27mu-manylinux1_x86_64.whl
+wget -q --directory-prefix=dist/ https://github.com/fastavro/fastavro/releases/download/${ver}/fastavro-${ver}-cp27-cp27mu-manylinux2010_x86_64.whl
make fresh
FASTAVRO_USE_CYTHON=1 python setup.py sdist

build manylinux2010 instead of manylinux1