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

Replace pkg_resources with importlib.metadata. #203

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

Conversation

clalancette
Copy link

As of setuptools 68.0.0, the entire pkg_resources library is deprecated. Switch away from pkg_resources.iter_entry_points and instead use importlib.metadata.entry_points(), which provides the same information in a slightly different format.

This should fix #201

As of setuptools 68.0.0, the entire pkg_resources library
is deprecated.  Switch away from pkg_resources.iter_entry_points
and instead use importlib.metadata.entry_points(), which
provides the same information in a slightly different format.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette
Copy link
Author

Friendly ping on this one. This should get rid of warnings when using this flake8 plugin with newer Python.

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.

DeprecationWarning: pkg_resources is deprecated as an API on python 3.11
1 participant