Skip to content

chore: Update dependencies#1696

Merged
alexmojaki merged 14 commits intomainfrom
update-deps-2026-02-09
Feb 9, 2026
Merged

chore: Update dependencies#1696
alexmojaki merged 14 commits intomainfrom
update-deps-2026-02-09

Conversation

@alexmojaki
Copy link
Copy Markdown
Collaborator

No description provided.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Feb 9, 2026

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d705ec4
Status: ✅  Deploy successful!
Preview URL: https://520bb2f6.logfire-docs.pages.dev
Branch Preview URL: https://update-deps-2026-02-09.logfire-docs.pages.dev

View logs

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 2 potential issues.

View 2 additional findings in Devin Review.

Open in Devin Review

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

View 4 additional findings in Devin Review.

Open in Devin Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the codebase to align with newer upstream dependency behavior (notably FastAPI/pydantic compatibility and OpenAI/Anthropic/OpenAI-Agents payload shapes), while keeping the test suite stable across the CI matrix (including older pydantic).

Changes:

  • Gate FastAPI-related tests/docs examples to avoid failures when CI pins older pydantic versions.
  • Update OpenAI Agents and Anthropic integration snapshots to match new response/usage/output shapes.
  • Adjust internal integrations/exporter transforms to reflect updated SDK payload formats; add minor typing suppressions in CLI fallback.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/test_logfire_api.py Calls instrument_fastapi only when pydantic>=2.7, keeping API surface assertions intact.
tests/test_docs.py Skips runnable doc examples that import FastAPI when pydantic<2.7.
tests/otel_integrations/test_openai_agents_mcp.py Updates snapshots for function/tool outputs in MCP-related OpenAI Agents spans.
tests/otel_integrations/test_openai_agents.py Updates snapshots for function output typing and expanded usage fields.
tests/otel_integrations/test_fastapi.py Uses importorskip to prevent import-time failures when FastAPI can’t load under older pydantic.
tests/otel_integrations/test_anthropic.py Updates snapshots to include new usage.inference_geo field.
logfire/_internal/integrations/openai_agents.py Ensures Function spans record output directly from span_data.output.
logfire/_internal/exporters/processor_wrapper.py Expands LangSmith output-message parsing fallback to handle newer output structures.
logfire/_internal/cli/run.py Adds pyright suppressions for pkg_resources fallback typing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alexmojaki alexmojaki merged commit 3715a66 into main Feb 9, 2026
20 checks passed
@alexmojaki alexmojaki deleted the update-deps-2026-02-09 branch February 9, 2026 14:35
dmontagu pushed a commit that referenced this pull request Feb 11, 2026
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