open-telemetry / open-telemetry/opentelemetry-python
Wrong sdk version requirement for grpc exporter
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 19
Description
Steps to reproduce
The grpc exporter requires sdk~=1.12 but it imports OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE which is introduced in 1.14. I believe this was added in https://github.com/open-telemetry/opentelemetry-python/pull/2968 which doesn't update the dependency requirement. The version requirement should be updated. Grpc exporter 0.35b0 is broken.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with exporter/opentelemetry-exporter-otlp-proto-grpc/pyproject.toml and compare its SDK requirement with the imported OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE in the linked metric exporter file. Update the requirement so grpc exporter 0.35b0 supports that import, then verify the package metadata reflects the corrected minimum version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grpc, python
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100