Add support for Python 3.14 (including free-threaded Python)#256
Merged
saghul merged 2 commits intosaghul:masterfrom Aug 12, 2025
Merged
Add support for Python 3.14 (including free-threaded Python)#256saghul merged 2 commits intosaghul:masterfrom
saghul merged 2 commits intosaghul:masterfrom
Conversation
This was referenced Sep 5, 2025
Closed
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.
Fixes #213.
cibuildwheel 3.1 automatically builds Python 3.14 and 3.14t wheels.
I added a run with
unittest-ftfor free-threaded Python builds. Let me know if you like that idea - also happy to remove it or do something else if you're prefer not running the tests twice.I also added a trove classifier for free-threaded support. See this page for more details about what the trove classifiers mean.
I could unconditionally depend on CFFI 2.0.0b1 for all Python versions too, if you'd prefer that. The way I have it here is a little more conservative about avoiding breaking Python 3.13 and older. CFFI 2.0 is only needed for Python 3.14 support.