-
Notifications
You must be signed in to change notification settings - Fork 26
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
imghdr
is deprecated and slated for removal in Python 3.13
#67
Comments
Yes indeed—thanks for opening the issue. We should switch sooner rather than later. (It's too bad about these deprecations, to be honest! I know they were rarely used, but they did their job quietly and well…) |
Python 3.13 will be released shortly and that's what we'll be using for the next Debian release (Debian 13). If this issue isn't fixed before we freeze packages for Debian 13 (sometime in Q1 2025?), we won't be able to ship this library and that'll snowball to other distros like Ubuntu and Linux Mint :( If someone could have a look at #75 it would be really great. |
It has been patched in Fedora F41. Just has to be propagated through the mirrors:
|
mediafile v0.13.0 has been released with this fix. |
The Python standard library will be removing
imghdr
in Python 3.13. Per PEP-594 suggested replacements are filetype, puremagic, and python-magic.The text was updated successfully, but these errors were encountered: