Repository navigation
Conversation
The override-dependencies block pinned the OTel stack to 1.39.1 / 0.60b1 because dapr-agents' mistralai dep capped semantic-conventions below 0.61. dapr-agents main lifted that cap (dapr/dapr-agents#780, mistralai>=2.9.2), and crewai 1.15 now requires opentelemetry-api>=1.42, so neither reason for the pins still holds. Remove the six opentelemetry-* overrides and their comments, and correct the agent-core note about which dapr-agents releases carry the cap and which release to revert to. Update the stale OTel references in the crewai and pydantic_ai comments and in AGENTS.md. Re-locked with `uv lock --upgrade-package dapr-agents`, then upgraded the OTel packages so every fork (including holmesgpt on 3.12) lands on one line: api/sdk/proto/exporters 1.42.1, semconv and contrib 0.63b1 — the google-adk ceiling. crewai moves 1.14.7 -> 1.15.3, the newest release whose `mcp~=1.26.0` still matches the existing mcp==1.26.0 override. Tighten the crewai extra to <1.15.4 so a future upgrade cannot pull a release needing mcp~=1.28.1 that the override would silently hide. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Casper Nielsen <casper@diagrid.io>
# Conflicts: # pyproject.toml
# Conflicts: # pyproject.toml # uv.lock
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This removes the six
opentelemetry-*entries fromoverride-dependencies. They held the whole OpenTelemetry (OTel) stack at 1.39.1 / 0.60b1.The pins are no longer needed, because the thing that forced them is gone:
mistralaidependency cappedopentelemetry-semantic-conventionsbelow 0.61. That was the reason for the pins. dapr-agents main dropped the cap in feat(deps): relax opentelemetry dependency bounds and bump mistralai dapr/dapr-agents#780 (mistralai>=2.9.2).opentelemetry-api>=1.42, so it no longer pulls OTel down either.The pins were also not doing their job. On
main, every extra on every Python version and platform had a mismatched stack: sdk 1.39.1, but exporter-otlp and zipkin-json at 1.42.1.What changed
pyproject.tomlagent-corenote. It now says that dapr-agents 1.0.2 to 1.0.5 carry the semconv cap, and that the TEMPORARY git source must go back to a pinned release that includes feat(deps): relax opentelemetry dependency bounds and bump mistralai dapr/dapr-agents#780, not 1.0.2 to 1.0.5.crewaiextra from<1.16to<1.15.4, and rewrote its comment, which still described an oldopentelemetry-api~=1.34pin. crewai 1.15.4 and later requiremcp~=1.28.1. The existingmcp==1.26.0override would hide that clash without an error, and CI would not catch it. 1.15.3 is the newest release that needsmcp~=1.26.0(checked against PyPI metadata).pydantic_aicomment: only mistralai releases before 2.9.2 cap semconv.AGENTS.md: removed the OTel pin from the list of example overrides.uv.lock: re-locked.Verification
uv lock --locked: the lock is up to date (358 packages). After the crewai bound was tightened, the only lock change was the manifest line.uv lock --dry-run --upgrade-package crewaireports no changes, so crewai stays at 1.15.3.main.ruff formatchanged no files.flake8 diagrid tests --ignore=E501,F401,W503,E203,E704passed.uv sync --all-packages --extra all --group test):mypy --config-file mypy.ini: no issues.pytest tests -m "not integration": 877 passed, 5 skipped.uv pip check: all compatible.uv sync --extra crewai: crewai 1.15.3, mcp 1.26.0, opentelemetry-sdk 1.42.1.uv pip checkreports everything compatible.uv sync --extra adk: google-adk, dapr_agents, dapr_agents.observability and the OTLP exporter all import. The OTel packages are on 1.42.1 / 0.63b1, anduv pip checkreports everything compatible.uv sync --extra holmesgpt --group test), run before the comment and crewai-bound follow-up: mypy ondiagrid/agent/holmesgptpassed, and 65 tests passed. api and sdk are 1.42.1, semconv 0.63b1. The follow-up did not change any locked holmesgpt package.Follow-ups (not in this PR)
opentelemetry.sdk._logs.LoggingHandleras deprecated.diagrid/agent/core/telemetry.pyuses it, andtests/agent/core/test_telemetry_compat.pynow shows a DeprecationWarning. It should move to the handler inopentelemetry-instrumentation-loggingbefore a later OTel release removes it.uv sync --extra deepagentsinstalls neither dapr_agents nor OTel, and the same happens onmain. The chained extras (deepagents -> langgraph -> agent-core) are not followed.uv pip checkwarns that holmesgpt wantsuvicorn<0.41. This comes from the existing uvicorn/fastapi/mcp overrides, not from this change.🤖 Generated with Claude Code