Skip to content

Use importlib instead of pkg_resources #49

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

Merged
merged 1 commit into from
May 13, 2024

Conversation

simonmarty
Copy link
Contributor

@simonmarty simonmarty commented May 6, 2024

Issue #, if available: Closes #42

Description of changes:
pkg_resources is deprecated, use importlib.metadata instead

Testing
Ran tox suite.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@simonmarty simonmarty requested a review from a team as a code owner May 6, 2024 19:38
@simonmarty simonmarty enabled auto-merge (squash) May 6, 2024 19:40
jirkafajfr
jirkafajfr previously approved these changes May 6, 2024
@simonmarty simonmarty self-assigned this May 13, 2024
@simonmarty simonmarty merged commit c175815 into aws:master May 13, 2024
0 of 5 checks passed
@simonmarty simonmarty deleted the pkg_resources branch May 13, 2024 19:23
@itssimon
Copy link

@simonmarty Thanks for this fix! I see you've also added setuptools as a dependency. Is that still correct now that pkg_resources is no longer being used?

@userlerueda
Copy link

When will this PR be added to the public facing library (assuming it is going to be v1.1.3)?

@itssimon
Copy link

@simonmarty We need this released, as the latest release on PyPI is broken.

@simonmarty
Copy link
Contributor Author

v1.1.3 is out.

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.

Getting deprecation warning for pkg_resources
5 participants