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

Fixes #5738 #5740

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixes #5738 #5740

wants to merge 2 commits into from

Conversation

hutch3232
Copy link
Contributor

Avoid requiring setuptools at runtime. Using importlib from the python standard library.

importlib.resources.path is actually deprecated:
https://docs.python.org/3.12/library/importlib.resources.html#importlib.resources.path
however, the replacement was new in python 3.9. Can switch to the new files function once support is dropped for python < 3.9.

@hutch3232
Copy link
Contributor Author

As of yesterday, python 3.8 is now end of life. If this project wants to be consistent with that, I could revise this PR to drop support for 3.8 and update this code to use the new function instead of the deprecated version. Would that be preferred?

@wendycwong
Copy link

We currently support python 3.6 and above.

@hutch3232
Copy link
Contributor Author

Sounds good, I'll leave it as is unless you suggest otherwise

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.

setuptools as run-time dependency
2 participants