You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2026. It is now read-only.
When I import google package I get the following deprecation notice:
/usr/lib/python3.11/site-packages/google/__init__.py:17: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__('pkg_resources').declare_namespace(__name__)
Reproduction:
python -c 'import google; print(google)'
This warning seems to be caused by google-sql-commenter==2.0.0. When I remove this package from dependencies, I don't get the warning. The warning pops because, google-sql-commenter puts the following file into google dir: /usr/lib/python3.11/site-packages/google/__init__.py
When I import
googlepackage I get the following deprecation notice:Reproduction:
This warning seems to be caused by
google-sql-commenter==2.0.0. When I remove this package from dependencies, I don't get the warning. The warning pops because,google-sql-commenterputs the following file intogoogledir:/usr/lib/python3.11/site-packages/google/__init__.pyhttps://github.com/google/sqlcommenter/blob/master/python/sqlcommenter-python/google/__init__.py