From 9dcfaa5fed5b9d4359ad822d1fbafc139a527846 Mon Sep 17 00:00:00 2001 From: PyYoshi Date: Mon, 18 Nov 2019 14:44:20 +0900 Subject: [PATCH] fix python 3.8 build error on manylinux --- Makefile | 8 ++++---- dockerfiles/buildwheel.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d7d8879..570b8e9 100644 --- a/Makefile +++ b/Makefile @@ -17,9 +17,9 @@ install: clean python setup.py install build-manylinux1-wheel: - docker pull quay.io/pypa/manylinux1_i686 - docker pull quay.io/pypa/manylinux1_x86_64 - docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_i686 bash dockerfiles/buildwheel.sh - docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_x86_64 bash dockerfiles/buildwheel.sh + docker pull quay.io/pypa/manylinux2010_i686 + docker pull quay.io/pypa/manylinux2010_x86_64 + docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux2010_i686 bash dockerfiles/buildwheel.sh + docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux2010_x86_64 bash dockerfiles/buildwheel.sh build: clean pip test sdist build-manylinux1-wheel diff --git a/dockerfiles/buildwheel.sh b/dockerfiles/buildwheel.sh index 89359c8..288b663 100755 --- a/dockerfiles/buildwheel.sh +++ b/dockerfiles/buildwheel.sh @@ -4,7 +4,7 @@ set -e -x ARCH=`uname -p` echo "arch=$ARCH" -for V in cp38-cp38m cp37-cp37m cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do +for V in cp38-cp38 cp37-cp37m cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do PYBIN=/opt/python/$V/bin rm -rf build src/cchardet/__pycache__ src/cchardet/*.cpp src/cchardet/*.pyc src/cchardet/*.so src/cchardet.egg-info src/tests/__pycache__ src/tests/*.pyc $PYBIN/pip install -r requirements-dev.txt