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

Use importlib.resources if possible #176

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

Conversation

nphilipp
Copy link

@nphilipp nphilipp commented Aug 22, 2024

The importlib_resources package isn’t required from Python 3.7 on, it’s available in importlib.resources.

The importlib_resources package is only required for Python < 3.9.

@nphilipp
Copy link
Author

nphilipp commented Aug 22, 2024

Ahh, just noticed commit 5609ddf, “use importlib_resources since we need stuff introduced in python 3.9”. I’ll revise.

@nphilipp nphilipp closed this Aug 22, 2024
@nphilipp nphilipp deleted the master--use-importlib.resources-if-available branch August 22, 2024 12:25
@nphilipp nphilipp restored the master--use-importlib.resources-if-available branch August 22, 2024 12:29
@nphilipp nphilipp reopened this Aug 22, 2024
@nphilipp nphilipp force-pushed the master--use-importlib.resources-if-available branch from f76d5f3 to 297f74e Compare August 22, 2024 12:34
@nphilipp nphilipp changed the title Use importlib.resources if available Use importlib.resources if possible Aug 22, 2024
The importlib_resources package is only required for Python < 3.9.

Signed-off-by: Nils Philippsen <[email protected]>
@nphilipp nphilipp force-pushed the master--use-importlib.resources-if-available branch from 297f74e to f66d61d Compare August 22, 2024 12:35
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.

1 participant