-
Notifications
You must be signed in to change notification settings - Fork 16
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
Move away from deprecated pkg_resources #212
Conversation
parona-source
commented
Nov 7, 2023
- Use importlib.metadata which has been included in the python standard library since 3.8.
This is not urgent, there is no ETA on any sort of removal. Just one less deprecation warning. |
Surprised that 3.7 is still in the CI. https://devguide.python.org/versions/ eol'd a couple months ago and not supported ubuntu version defaults to it either (focal 3.8). 3.7 CI could be fixed by using the importlib_metadata backport. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I think we can safely remove the Python 3.7 tests from the GitHub workflows. Could you add the necessary changes to this PR? Thanks!
2e7ee42
to
4d7aea3
Compare
Signed-off-by: Alfred Wingate <[email protected]>
* Use importlib.metadata which has been included in the python standard library since 3.8. Signed-off-by: Alfred Wingate <[email protected]>
4d7aea3
to
e95c342
Compare
Added 3.11 and 3.12 at while at it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|