Skip to content

[BUG] dependency conflict with OpenLIT #5845

@ismailcap-coder

Description

@ismailcap-coder

Description

crewai 1.14.4 locks opentelemetry-sdk to 1.35.0 but openlit 1.41.2 requires opentelemetry-sdk >=1.38.0

Steps to Reproduce

in pyproject.toml put
[tool.poetry.dependencies]
python = ">=3.10,<=3.13.7"
crewai = 1.14.4
crewai-tools = {version = "1.14.4", extras = ["mcp"]}
openlit = "1.42.0"

Expected behavior

no dependency conflict error

Screenshots/Code snippets

dependency conflict when running poetry lock

Operating System

Windows 11

Python Version

3.10

crewAI Version

1.14.4

crewAI Tools Version

1.14.4

Virtual Environment

Poetry

Evidence

dependency conflict when running poetry lock

Possible Solution

relax dependecies of openlit in crewai:
change the in pyproject.toml:
# Telemetry and Monitoring
"opentelemetry-api>=1.38.0,<2.0.0",
"opentelemetry-sdk>=1.38.0,<2.0.0",
"opentelemetry-exporter-otlp-proto-http>=1.38.0,<2.0.0",

Additional context

relax dependecies of openlit in crewai:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions