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 pkg_resources with importlib_resources #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tvuotila
Copy link

@tvuotila tvuotila commented Sep 29, 2023

Fixes #90

Use importlib.resources.files (usage copied from documentation) instead of deprecated pkg_resources.resource_string (function documentation).

Install importlib-resources backport package on Python versions less than 3.9 (documentation on how to do that).

importlib.resources.files was introduced in Python 3.9 (function documentation). Use minimum version of 1.3 for importlib-resources package as that matches the Python 3.9 (compatibility table)

@tvuotila
Copy link
Author

Is there anything I can do to get this merged?

@yobuntu
Copy link

yobuntu commented May 3, 2024

As python 3.12 is now the new stable python version and raise a deprecated warning on using pkg_resources api, this merge is really needed

@lafrech
Copy link

lafrech commented May 24, 2024

Was about to look into fixing this. Thanks @tvuotila for taking care of it.

@awtimmering
Copy link

Hoping to see this merged soon ...

@skupriienko
Copy link

skupriienko commented Aug 1, 2024

I'm joining to the crowd waiting this PR merged soon...

@theodore86
Copy link

Bump

@rburhum
Copy link

rburhum commented Dec 29, 2024

Throw us a Christmas gift @lukasgraf Pretty please :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: stop using pkg_resources
7 participants