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

Switch pkg_resources to importlib.metadata to avoid DeprecationWarning #160

Closed
wants to merge 2 commits into from

Conversation

tok3rat0r
Copy link

With newer versions of Python, use of pkg_resources raises a DeprecationWarning (see for example here and here). From Python 3.8 onward we can instead use importlib.metadata, which provides the version method directly.

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.

None yet

1 participant