Merged
Conversation
Deploying logfire-docs with
|
| 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 |
…opped type stubs)
Contributor
There was a problem hiding this comment.
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
pydanticversions. - 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.
dmontagu
pushed a commit
that referenced
this pull request
Feb 11, 2026
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.
No description provided.