Skip to content

fix: relax OpenTelemetry version constraints for google-adk compatibility#4482

Open
manojmax75 wants to merge 1 commit intocrewAIInc:mainfrom
manojmax75:fix/dependency-conflict-4474
Open

fix: relax OpenTelemetry version constraints for google-adk compatibility#4482
manojmax75 wants to merge 1 commit intocrewAIInc:mainfrom
manojmax75:fix/dependency-conflict-4474

Conversation

@manojmax75
Copy link

@manojmax75 manojmax75 commented Feb 14, 2026

Fixes issue #4474

Changes

  • Changed OpenTelemetry version constraints from ~=1.34.0 (patch only) to >=1.20.0,<2
  • Allows users to install crewai with google-adk without dependency conflicts

Why

The restrictive ~=1.34.0 constraint only allows patch versions (1.34.0 to 1.34.x), which conflicts with google-adk dependencies. The new constraint allows any 1.x version, giving users flexibility while staying compatible.


Note

Low Risk
Dependency range change only; main risk is unforeseen incompatibilities when installed with older OpenTelemetry 1.x versions.

Overview
Relaxes the OpenTelemetry dependency pins in lib/crewai/pyproject.toml from ~=1.34.0 to >=1.20.0,<2 for opentelemetry-api, opentelemetry-sdk, and opentelemetry-exporter-otlp-proto-http to avoid dependency conflicts (e.g., with google-adk).

Written by Cursor Bugbot for commit 3c8f2de. This will update automatically on new commits. Configure here.

…lity

- Changed from ~=1.34.0 (patch only) to >=1.20.0,<2 (minor version compatible)
- Allows users to install crewai with google-adk without dependency conflicts
- Resolves issue crewAIInc#4474
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.

2 participants