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

1.3.2: pytest warning about use deprecated pkg_resources #393

Open
kloczek opened this issue Mar 11, 2024 · 0 comments
Open

1.3.2: pytest warning about use deprecated pkg_resources #393

kloczek opened this issue Mar 11, 2024 · 0 comments

Comments

@kloczek
Copy link

kloczek commented Mar 11, 2024

===================================================================================== warnings summary ======================================================================================
test/ext/test_linguaplugin.py::MakoExtractTest::test_extract
  /usr/lib/python3.9/site-packages/lingua/extractors/__init__.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import DistributionNotFound

test/ext/test_linguaplugin.py::MakoExtractTest::test_extract
  /usr/lib/python3.9/site-packages/pkg_resources/__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
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

1 participant