File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,11 @@ _upload_wheels() {
3838if [ " ${TRAVIS_OS_NAME} " == " linux" ]; then
3939 for pyver in ${RELEASE_PYTHON_VERSIONS} ; do
4040 ML_PYTHON_VERSION=$( python3 -c \
41- " print('cp{maj}{min}-cp{maj}{min}m '.format( \
41+ " print('cp{maj}{min}-cp{maj}{min}{s} '.format( \
4242 maj='${pyver} '.split('.')[0], \
43- min='${pyver} '.split('.')[1]))" )
43+ min='${pyver} '.split('.')[1], \
44+ s='m' if tuple('${pyver} '.split('.')) < ('3', '8') \
45+ else ''))" )
4446
4547 for arch in x86_64 i686; do
4648 ML_IMAGE=" quay.io/pypa/manylinux1_${arch} "
Original file line number Diff line number Diff line change @@ -30,8 +30,11 @@ P="${PYMODULE}-${PACKAGE_VERSION}"
3030expected_wheels=()
3131
3232for pyver in ${RELEASE_PYTHON_VERSIONS} ; do
33- pyver=" ${pyver// ./ } "
34- abitag=" cp${pyver} -cp${pyver} m"
33+ abitag=$( python -c \
34+ " print('cp{maj}{min}-cp{maj}{min}{s}'.format( \
35+ maj='${pyver} '.split('.')[0], \
36+ min='${pyver} '.split('.')[1],
37+ s='m' if tuple('${pyver} '.split('.')) < ('3', '8') else ''))" )
3538 for plat in " ${release_platforms[@]} " ; do
3639 expected_wheels+=(" ${P} -${abitag} -${plat} .whl" )
3740 done
You can’t perform that action at this time.
0 commit comments