Skip to content

Commit

Permalink
Use the least-common-denominator for supported macOS platform tag ver…
Browse files Browse the repository at this point in the history
…sion.

This is 11_0, because that's what most of the builds actually output.
  • Loading branch information
jamadden committed Oct 25, 2023
1 parent cc7de0a commit 4418940
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ jobs:
# Something in the build system isn't detecting that we're building for both,
# so we're getting tagged with just x86_64. Force the universal2 tag.
# (I've verified that the .so files are in fact universal, with both architectures.)
wheel tags --remove --platform-tag universal2 dist/*whl
# The macosx_11_0 tag is conservative: At this writing,
# on GHA, Python 3.7/3.8/3.9/3.10 all produce that tag, while
# 3.11/3.12 produce the less restrictive macosx_10_9 tag. (Locally on JAM's mac,
# the official CPython builds produce 10_9 for everything from 3.9 onward.)
wheel tags --remove --platform-tag macosx_11_0_universal2 dist/*whl
env:
# Unlike the above, we are actually distributing these
# wheels, so they need to be built for production use.
Expand Down

0 comments on commit 4418940

Please sign in to comment.