Skip to content

fix: relax opentelemetry dependency constraints to allow newer versions#4626

Open
Anandesh-Sharma wants to merge 1 commit intocrewAIInc:mainfrom
Anandesh-Sharma:fix/4511-opentelemetry-dependency
Open

fix: relax opentelemetry dependency constraints to allow newer versions#4626
Anandesh-Sharma wants to merge 1 commit intocrewAIInc:mainfrom
Anandesh-Sharma:fix/4511-opentelemetry-dependency

Conversation

@Anandesh-Sharma
Copy link

Summary

  • Relaxes opentelemetry dependency constraints from ~=1.34.0 (pinned to >=1.34.0,<1.35.0) to >=1.34.0,<2
  • The tight pinning prevented users from using newer opentelemetry versions (e.g., 1.39.1) required by other tools like Langfuse
  • Still protects against major version breaking changes with the <2 upper bound

Fixes #4511

Test plan

  • Verify crewai installs successfully with opentelemetry 1.34.x
  • Verify crewai installs successfully with opentelemetry 1.39.x
  • Verify telemetry functionality works with both versions
  • Verify no dependency conflicts with common companion packages (langfuse, etc.)

🤖 Generated with Claude Code

The ~=1.34.0 constraint pins opentelemetry packages to >=1.34.0,<1.35.0
which prevents users from using newer versions (e.g., 1.39.1) needed by
other tools like Langfuse. Relax to >=1.34.0,<2 to allow compatible
minor version upgrades while still protecting against major version
breaking changes.

Fixes crewAIInc#4511

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

[BUG] Supporting opentelemetry-exporter-otlp-proto-http>=1.39.1

1 participant