mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #223] Replace usage of pkg_resources with importlib_resources #172
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#172
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @khmikkelsen on GitHub (Aug 22, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/223
Replace
pkg_resourceswith importlib_resources as ytmusicapi's usage is limited to the scope ofimportlib_resources's, andpkg_resourceshave issues related to python 3.9 withLegacyVersionbeing deprecated and defaulting to this as mentioned in:While the issue has been known for a while, fixes are not merged yet.
Motivation for this issue: https://github.com/AppDaemon/appdaemon/issues/1336
@sigma67 commented on GitHub (Aug 26, 2021):
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 forpkg_resources.