-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Installing the package and enabling PYTHONDEVMODE=1 yields the following warning:
/opt/pycroft/venv/lib/python3.11/site-packages/pkg_resources/__init__.py:2832: 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
As a fix, this line can just be removed (although you should double check in your build-process that the contents actually end up in the distribution):
httpdomain/sphinxcontrib/__init__.py
Line 13 in 005bbbb
| __import__('pkg_resources').declare_namespace(__name__) |
Metadata
Metadata
Assignees
Labels
No labels