Add free-threaded Python 3.14 support and build matrix printing to CI workflow [full-build]#18
Open
Add free-threaded Python 3.14 support and build matrix printing to CI workflow [full-build]#18
Conversation
Co-authored-by: scott-griffiths <11528142+scott-griffiths@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] cibuildwheel: keep musllinux, add free-threaded builds, and print build matrix
Add free-threaded Python 3.14 support and build matrix printing to CI workflow
Sep 30, 2025
scott-griffiths
requested changes
Sep 30, 2025
Owner
scott-griffiths
left a comment
There was a problem hiding this comment.
This didn't include the correct tag in the commit message to make the wheels actually be built.
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.
Overview
Updates the build workflow to explicitly support free-threaded Python 3.14 wheels alongside existing abi3 wheels, adds build matrix visibility, and clarifies musllinux configuration.
Changes
1. Free-Threaded Python 3.14 Support
All platforms now explicitly build both:
cp311-*) - compatible with Python 3.11+cp314t-*) - for Python 3.14 with GIL disabledWindows:
Linux/macOS:
This ensures consistent behavior across platforms and makes free-threaded support explicit rather than accidental.
2. Build Matrix Visibility
Added
--print-build-identifiersstep on all platforms before building wheels. This will print exactly which wheel identifiers will be built (e.g.,cp311-manylinux_x86_64,cp314t-win_amd64), making CI logs more transparent and easier to debug.3. Explicit Musl Target Configuration
Enhanced
CIBW_BEFORE_ALL_LINUXto explicitly add musl rust targets for clarity:This makes musllinux support explicit and ensures the necessary Rust toolchains are available.
4. Preserved Existing Behavior
CIBW_SKIP: "*-musllinux_i686")test.ymlorpublish.ymlworkflowsExpected Build Output
After this change, wheels will be built for:
Windows:
cp311-win_amd64,cp311-win32(abi3)cp314t-win_amd64,cp314t-win32(free-threaded, if interpreter available)Linux:
cp311-manylinux_*for x86_64, aarch64, ppc64le, i686 (abi3)cp311-musllinux_*for x86_64, aarch64 (abi3)cp314t-manylinux_*andcp314t-musllinux_*(free-threaded, if interpreter available)macOS:
cp311-macosx_*for x86_64 and arm64 (abi3)cp314t-macosx_*for x86_64 and arm64 (free-threaded, if interpreter available)Benefits
✅ Consistent free-threaded Python 3.14 support across all platforms
✅ Better CI visibility with build matrix printing
✅ Explicit musl configuration for maintainability
✅ Maintains all existing wheel builds including musllinux
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.