-
Notifications
You must be signed in to change notification settings - Fork 798
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
3.13 support #2260
3.13 support #2260
Conversation
If dropping 3.7 is really necessary, this may have to wait for the next release, otherwise you might wanna keep Python 3.7 support to get this merged in sooner once the build passes. |
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.
LGTM, so far just need to resolve _PyLong_NumBits
As @Avasam said, I'd prefer to keep 3.7 until the next release |
Amended. |
This looks great, thanks - I'll merge it once that conflict is resolved. |
(well, after the conflict and CI is green :) The "checkers" job will probably be fixed by rebasing on main. |
We're gonna need something like python/cpython#119418 to go through before the 3.13 build passes. |
Fair enough, but there's no point merging this until we do, right? |
Imo, correct in the PR's current state.* I wouldn't want to merge this with failing 3.13 CI as that'll be very noisy. * This PR still removes deprecated symbols, which is a good change on its own. Just not with a failing Python 3.13 CI. |
For the removed |
Nice! The build and tests pass. All you need to do to get the last check green is run |
Now that python/cpython#119336 has been resolved, please merge |
I'm not sure how you ended up adding that many past commits outside your changes. And I don't know if a rebase can save this at this point. After fixing conflicts, you might wanna consider a soft reset to bring all your changes from main into a single commit:
validate that all changes are yours and intended (ie not due to a bad merge). stage, commit, then
|
* PyEval_CallObject -> PyObject_CallObject * unittest.makeSuite -> unittest.defaultTestLoader.loadTestsFromModule and unittest.defaultTestLoader.loadTestsFromTestCase * Include 3.13 in main.yml (except mypy)
Fixes issue where Python 3.13 beta 2 is available through actions/setup-python, but the cached version in CI is stuck on 3.13 beta 1.
beta-2 for github actions was released ~11h ago: https://github.com/actions/python-versions/releases/tag/3.13.0-beta.2-9442465578 But you might have to wait for this issue to be resolved first anyway: actions/setup-python#886 |
CI PASSES! 😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁 |
@mhammond I can't comment on |
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.
Thank you both!
The last officially-supported Python 3.7 release is close to a year ago, and 3.13 just had a beta release, meaning no new features will be added. Also setup-python supports 3.13.