Skip to content

Commit

Permalink
fix(binaries): Fix arm64 mac binary tags
Browse files Browse the repository at this point in the history
I used docs on the [Python wheel format][] to determine that the bit with the OS and CPU is called the "platform tag".  Then I found a [discussion of macOS platform tags][] that gave me the hint that arm64 wheels need to specify macOS 11 at a minimum.

[Python wheel format]: https://peps.python.org/pep-0427/
[discussion of macOS platform tags]: pypa/wheel#387

Closes shaka-project#194
  • Loading branch information
joeyparrish committed Nov 8, 2024
1 parent 6e304ac commit 8c1fc03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binaries/build_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
'manylinux2014_aarch64': '-linux-arm64',
# macOS x64 with 10.9 SDK
'macosx_10_9_x86_64': '-osx-x64',
# macOS arm64 with 10.9 SDK
'macosx_10_9_arm64': '-osx-arm64',
# macOS arm64 with 11.0 SDK
'macosx_11_0_arm64': '-osx-arm64',
# Windows x64
'win_amd64': '-win-x64.exe',
}
Expand Down

0 comments on commit 8c1fc03

Please sign in to comment.