Skip to content
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

Open
labrys opened this issue Dec 19, 2022 · 1 comment
Open

imghdr is deprecated and slated for removal in Python 3.13 #67

labrys opened this issue Dec 19, 2022 · 1 comment
Labels

Comments

@labrys
Copy link

labrys commented Dec 19, 2022

The Python standard library will be removing imghdr in Python 3.13. Per PEP-594 suggested replacements are filetype, puremagic, and python-magic.

@sampsyo
Copy link
Member

sampsyo commented Dec 22, 2022

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…)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants