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

Replace deprecated imghdr package with filetype #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geigerzaehler
Copy link
Contributor

The imghdr package from the Python standard library is deprecated and will be removed in Python 3.13. The deprecated PEP suggests packages filetype, puremagic, python-magic as replacements. I chose filetype because it has a larger user-base than puremagic and does not have a C dependency, like python-magic.

The `imghdr` package from the Python standard library is [deprecated and
will be removed in Python 3.13][1]. The deprecated PEP suggests packages
filetype, puremagic, python-magic as replacements. I chose filetype
because it has a [larger user-base][2] than puremagic and does not have
a C dependency, like python-magic.

[1]: https://peps.python.org/pep-0594/#deprecated-modules
[2]: https://libraries.io/pypi/filetype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant