-
Notifications
You must be signed in to change notification settings - Fork 264
feat: remove 32-bit linux from auto arch, fix auto32 on linux aarch64 #2458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2c79987
to
51bc714
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the architecture configuration logic by removing 32‑bit Linux architectures from the default "auto" option and refining the behavior of "auto32" on Linux (particularly on aarch64) while updating test cases, documentation, and the pre-commit configuration accordingly.
- Update tests to expect only 64‑bit Linux archs by default.
- Refactor Architecture.parse_config and Architecture.bitness_archs using match‑case to correctly map auto and native architectures.
- Revise documentation and pre-commit configuration to align with the new behavior.
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
unit_test/options_test.py | Added explicit arch list "auto64", "auto32" in test configurations. |
unit_test/option_prepare_test.py | Updated test environment to set CIBW_ARCHS reflecting new arch behavior. |
unit_test/main_tests/main_platform_test.py | Adjusted expected auto architectures for Linux. |
unit_test/architecture_test.py | Modified tests for auto arch parsing, including aarch32 condition. |
test/utils.py | Added a new full_auto parameter to conditionally build both arch wheels. |
docs/options.md | Updated option descriptions, tables, warnings, and notes regarding auto archs. |
cibuildwheel/architecture.py | Refactored config parsing with match‑case and updated bitness logic. |
README.md | Updated checksum metadata. |
.pre-commit-config.yaml | Updated cogapp dependency version. |
Signed-off-by: Henry Schreiner <[email protected]>
51bc714
to
9c411c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Big thanks for putting this together. Looks good to me, just a couple notes.
Co-authored-by: Joe Rickerby <[email protected]>
The Azure failure is:
|
I raised a PR for that - #2461 . |
This is the proposal (option 2), close #2451.