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

DeprecationWarning: pkg_resources is deprecated #477

Closed
codebude opened this issue Aug 9, 2023 · 0 comments
Closed

DeprecationWarning: pkg_resources is deprecated #477

codebude opened this issue Aug 9, 2023 · 0 comments

Comments

@codebude
Copy link

codebude commented Aug 9, 2023

The import pkg_resources in _version.py triggers a DeprecationWarning:

.venv\Lib\site-packages\keycloak\_version.py:24: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

There is a migration guide that shows how to migrate from the deprecated code:
https://importlib-metadata.readthedocs.io/en/latest/migration.html#pkg-resources-get-distribution

Can you consider this for the next update?

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

No branches or pull requests

2 participants