馃懛 ci(dist): build Windows arm64 wheels - #695
Merged
Merged
Conversation
Every Windows wheel targeted AMD64, so installing on Windows on ARM fell back to the source distribution, which needs a local cargo and MSVC toolchain. Since 4.0.0 replaced the pure Python package with a Rust extension, that fallback is what a user on such a machine gets. The windows-11-arm runner builds ARM64 natively, so the platform joins the matrix as one more entry. PyPy ships no Windows arm64 interpreter and cibuildwheel stops a job whose selector matches nothing, so that one combination is excluded.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jens asked for a Windows ARM64 distribution in discussion #693. The wheel matrix builds Windows on
AMD64alone, sopipanduvfall back to the sdist on Windows on ARM, and since 4.0.0 that means compiling the Rust extension against a localcargoand MSVC toolchain. Before 4.0.0 the singlepy3-none-anywheel covered the platform for free.The
windows-11-armrunner builds ARM64 natively, so the platform joins the matrix as one more entry rather than through cross-compilation.cibuildwheelofferscp310-win_arm64,cp314t-win_arm64andcp315t-win_arm64, which lines up with the interpreters already in the matrix, so thecp310job produces the shared abi3 wheel and the two free-threaded jobs produce theirs. PyPy publishes no Windowsarm64interpreter andcibuildwheelstops a job whose selector matches nothing, sopp311is excluded for that platform alone.Three build jobs join every dist run, and they run beside the existing ones. The runner image carries Rust 1.98.0, which is what
rust-toolchain.tomlpins, and Visual Studio 2022. Worth watching:actions/runner-imagesmoves thewindows-11-armlabel to a Visual Studio 2026 image in September 2026.