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

PEP 420 Deprecation warning #60

Open
codders opened this issue Feb 20, 2023 · 0 comments
Open

PEP 420 Deprecation warning #60

codders opened this issue Feb 20, 2023 · 0 comments

Comments

@codders
Copy link

codders commented Feb 20, 2023

I'm seeing this deprecation warning in my Python 3.11 project:

../../../.local/share/virtualenvs/w4af-7R6LdAnp/lib/python3.11/site-packages/pkg_resources/__init__.py:2804
139
  /home/runner/.local/share/virtualenvs/w4af-7R6LdAnp/lib/python3.11/site-packages/pkg_resources/__init__.py:2804: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('phply')`.
140
  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
141
    declare_namespace(pkg)

I've opened a PR (#59) to address this, though I've not really tested if that does the right thing.

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