Dependency Update - PEP 594 - Installs standard-imghdr dependency#117
Open
NicolasFlandrois wants to merge 1 commit intowustho:masterfrom
Open
Dependency Update - PEP 594 - Installs standard-imghdr dependency#117NicolasFlandrois wants to merge 1 commit intowustho:masterfrom
standard-imghdr dependency#117NicolasFlandrois wants to merge 1 commit intowustho:masterfrom
Conversation
As of PEP-594, for Python 3.13 the `imghdr` module has been removed from standard library (deprecated since Python 3.11). cf: https://peps.python.org/pep-0594/#imghdr EPY program requested this dependency on fresh install on Python 3.13 . This patch install the package by default, regardless of Python version. If already installed in a lower Python version, it will update the package. If the python is >3.13.0, it will install the package.
Author
|
Hello Benawi Adha "Wustho", Thank you for considering this Pull Request. It will improve users' experience when installing Python 3.13 and higher. |
|
Thank you @NicolasFlandrois for this PR. |
Author
I hope the PR will go through, to ease future installations and less technically savy people. Glad it could help someone. |
Also pipx can't be used to install the library: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As of PEP-594, for Python 3.13 the
imghdrmodule has been removed from standard library (deprecated since Python 3.11). cf: https://peps.python.org/pep-0594/#imghdrEPY program requested this dependency on fresh install on Python 3.13 . This patch install the package by default, regardless of Python version. If already installed in a lower Python version, it will update the package. If the python is >3.13.0, it will install the package.