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

Remove pkg_resources import (deprecated module) #1072

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

Conversation

furechan
Copy link

Summary of Changes

  • pkg_resources is deprecated and causing import warnings in recent python versions
  • pkg_resources was used only to fetch the package version as VERSION
  • The version can be fetched directly from the __version__ submodule
  • There is no need for pkg_resources or importlib.metadata

Checklist

  • Code follows the style guidelines of this project
  • Added tests for new functionality
  • Update HISTORY.rst with an entry summarizing your change
  • Tag a project maintainer

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