mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-28 10:09:21 +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>
39 lines
994 B
TOML
39 lines
994 B
TOML
[project]
|
|
name = "crewai-core"
|
|
dynamic = ["version"]
|
|
description = "Shared utilities for CrewAI — version, paths, user-data, telemetry, printer."
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "Greyson R. LaLonde", email = "greyson@crewai.com" }
|
|
]
|
|
requires-python = ">=3.10, <3.14"
|
|
dependencies = [
|
|
"appdirs~=1.4.4",
|
|
"cryptography>=42.0",
|
|
"httpx~=0.28.1",
|
|
"packaging>=23.0",
|
|
"portalocker~=2.7.0",
|
|
"pyjwt>=2.9.0,<3",
|
|
"pydantic>=2.11.9,<2.13",
|
|
"rich>=13.7.1",
|
|
"opentelemetry-api>=1.34.0,<2.0.0",
|
|
"opentelemetry-sdk>=1.34.0,<2.0.0",
|
|
"opentelemetry-exporter-otlp-proto-http>=1.34.0,<2.0.0",
|
|
"tomli~=2.0.2",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://crewai.com"
|
|
Documentation = "https://docs.crewai.com"
|
|
Repository = "https://github.com/crewAIInc/crewAI"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.version]
|
|
path = "src/crewai_core/__init__.py"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/crewai_core"]
|