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

registry.py: migrate deprecated pkg_resources #145

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

Conversation

hseg
Copy link

@hseg hseg commented Oct 29, 2024

As noted in https://setuptools.pypa.io/en/latest/pkg_resources.html, pkg_resources is deprecated. We were only using it for iter_entry_points anyway, which has been moved to importlib.metadata:entry_points

Changes proposed in this pull request:

  • Replace pkg_resources:iter_entry_points by importlib.metadata:entry_points

@xlcnd

As noted in https://setuptools.pypa.io/en/latest/pkg_resources.html,
pkg_resources is deprecated. We were only using it for iter_entry_points anyway,
which has been moved to importlib.metadata:entry_points
@hseg hseg requested a review from xlcnd as a code owner October 29, 2024 14:04
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