You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Not a bug, in reality, but lead to confusion in my case.
importlib.metadata.distribution shows typing_extensions requirement as typing_extensions (>=4.7,<5.0) ; python_version < "3.11"'.
The correct name of the library is typing-extensions (I get it as it is written on pypi). This may lead to some confusions in scripts which analyze dependencies as Requirement("typing_extensions") is not equal to Requirement("typing-extensions") (nevertheless, both work and are installed correctly by pip).
Describe the bug
Not a bug, in reality, but lead to confusion in my case.
importlib.metadata.distribution
showstyping_extensions
requirement astyping_extensions (>=4.7,<5.0) ; python_version < "3.11"'
.The correct name of the library is
typing-extensions
(I get it as it is written on pypi). This may lead to some confusions in scripts which analyze dependencies asRequirement("typing_extensions")
is not equal toRequirement("typing-extensions")
(nevertheless, both work and are installed correctly by pip).To Reproduce
Expected behavior
library name should be typing-extensions
Desktop (please complete the following information):
Upvote & Fund
The text was updated successfully, but these errors were encountered: