Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

deprecation warning from setuptools 67.3 #1229

Description

@davidszotten

as of setuptools 67.3 (2023-02-13) there is a deprecation warning about implicit namespace packages

python -Wall -c 'import pkg_resources'
/path/to/tmp-7552ed82cdd0d3e/lib/python3.11/site-packages/pkg_resources/__init__.py:2804:
DeprecationWarning: Deprecated call to
`pkg_resources.declare_namespace('google')`. 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)

(manually wrapped lines)

Environment details

  • OS: osx (any i presume)
  • Python version: 3.11.0
  • pip version: 23.0
  • google-auth version: 2.16.0

Steps to reproduce

  1. install latest google-auth and latest setuptools
  2. import pkg_resources (see above)

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions