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 #2019

Open
jaraco opened this issue Feb 18, 2024 · 1 comment
Open

DeprecationWarning: pkg_resources is deprecated #2019

jaraco opened this issue Feb 18, 2024 · 1 comment

Comments

@jaraco
Copy link
Member

jaraco commented Feb 18, 2024

Importing cherrypy emits this deprecationwarning:

 @ env PYTHONWARNINGS=default::DeprecationWarning pip-run cherrypy -- -c "import cherrypy" 2>1 | grep cherrypy | grep pkg_resources
/var/folders/f2/2plv6q2n7l932m2x004jlw340000gn/T/pip-run-1xjujsc7/cherrypy/__init__.py:60: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
jaraco added a commit to jaraco/jaraco.net that referenced this issue Feb 18, 2024
@thezoggy
Copy link

additionally:

.\3.11.8\Lib\site-packages\pkg_resources\__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zc')`.
  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)

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