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 #1442

Closed
dopplershift opened this issue Aug 4, 2020 · 0 comments · Fixed by #1510
Closed

Replace pkg_resources #1442

dopplershift opened this issue Aug 4, 2020 · 0 comments · Fixed by #1510
Labels
Type: Maintenance Updates and clean ups (but not wrong)
Milestone

Comments

@dopplershift
Copy link
Member

dopplershift commented Aug 4, 2020

Python 3.9 will add importlib.resources stdlib module, with a backport importlib_resources. This would allow us to eliminate:

  • pkg_resources.resource_* used to get data files within the package -> importlib.resources
  • pkg_resources.get_distribution used for getting our version -> importlib.metadata (> Python 3.8 + backports)

This would help eliminate our runtime reliance on setuptools.

@dopplershift dopplershift added the Type: Maintenance Updates and clean ups (but not wrong) label Aug 4, 2020
dopplershift added a commit to dopplershift/MetPy that referenced this issue Sep 23, 2020
Replace pkg_resources with the stdlib importlib.resources or its
backport.
dopplershift added a commit to dopplershift/MetPy that referenced this issue Sep 23, 2020
Replace pkg_resources with the stdlib importlib.resources or its
backport.
@dopplershift dopplershift added this to the 1.0 milestone Sep 23, 2020
dopplershift added a commit to dopplershift/MetPy that referenced this issue Sep 23, 2020
Replace pkg_resources with the stdlib importlib.resources or its
backport.
dopplershift added a commit to dopplershift/MetPy that referenced this issue Sep 23, 2020
Replace pkg_resources with the stdlib importlib.resources or its
backport.
dopplershift added a commit to dopplershift/MetPy that referenced this issue Sep 28, 2020
Replace pkg_resources with the stdlib importlib.resources or its
backport.
dopplershift added a commit to dopplershift/MetPy that referenced this issue Sep 28, 2020
Replace pkg_resources with the stdlib importlib.resources or its
backport.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant