Skip to content

chore(pydantic-ai): Drop support for < 1.76 - #7446

Merged
alexander-alderman-webb merged 7 commits into
major/3.0from
webb/pydantic-ai/raise-version
Sep 10, 2026
Merged

chore(pydantic-ai): Drop support for < 1.76#7446
alexander-alderman-webb merged 7 commits into
major/3.0from
webb/pydantic-ai/raise-version

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Description

Remove ToolManager._call_tool() that was needed for pydantic_ai versions up to 1.63.

I've chosen 1.76 because agent information was added to the run context passed to hooks in the version.

Also add some more precise types.

Issues

Reminders

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

69119 passed | ⏭️ 3315 skipped | Total: 72434 | Pass Rate: 95.42% | Execution Time: 215m 16s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -66532
Passed Tests 📉 -62716
Failed Tests
Skipped Tests 📉 -3816

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2317 uncovered lines.
❌ Project coverage is 89.69%. Comparing base (0199f67) to head (a456d2d).

Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.17%    89.69%    -0.48%
==========================================
  Files          193       184        -9
  Lines        25790     22474     -3316
  Branches      9532      8144     -1388
==========================================
+ Hits         23256     20157     -3099
- Misses        2534      2317      -217
- Partials      1434      1328      -106

Generated by Codecov Action

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 10, 2026 09:21
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 10, 2026 09:21

@sentrivana sentrivana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please add to the migration guide too

@alexander-alderman-webb
alexander-alderman-webb merged commit 6e798cc into major/3.0 Sep 10, 2026
147 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/pydantic-ai/raise-version branch September 10, 2026 11:20
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