Repository navigation
fix(deps): resolve Pydantic AI Dependabot alerts - #930
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 10f105f62d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
| # 3.10. Keep a lock-resolved version here so pydantic_ai imports resolve. | ||
| "pydantic-ai", | ||
| # 3.10. Use slim to resolve pydantic_ai imports without optional extras. | ||
| "pydantic-ai-slim>=2.53.0; python_version >= '3.11'", |
There was a problem hiding this comment.
Exclude Pydantic AI files from Python 3.10 pylint
On Python 3.10, this marker prevents the lint group from installing pydantic_ai, while pylint() also skips the matrix package at its (3, 11) minimum without adding the integration to unlintable_integrations. It still lints files such as test_pydantic_ai_integration.py and examples/pydantic_ai/example.py, whose unguarded imports produce E0401 errors, so the Python 3.10 static_checks job fails. Exclude these files on 3.10 or provide a compatible package for import resolution.
AGENTS.md reference: AGENTS.md:L145-L148
Useful? React with 👍 / 👎.
Summary
pydantic-ai-slimto 2.55.0 and using the slim distribution for lint imports on Python 3.11+.uvcutoff so the patched package version can be resolved.Validation
test_pydantic_ai_integration(latest): 55 passedtest_pydantic_ai_logfire(latest): 1 passedtest_pydantic_ai_wrap_openai(latest): 2 passedpydantic_aiimport,uv lock --check, and pre-commit hooks passed.