Skip to content

Commit 4418940

Browse files
committed
Use the least-common-denominator for supported macOS platform tag version.
This is 11_0, because that's what most of the builds actually output.
1 parent cc7de0a commit 4418940

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ jobs:
6060
# Something in the build system isn't detecting that we're building for both,
6161
# so we're getting tagged with just x86_64. Force the universal2 tag.
6262
# (I've verified that the .so files are in fact universal, with both architectures.)
63-
wheel tags --remove --platform-tag universal2 dist/*whl
63+
# The macosx_11_0 tag is conservative: At this writing,
64+
# on GHA, Python 3.7/3.8/3.9/3.10 all produce that tag, while
65+
# 3.11/3.12 produce the less restrictive macosx_10_9 tag. (Locally on JAM's mac,
66+
# the official CPython builds produce 10_9 for everything from 3.9 onward.)
67+
wheel tags --remove --platform-tag macosx_11_0_universal2 dist/*whl
6468
env:
6569
# Unlike the above, we are actually distributing these
6670
# wheels, so they need to be built for production use.

0 commit comments

Comments
 (0)