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

Migrate from pkg_resources to importlib.metadata #445

Open
dnerini opened this issue Dec 10, 2024 · 0 comments · May be fixed by #446
Open

Migrate from pkg_resources to importlib.metadata #445

dnerini opened this issue Dec 10, 2024 · 0 comments · May be fixed by #446
Assignees

Comments

@dnerini
Copy link
Member

dnerini commented Dec 10, 2024

The module pysteps/io/interface.py currently uses pkg_resources.iter_entry_points for entry-point discovery. However, pkg_resources is part of setuptools, which introduces an unnecessary runtime dependency (see errors in the latest conda-forge built: conda-forge/pysteps-feedstock#41

Since pysteps supports python 3.10+, we can modernize the code by replacing pkg_resources with the importlib.metadata module, which is part of the Python standard library.

@dnerini dnerini self-assigned this Dec 10, 2024
@dnerini dnerini linked a pull request Dec 10, 2024 that will close this issue
@dnerini dnerini linked a pull request Dec 16, 2024 that will close this issue
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 a pull request may close this issue.

1 participant