Remove protobuf restriction on opentelemetry-exporter-prometheus-remote-write #3179
Description
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.
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
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.