-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Support for Python 3.11 #2377
Comments
There is an open PR in the deprecated library for 3.11 support: I guess that is a blocker. |
laurent-laporte-pro/deprecated#58 isn't a blocker: it doesn't make any code changes for 3.11 other than adding a Trove classifier to advertise support. The other changes are to test 3.11. However, as you note, Deprecated depends on wrapt, which added support for Python 3.11 in wrapt 1.14.0: https://wrapt.readthedocs.io/en/latest/changes.html#version-1-14-0 So Deprecated should really require wrapt >= 1.14.0 for Python 3.11. I'll update that PR. In the meantime you can manually update wrapt:
In any case, this is a Deprecated issue rather than a PyGithub one. |
Good news, this is already done in a newer PR which includes mine: laurent-laporte-pro/deprecated#59 |
Great, thanks. |
Looks like Python 3.11 support has been released: #2332 I think this can be closed. |
Importing the
github
module gives an error; the error comes fromdeprecated
->wrapt
, which usesinspect.formatargspec
, which was deprecated since Python 3.5 and removed in Python 3.11.The text was updated successfully, but these errors were encountered: