Skip to content

status.proto file makes connect-python incompatible with google packages #75

@gibsondan

Description

@gibsondan

Simple repro for the problem

In a fresh venv:

dgibson@MacBook-Pro-5 /tmp % uv pip install googleapis-common-protos==1.66.0 connect-python==0.7.0 google-cloud-recaptcha-enterprise==1.25.0
Using Python 3.14.2 environment at: badconnect
Resolved 23 packages in 247ms
Installed 14 packages in 61ms
 + cachetools==6.2.4
 + charset-normalizer==3.4.4
 + google-api-core==2.25.2
 + google-auth==2.45.0
 + google-cloud-recaptcha-enterprise==1.25.0
 + grpcio==1.76.0
 + grpcio-status==1.71.2
 + proto-plus==1.27.0
 + pyasn1==0.6.1
 + pyasn1-modules==0.4.2
 + requests==2.32.5
 + rsa==4.9.1
 + typing-extensions==4.15.0
 + urllib3==2.6.2
(badconnect) dgibson@MacBook-Pro-5 /tmp % python
Python 3.14.2 (main, Dec  9 2025, 19:29:30) [Clang 21.1.4 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from connectrpc.server import ConnectASGIApplication
>>> from google.cloud import recaptchaenterprise_v1
Traceback (most recent call last):
...
TypeError: Couldn't build proto file into descriptor pool: duplicate symbol 'google.rpc.Status'

The above does not reproduce on version 0.6.0, likely because of the status.proto file added in 45f7e2b.

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