Skip to content

fix(deps): resolve Pydantic AI Dependabot alerts - #930

Merged
Abhijeet Prasad (AbhiPrasad) merged 2 commits into
mainfrom
abhi/fix-python-dependabot-dep-05e0064f
Oct 13, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 2 commits into
mainfrom
abhi/fix-python-dependabot-dep-05e0064f

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

Summary

  • Resolve the open Pydantic AI Dependabot alerts by locking pydantic-ai-slim to 2.55.0 and using the slim distribution for lint imports on Python 3.11+.
  • Advance the uv cutoff so the patched package version can be resolved.
  • Keep legacy Pydantic AI constraints isolated in the lock resolution.

Validation

  • test_pydantic_ai_integration(latest): 55 passed
  • test_pydantic_ai_logfire(latest): 1 passed
  • test_pydantic_ai_wrap_openai(latest): 2 passed
  • Lint-group pydantic_ai import, uv lock --check, and pre-commit hooks passed.
  • Latest cassette playback passed; no cassette files needed re-recording.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T16:45:04.943426Z 10f105f PR opened
ℹ️ About Codex in GitHub

Your 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread py/pyproject.toml
# 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'",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge 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 👍 / 👎.

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit df28fcd into main Oct 13, 2026
98 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/fix-python-dependabot-dep-05e0064f branch October 13, 2026 19:38
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.

1 participant