We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
imghdr is deprecated for removal in python 3.13
Import the library in python 3.11
venv311\Lib\site-packages\tweepy\api.py:7 <directory>\venv311\Lib\site-packages\tweepy\api.py:7: DeprecationWarning: 'imghdr' is deprecated and slated for removal in Python 3.13 import imghdr
No deprecation warning
Deprecation warning
Free
Version: 4.14.0
Suggestion would be to use only mimetypes to detect file type (currently both imghdr and mimetypes are used)
The text was updated successfully, but these errors were encountered:
Let's remove the Unconfirmed Bug label:
Unconfirmed Bug
Sorry, something went wrong.
No branches or pull requests
Summary
imghdr is deprecated for removal in python 3.13
Reproduction Steps
Import the library in python 3.11
Minimal Reproducible Example
Expected Results
No deprecation warning
Actual Results
Deprecation warning
Twitter API Access Plan
Free
Tweepy Version
Version: 4.14.0
Checklist
Additional Context
Suggestion would be to use only mimetypes to detect file type (currently both imghdr and mimetypes are used)
The text was updated successfully, but these errors were encountered: