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
Currently if I want to use opentelemetry-exporter-prometheus-remote-write i am restricted to a 4 year old version of protobuf that is about to be EOL it also doesn't work with version of protoc which generates protobufs with imports that do not exist in the 4.21 version.
You will see something similar to this.
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.11/site-packages/internal/client.py", line 8, in <module>
from internal.feature import Feature, FeatureBuilder
File "/opt/anaconda3/lib/python3.11/site-packages/internal/feature.py", line 3, in <module>
from idl.model.feature_pb2 import FeatureProto, FeatureStatus
File "/opt/anaconda3/lib/python3.11/site-packages/idl/model/feature_pb2.py", line 9, in <module>
from google.protobuf import runtime_version as _runtime_version
Allow for newer versions of protobuf or possibly some other solution exists that I am not aware of but currently pulling in any python dep that holds back the protobuf version to some very old one is a pain because you need to go and setup older tooling that might not be readily available on your distro.
Describe alternatives you've considered
No response
Additional Context
No response
Would you like to implement a fix?
I can after we have a clear path but I think I am likely missing some context for why we are pinning to such an old version. Possibly this is a much bigger issue with the entire project needing to upgrade the protobuf version.
The text was updated successfully, but these errors were encountered:
Through testing I have also found that using the newer version of 5.29.2 with this package works just so it seems it is backwards compatible with the code that is already generated with an older version of protobuf.
What problem do you want to solve?
Currently if I want to use opentelemetry-exporter-prometheus-remote-write i am restricted to a 4 year old version of protobuf that is about to be EOL it also doesn't work with version of protoc which generates protobufs with imports that do not exist in the 4.21 version.
You will see something similar to this.
https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/exporter/opentelemetry-exporter-prometheus-remote-write
Describe the solution you'd like
Allow for newer versions of protobuf or possibly some other solution exists that I am not aware of but currently pulling in any python dep that holds back the protobuf version to some very old one is a pain because you need to go and setup older tooling that might not be readily available on your distro.
Describe alternatives you've considered
No response
Additional Context
No response
Would you like to implement a fix?
I can after we have a clear path but I think I am likely missing some context for why we are pinning to such an old version. Possibly this is a much bigger issue with the entire project needing to upgrade the protobuf version.
The text was updated successfully, but these errors were encountered: