-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Python 3.13 support #2608
Comments
It may merit a separate issue, but making a note while it's fresh in my mind from PyCon US where the steering council solicited maintainer help: It would also be helpful to evaluate the impact of free threading on Sopel. Of course we cannot do this until we can run on 3.13 at all, so it's follow-up work. |
I don't think it should break anything, but what we need to do depends on what kind of help they want. Benchmark comparisons of our package running on GIL-enabled and GIL-disabled builds? For our own purposes, testing on no-GIL Python would be good to expose any operations that are technically thread-unsafe but blocked by the GIL in current CPython builds. (But I think we already have |
Mostly I think it's a good stress test for upstream's benefit just to see if any wheels fall off the wagon. I doubt they will, but it's easy enough to give it a go. I guess it would be nice to do a perf comparison (the build with |
RC1 of Python 3.13 is now out: https://www.python.org/downloads/release/python-3130rc1/ I incidentally spoke a little with nedbat today about how |
3.13 is fully released now |
Test suite is green for me on 3.13. I did have to disable two requirements in
21 of those warnings are caused by passing
The other one is a SQLAlchemy thing:
|
I remembered seeing a deprecation related to that
Whoever takes care of migrating to SQLAlchemy 2.0 (for Sopel 9, hopefully) will of course take care of that warning. You shouldn't have had a That leaves me just wondering why you had to disable |
Ah, indeed I had forgotten to pull. The error with |
Yup, all good:
|
Looks like the |
Hmm, https://docs.sqlalchemy.org/en/20/changelog/changelog_14.html#change-1.4.53-mypy in particular. It wouldn't be ideal to put #2492 in a minor release, since Sopel's DB API needs to change to accommodate some removals in SQLAlchemy itself. We're probably better off pinning |
Requested Feature
Sopel should support Python 3.13 when possible. 3.13 entered beta on 7 May and is now feature complete, so it's a good time to start tracking what's needed for support. 3.13.0 final is scheduled for October 2024, and release candidates are scheduled for late July and early September.
Problems Solved
No response
Alternatives
No response
Notes
Known problems:
requireddone in Add Python 3.12 support #2516setuptools
version needs to be updated to 66.0 or higher (usage of deprecatedpkgutil.ImpImporter
bysetuptools.version
)greenlet
(required bySQLAlchemy
) does not yet support Python 3.13 (issue)There is a PR to add support, but I can't build it against 3.13.0b1: Fix #392: Port to Python 3.13 python-greenlet/greenlet#396greenlet
3.1.0: Fix #392: Port to Python 3.13 python-greenlet/greenlet#396The text was updated successfully, but these errors were encountered: