-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: support Python 3.14 #5646
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
Merged
Merged
fix: support Python 3.14 #5646
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
77f03f4
ci: support Python 3.14
henryiii 3bd75bd
fix: Python 3.14 name change
henryiii 236b32f
tests: fix expected output to handle Python 3.14
henryiii ce693fd
fix: tighten CLI and add color on 3.14+
henryiii cd5125c
tests: ignore failure on 3.14.0b1
henryiii 2cd17ba
fix: support Python 3.14.0b1 with interperters
henryiii 8e4575a
Update test_multiple_interpreters.py
henryiii 5e0324c
Update test_multiple_interpreters.py
henryiii 76408fd
fix: new breakage for 3.14 fixed
henryiii c5699a8
fix: handle empty annotations 3.14
henryiii 8031427
fix: Python 3.14 may not create the annotations dict
henryiii dce1fcb
fix: use PyUnstable_IsImmortal
henryiii e7a623e
fix: use sys._is_immortal
henryiii 1f2e5d6
tests: ignore large values for refcount too
henryiii 6caea71
style: pre-commit fixes
pre-commit-ci[bot] 6e9c304
ci: enable all free-threaded builds
henryiii c4226a0
fix: patch for embed
henryiii 151f225
Revert "fix: patch for embed"
henryiii 7bca953
ci: drop new 3.xt additions
henryiii 87e7a50
fix: logic issue, also add some comments
henryiii 7a4e2db
Update include/pybind11/pytypes.h
henryiii File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
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.
Looks like they didn't do this rename in 3.14, so it should be
_interpreters
for 3.13 and 3.14. Maybe just get rid of the 3.15 and leave it as :Or future proof it as:
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.
I think there will be a pypi package for 3.14 eventually (though I think it was supposed to come to 3.13 originally, so who knows...), but let's just leave it as
<3.15
for now.