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

Replace deprecated pkg_resources with new importlib #546

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

pckroon
Copy link
Member

@pckroon pckroon commented Oct 2, 2023

So, pkg_resources is deprecated (https://setuptools.pypa.io/en/latest/pkg_resources.html), so here I change it for importlib as recommended.

See also https://importlib-resources.readthedocs.io/en/latest/migration.html

@pckroon pckroon added the hacktoberfest-accepted Accepted Hacktoberfest contribution label Oct 2, 2023
@pckroon pckroon requested a review from fgrunewald October 2, 2023 09:47
Copy link
Member

@fgrunewald fgrunewald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Slightly annoying that the one line is replaced by these couple of lines and managers though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Accepted Hacktoberfest contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants