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

Update imghdr to undeprecated package #614

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

Conversation

cr5459
Copy link

@cr5459 cr5459 commented Dec 27, 2024

IOPaint currently uses Python's built-in imghdr module but imghdr was deprecated in Python 3.11 and removed in 3.13. So it's probably a good idea to replace imghdr with one of the replacement 3rd-party libraries (I used filetype and added it to the requirements.txt)

@cr5459 cr5459 changed the title Main Update imghdr to undeprecated package Dec 27, 2024
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.

1 participant