-
Notifications
You must be signed in to change notification settings - Fork 778
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe your environment
OS: (e.g, Ubuntu)
Python version: (e.g., Python 3.11.2)
SDK version: (e.g., 1.39.0)
API version: (e.g., 1.39.0)
What happened?
after installing xds-proto some opentelemetry-proto files becomes broken
Steps to Reproduce
$ uv pip uninstall xds-protos opentelemetry-proto
warning: Skipping opentelemetry-proto as it is not installed
warning: Skipping xds-protos as it is not installed
warning: No packages to uninstall
$ uv pip install opentelemetry-proto
+ opentelemetry-proto==1.39.0
+ protobuf==6.33.2
$ python -c "from opentelemetry.proto.common.v1.common_pb2 import InstrumentationScope"
// everything is fine
$ uv pip install xds-protos
+ grpcio==1.76.0
+ typing-extensions==4.15.0
+ xds-protos==1.76.0
$ python -c "from opentelemetry.proto.common.v1.common_pb2 import InstrumentationScope"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name 'InstrumentationScope' from 'opentelemetry.proto.common.v1.common_pb2'
reinstalling opentelemetry-proto after it fixes ImportError
Expected Result
no ImportError after installing xds-proto
Actual Result
ImportError
Additional context
No response
Would you like to implement a fix?
None
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working