Skip to content

Replace pkg_resources with importlib.resources - #22

Merged
georgkrause merged 1 commit into
georgkrause:mainfrom
moi15moi:Replace-pkg_resources-with-import-importlib.resources
Nov 19, 2024
Merged

Replace pkg_resources with importlib.resources#22
georgkrause merged 1 commit into
georgkrause:mainfrom
moi15moi:Replace-pkg_resources-with-import-importlib.resources

Conversation

@moi15moi

@moi15moi moi15moi commented Sep 9, 2024

Copy link
Copy Markdown

pkg_resources is deprecated as an API, so let's replace it with importlib.resources. See https://setuptools.pypa.io/en/latest/pkg_resources.html

@georgkrause

Copy link
Copy Markdown
Owner

@moi15moi Thank you for the patch! Its appreciated and I am going to merge it. However, since its breaking support for python 3.8, I have to make sure the release is done after its EOL. And we need to bump the minimal required python version to 3.9, and remove the tests. I am going to handle this in my next dev session.

pkg_resources is deprecated as an API, so let's replace it with importlib.resources. See https://setuptools.pypa.io/en/latest/pkg_resources.html
@georgkrause
georgkrause force-pushed the Replace-pkg_resources-with-import-importlib.resources branch from 5f62d71 to cfcdcb2 Compare November 6, 2024 12:44
@georgkrause
georgkrause merged commit 677ad3f into georgkrause:main Nov 19, 2024
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.

2 participants