Skip missing Python interpreters in scripts/run_all.sh

musllinux images miss PyPy interpreters,
we want to skip building PyPy wheels for musl
instead of failing the build.

Also remove workaround from CI scripts.
This commit is contained in:
link2xt
2022-07-10 19:15:22 +00:00
parent 32eb016ee7
commit cfadf20d08
2 changed files with 5 additions and 3 deletions

View File

@@ -280,8 +280,7 @@ jobs:
args:
- -exc
- |
sed s/pypy37,pypy38,pypy39,// scripts/run_all.sh >/tmp/run_all.sh
bash /tmp/run_all.sh
scripts/run_all.sh
# Upload musl x86_64 wheels
- task: upload-wheels

View File

@@ -33,7 +33,10 @@ mkdir -p $TOXWORKDIR
# Note that the independent remote_tests_python step does all kinds of
# live-testing already.
unset DCC_NEW_TMP_EMAIL
tox --workdir "$TOXWORKDIR" -e py37,py38,py39,py310,pypy37,pypy38,pypy39,auditwheels
# Try to build wheels for a range of interpreters, but don't fail if they are not available.
# E.g. musllinux_1_1 does not have PyPy interpreters as of 2022-07-10
tox --workdir "$TOXWORKDIR" -e py37,py38,py39,py310,pypy37,pypy38,pypy39,auditwheels --skip-missing-interpreters true
popd