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

Use importlib.metadata instead of pkg_resources since deprecated #136

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

chezou
Copy link
Member

@chezou chezou commented Aug 27, 2024

See: https://setuptools.pypa.io/en/latest/pkg_resources.html

Suppress the following warning

============================================================================ warnings summary =============================================================================
pytd/query_engine.py:6
  /Users/ariga/src/pytd/pytd/query_engine.py:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

@chezou chezou merged commit 55f7aef into master Aug 28, 2024
21 checks passed
@chezou chezou deleted the no-pkg-resources branch August 28, 2024 15:30
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.

2 participants