summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-02-28 19:26:57 -0500
committerNed Batchelder <ned@nedbatchelder.com>2020-02-29 07:45:00 -0500
commit907f0e8ba91d80c55e0e460fb514b9f4bb03badf (patch)
tree405999ee12ee1a1a748e465d561c80eee081166b /ci
parent1148bf9118f9df3458cae933601a2638e0684218 (diff)
downloadpython-coveragepy-git-907f0e8ba91d80c55e0e460fb514b9f4bb03badf.tar.gz
Use latest wheel to make Windows 3.8 work. #949
Diffstat (limited to 'ci')
-rwxr-xr-xci/manylinux.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/manylinux.sh b/ci/manylinux.sh
index 99ea598e..c5dc42a3 100755
--- a/ci/manylinux.sh
+++ b/ci/manylinux.sh
@@ -16,7 +16,13 @@ if [[ $action == "build" ]]; then
# Compile wheels
cd /io
for PYBIN in /opt/python/*/bin; do
+ if [[ $PYBIN == *cp34* ]]; then
+ # manylinux docker images have Python 3.4, but we don't use it.
+ continue
+ fi
"$PYBIN/pip" install -r requirements/wheel.pip
+ # pin so auditwheel will work: https://github.com/pypa/auditwheel/issues/102
+ "$PYBIN/pip" install wheel==0.31.1
"$PYBIN/python" setup.py clean -a
"$PYBIN/python" setup.py bdist_wheel -d ~/wheelhouse/
done
@@ -30,6 +36,10 @@ if [[ $action == "build" ]]; then
elif [[ $action == "test" ]]; then
# Create "pythonX.Y" links
for PYBIN in /opt/python/*/bin/; do
+ if [[ $PYBIN == *cp34* ]]; then
+ # manylinux docker images have Python 3.4, but we don't use it.
+ continue
+ fi
PYNAME=$("$PYBIN/python" -c "import sys; print('python{0[0]}.{0[1]}'.format(sys.version_info))")
ln -sf "$PYBIN/$PYNAME" /usr/local/bin/$PYNAME
done