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
Replace pkg_resources with importlib_resources as ytmusicapi's usage is limited to the scope of importlib_resources's, and pkg_resources have issues related to python 3.9 with LegacyVersion being deprecated and defaulting to this as mentioned in:
I like your suggestion to use importlib_resources, but it requires an additional dependency for older Python versions which wasn't needed before. I've chosen to go with an alternate approach that will eliminate the need for pkg_resources.
Replace
pkg_resources
with importlib_resources as ytmusicapi's usage is limited to the scope ofimportlib_resources
's, andpkg_resources
have issues related to python 3.9 withLegacyVersion
being deprecated and defaulting to this as mentioned in:import pkg_resources
triggers a DeprecationWarning on Python 3.9 pypa/packaging#368import pkg_resources
triggers a DeprecationWarning on Python 3.9 pypa/setuptools#2466LegacySpecifier
andLegacyVersion
pypa/packaging#407While the issue has been known for a while, fixes are not merged yet.
Motivation for this issue: AppDaemon/appdaemon#1336
The text was updated successfully, but these errors were encountered: