Skip to content

opentelemetry-exporter-otlp-proto-grpc pin ~=1.38.0 is incompatible with sap-ai-agent-evaluation #44

@jazzm0

Description

@jazzm0

Describe the Bug

Problem:

sap-cloud-sdk (all versions 0.2.0–0.6.0) pins opentelemetry-exporter-otlp-proto-grpc~=1.38.0, which restricts the exporter to >=1.38.0, <1.39.0.

sap-ai-agent-evaluation (all versions 0.1.0–0.5.1) requires opentelemetry-exporter-otlp-proto-grpc>=1.40.0.

These two packages cannot be installed together — pip refuses with a dependency conflict.

Requested Change:

Relax the pin in sap-cloud-sdk from ~=1.38.0 to >=1.38.0 (or >=1.38.0,<2.0.0). OpenTelemetry follows semver and 1.40.x is backwards-compatible with 1.38.x.

Workaround:

Currently none.

Steps to Reproduce

pip install sap-cloud-sdk sap-ai-agent-evaluation

ERROR: Cannot install sap-ai-agent-evaluation and sap-cloud-sdk because these package versions have conflicting dependencies.

The conflict is caused by:
sap-ai-agent-evaluation 0.5.1 depends on opentelemetry-exporter-otlp-proto-grpc>=1.40.0
sap-cloud-sdk 0.6.0 depends on opentelemetry-exporter-otlp-proto-grpc~=1.38.0

Expected Behavior

Both packages can be installed in the same environment.

Screenshots

No response

Used Versions

  • Python version via python --version: ...
  • SAP Cloud SDK for Python version: ...
  • Framework version (if applicable, e.g., Flask, FastAPI): ...
Installed packages via pip list or uv pip list
Package list here

Code Examples

# Your code here

Stack Trace

No response

Log File

Log file ...

Affected Development Phase

Getting Started

Impact

No Impact

Timeline

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions