-
-
Notifications
You must be signed in to change notification settings - Fork 46.5k
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
Upgrade to Python 3.13 #11588
Upgrade to Python 3.13 #11588
Conversation
@TheAlgorithms/python_maintainers You reviews, please. |
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.
My understanding is that tweepy
will stop working on 3.13 because imghdr
will have been removed. Do we know if there are any plans or maintenance efforts to fix tweepy
for 3.13+? If not, is it even worth keeping this file in the repo since it'll be unusable?
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 wrote python/cpython#120871
https://docs.python.org/3.13/whatsnew/3.13.html#removed-modules-and-apis
imghdr
: The filetype, puremagic, or python-magic libraries should be used as replacements. For example, thepuremagic.what()
function can be used to replace theimghdr.what()
function for all file formats that were supported byimghdr
.
https://github.com/cdgriffith/puremagic#imghdr-replacement
Describe your change:
Python 3.13 is scheduled to be released in one week. https://peps.python.org/pep-0719
Disable TensorFlow because it is not yet compatible with the current version of CPython.
Checklist: