Skip to content

fix(agno): align opentelemetry-api minimum version with other packages#4343

Open
CAN-Aidoo wants to merge 1 commit into
traceloop:mainfrom
CAN-Aidoo:fix/agno-otel-api-pin
Open

fix(agno): align opentelemetry-api minimum version with other packages#4343
CAN-Aidoo wants to merge 1 commit into
traceloop:mainfrom
CAN-Aidoo:fix/agno-otel-api-pin

Conversation

@CAN-Aidoo

@CAN-Aidoo CAN-Aidoo commented Jul 2, 2026

Copy link
Copy Markdown

Summary

Align the opentelemetry-api dependency pin in opentelemetry-instrumentation-agno with the rest of the workspace: >=1.28.0,<2>=1.38.0,<2.

Motivation

All 33 sibling instrumentation packages and traceloop-sdk itself pin opentelemetry-api>=1.38.0,<2. The lower pin in agno was misleading — it advertised support for OTel API versions the package isn't tested against, and since any real install pulls the SDK's >=1.38.0 anyway, the declaration was purely informational drift.

Test plan

  • Parity confirmed with grep 'opentelemetry-api>=' packages/*/pyproject.toml — agno now matches the other 33 packages.
  • Only pyproject.toml metadata changes; no Python code paths affected.

Summary by CodeRabbit

  • Chores
    • Updated the supported OpenTelemetry API version range for the Agno instrumentation package, improving compatibility with newer releases.

All 33 sibling instrumentation packages and traceloop-sdk pin opentelemetry-api>=1.38.0,<2, but agno declared >=1.28.0,<2. This aligns the pin with the rest of the workspace so the declared minimum matches what the SDK actually requires.
@CLAassistant

CLAassistant commented Jul 2, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 401d01a6-fdad-40a7-92a3-cb26b68e890c

📥 Commits

Reviewing files that changed from the base of the PR and between 93429cf and b89ad91.

📒 Files selected for processing (1)
  • packages/opentelemetry-instrumentation-agno/pyproject.toml

📝 Walkthrough

Walkthrough

Updated the minimum version constraint for the opentelemetry-api dependency in the opentelemetry-instrumentation-agno package's pyproject.toml, raising it from >=1.28.0 to >=1.38.0 while the upper bound <2 remains unchanged.

Changes

Dependency version bump

Layer / File(s) Summary
Update opentelemetry-api version constraint
packages/opentelemetry-instrumentation-agno/pyproject.toml
The minimum version requirement for opentelemetry-api was raised from 1.28.0 to 1.38.0, keeping the <2 upper bound.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Compact metadata: 1 file changed, 1 line changed (+1/-1)

Suggested labels: dependencies

Suggested reviewers: N/A (no reviewer information available)

Poem

A rabbit hops with version glee,
From twenty-eight to thirty-eight, you see.
One little line in pyproject's core,
Now points to APIs a bit more.
Hop, hop, upgrade — nothing more! 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the dependency pin update and its purpose of aligning agno with the workspace minimum version.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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