mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-03 14:09:24 +00:00
The opentelemetry-api, opentelemetry-sdk, and opentelemetry-exporter-otlp-proto-http packages were pinned to ~=1.34.0 (>=1.34.0, <1.35.0) in both crewai and crewai-core. This caused dependency conflicts with packages like openlit (>=1.42.0) which require opentelemetry-sdk >=1.38.0. Relaxed the constraints to >=1.34.0,<2.0.0 in both pyproject.toml files. The code only uses stable OpenTelemetry APIs so this broader range is safe. Added regression tests that verify: - OTel constraints allow versions >=1.38.0 (openlit compatibility) - OTel constraints maintain lower bound >=1.34.0 - OTel constraints cap at <2.0.0 - All OTel imports used by crewai remain functional Fixes #5845 Co-Authored-By: João <joao@crewai.com>