Skip to content

Commit ef7040d

Browse files
committed
Fix manylinux for 3.8
3.8 has dropped the 'm' ABI suffix.
1 parent 7fcbfed commit ef7040d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.ci/travis-build-wheels.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@ _upload_wheels() {
3939
if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
4040
for pyver in ${RELEASE_PYTHON_VERSIONS}; do
4141
ML_PYTHON_VERSION=$(python3 -c \
42-
"print('cp{maj}{min}-cp{maj}{min}m'.format( \
42+
"print('cp{maj}{min}-cp{maj}{min}{s}'.format( \
4343
maj='${pyver}'.split('.')[0], \
44-
min='${pyver}'.split('.')[1]))")
44+
min='${pyver}'.split('.')[1],
45+
s='m' if tuple('${pyver}'.split('.')) < ('3', '8') \
46+
else ''))")
4547

4648
for arch in x86_64; do
4749
ML_IMAGE="quay.io/pypa/manylinux2010_${arch}"

0 commit comments

Comments
 (0)