Upgrade to Python 3.13#11588
Merged
cclauss merged 1 commit intoTheAlgorithms:masterTheAlgorithms/Python:masterfrom Sep 30, 2024
Merged
Upgrade to Python 3.13#11588cclauss merged 1 commit intoTheAlgorithms:masterTheAlgorithms/Python:masterfrom
cclauss merged 1 commit intoTheAlgorithms:masterTheAlgorithms/Python:masterfrom
Conversation
Member
Author
|
@TheAlgorithms/python_maintainers You reviews, please. |
poyea
approved these changes
Sep 30, 2024
Contributor
There was a problem hiding this comment.
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?
Member
Author
There was a problem hiding this comment.
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.
Closed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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: