Skip to content

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

Open
CAN-Aidoo wants to merge 2 commits 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 2 commits 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 Plus

Run ID: 5e474e88-e86c-4910-9da1-8f0dece4febb

📥 Commits

Reviewing files that changed from the base of the PR and between b89ad91 and 1a72428.

📒 Files selected for processing (1)
  • packages/opentelemetry-instrumentation-agno/pyproject.toml
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/opentelemetry-instrumentation-agno/pyproject.toml

📝 Walkthrough

Walkthrough

The opentelemetry-api minimum version increased from 1.28.0 to 1.38.0 in the Agno instrumentation package. The <2 upper bound 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 changed from 1.28.0 to 1.38.0. The <2 upper bound remains unchanged.

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

Mergeability Score: ⚪ Minimal · up to 1a724

This narrowly raises the minimum supported OpenTelemetry API version for the Agno instrumentation package to match the workspace; no actionable merge-blocking risk remains after normal checks and review.

🚥 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 describes the dependency version update and its alignment with other packages.
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