Skip to content

fix(deps): pin opentelemetry-exporter-otlp-proto-common to ~=1.42.1#152

Closed
jeanscherf wants to merge 1 commit into
mainfrom
fix/pin-otlp-proto-common
Closed

fix(deps): pin opentelemetry-exporter-otlp-proto-common to ~=1.42.1#152
jeanscherf wants to merge 1 commit into
mainfrom
fix/pin-otlp-proto-common

Conversation

@jeanscherf

Copy link
Copy Markdown
Member

Summary

  • Adds opentelemetry-exporter-otlp-proto-common~=1.42.1 as an explicit dependency in pyproject.toml
  • The grpc exporter 1.42.1 requires common==1.42.1 exactly (it imports _exporter_metrics introduced in 1.35.0), but without declaring common directly, pip can resolve it to an older incompatible version when competing constraints exist in the consumer's environment
  • Observed in a2a-agent after upgrading from sap-cloud-sdk==0.18.1 to 0.25.0: pods were crashing with ModuleNotFoundError: No module named 'opentelemetry.exporter.otlp.proto.common._exporter_metrics'

Test plan

  • Verify existing telemetry integration tests pass
  • Confirm a2a-agent (or any consumer) no longer hits the _exporter_metrics import error after picking up the next SDK release

The grpc exporter (1.42.1) imports _exporter_metrics from the common
package, a module introduced in 1.35.0. Without an explicit pin, pip can
resolve the common package to an older incompatible version when other
deps in the consumer's environment compete for it.

Observed failure: a2a-agent crashing on startup with:
  ModuleNotFoundError: No module named
  'opentelemetry.exporter.otlp.proto.common._exporter_metrics'
@jeanscherf jeanscherf requested a review from a team as a code owner June 9, 2026 18:34
@jeanscherf jeanscherf closed this Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant