Closed
Description
Starting from setuptools==67.3.0
, it has started raising DeprecationWarning. Some libraries treat them as errors during testing.
See: https://setuptools.pypa.io/en/latest/history.html#v67-3-0.
/lib/python3.11/site-packages/pkg_resources/__init__.py:2804: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
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)
See similar discussion in matplotlib/matplotlib#25244 and pypa/setuptools#3434 (comment).
Also opened a similar issue in google.cloud
: googleapis/python-storage#1000.
Metadata
Metadata
Assignees
Labels
Issues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.