3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-14 19:15:41 +00:00

Nightly: rewrite unsupported macOS wheel tags for test.PyPI

This commit is contained in:
copilot-swe-agent[bot] 2026-07-14 14:57:07 +00:00 committed by GitHub
parent b1053aa7a7
commit aa0b9ae02e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -915,11 +915,14 @@ jobs:
name: PythonPackages
path: dist
- name: Exclude macOS wheels unsupported by test.PyPI
- name: Rewrite macOS wheel tags unsupported by test.PyPI
run: |
# test.PyPI rejects current macOS wheel tags such as macosx_13_3_*.
# Keep publishing sdist + Linux/Windows wheels so this validation job remains useful.
rm -f dist/*-macosx_*.whl
# Rewrite only the unsupported 13_3 tag to 13 for upload validation.
for whl in dist/*-macosx_13_3_*.whl; do
[ -e "$whl" ] || continue
mv "$whl" "${whl/macosx_13_3_/macosx_13_}"
done
ls -l dist
- name: Publish to PyPI