Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flo_ai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies = [
"opentelemetry-api>=1.28.2,<2",
"opentelemetry-sdk>=1.28.2,<2",
"opentelemetry-exporter-otlp>=1.28.2,<2",
"opentelemetry-instrumentation>=0.49b2,<0.50",
"opentelemetry-instrumentation>=0.54b0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

For the current pipecat[tracing] dependency set, what OpenTelemetry version ranges are documented or declared as compatible for opentelemetry-instrumentation, opentelemetry-api, opentelemetry-sdk, and opentelemetry-exporter-otlp?

💡 Result:

For pipecat-ai tracing extra (current main / PyPI 0.0.104 timeframe), the declared OpenTelemetry compatibility ranges are:

Package Version range declared by pipecat-ai[tracing]
opentelemetry-instrumentation >=0.54b0,<1 [1]
opentelemetry-api >=1.33.0,<2 [1]
opentelemetry-sdk >=1.33.0,<2 [1]
opentelemetry-exporter-otlp No version range is declared by the tracing extra (Pipecat docs show using an OTLP exporter, but do not pin/specify an exporter dependency/range). [2]

Sources
[1] pipecat-ai/pipecat pyproject.toml ([project.optional-dependencies].tracing) https://github.com/pipecat-ai/pipecat/blob/main/pyproject.toml
[2] Pipecat docs: “OpenTelemetry Tracing” (exporter examples shown, no exporter version range specified) https://docs.pipecat.ai/server/utilities/opentelemetry


Align opentelemetry-instrumentation with pipecat[tracing] version constraints.

The upper bound was removed, allowing versions ≥1.0 to be resolved. However, pipecat[tracing] explicitly pins opentelemetry-instrumentation>=0.54b0,<1. Change this to opentelemetry-instrumentation>=0.54b0,<1 to match the tested constraint declared by pipecat[tracing].

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@flo_ai/pyproject.toml` at line 23, The dependency declaration for
opentelemetry-instrumentation currently allows versions >=0.54b0 with no upper
bound; change the constraint to match pipecat[tracing] by pinning it to
"opentelemetry-instrumentation>=0.54b0,<1" so the project uses the tested <1.x
release range and avoids pulling in 1.0+ releases.

"pydantic>=2.9.2,<3",
"pyjwt>=2.10.1",
"pypdf>=4.2.0,<5",
Expand Down
76 changes: 32 additions & 44 deletions flo_ai/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.