From 4418940827246bfadccc256ecd3c1107a5c535a8 Mon Sep 17 00:00:00 2001 From: Jason Madden Date: Wed, 25 Oct 2023 07:23:58 -0500 Subject: [PATCH] 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. --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4a79448d..eba03f57 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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.