Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2025

Bumps pydantic from 2.12.2 to 2.12.3.

Release notes

Sourced from pydantic's releases.

v2.12.3 2025-10-17

v2.12.3 (2025-10-17)

What's Changed

This is the third 2.13 patch release, fixing issues related to the FieldInfo class, and reverting a change to the supported after model validator function signatures.

  • Raise a warning when an invalid after model validator function signature is raised by @​Viicos in #12414. Starting in 2.12.0, using class methods for after model validators raised an error, but the error wasn't raised concistently. We decided to emit a deprecation warning instead.
  • Add FieldInfo.asdict() method, improve documentation around FieldInfo by @​Viicos in #12411. This also adds back support for mutations on FieldInfo classes, that are reused as Annotated metadata. However, note that this is still not a supported pattern. Instead, please refer to the added example in the documentation.

The blog post section on changes was also updated to document the changes related to serialize_as_any.

Full Changelog: pydantic/pydantic@v2.12.2...v2.12.3

Changelog

Sourced from pydantic's changelog.

v2.12.3 (2025-10-17)

GitHub release

What's Changed

This is the third 2.13 patch release, fixing issues related to the FieldInfo class, and reverting a change to the supported after model validator function signatures.

  • Raise a warning when an invalid after model validator function signature is raised by @​Viicos in #12414. Starting in 2.12.0, using class methods for after model validators raised an error, but the error wasn't raised concistently. We decided to emit a deprecation warning instead.
  • Add FieldInfo.asdict() method, improve documentation around FieldInfo by @​Viicos in #12411. This also add back support for mutations on FieldInfo classes, that are reused as Annotated metadata. However, note that this is still not a supported pattern. Instead, please refer to the added example in the documentation.

The blog post section on changes was also updated to document the changes related to serialize_as_any.

Commits
  • 1a8850d Prepare release 2.12.3
  • 09dbcf2 Add FieldInfo.asdict() method, improve documentation around FieldInfo
  • 5da4331 Improve documentation about serialize as any behavior
  • 9c86324 Raise a warning when an invalid after model validator function signature is r...
  • 36a73c6 Update pydantic-extra-types dependency to version >=2.10.6
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.12.2 to 2.12.3.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.12.2...v2.12.3)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-version: 2.12.3
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 20, 2025
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 20, 2025
@github-actions github-actions bot enabled auto-merge (squash) October 20, 2025 12:27
@codspeed-hq
Copy link

codspeed-hq bot commented Oct 20, 2025

CodSpeed Performance Report

Merging #11695 will not alter performance

Comparing dependabot/pip/pydantic-2.12.3 (e9c38a2) with master (42fc48a)1

Summary

✅ 59 untouched

Footnotes

  1. No successful run was found on master (a0eb8f6) during the generation of this report, so 42fc48a was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.72%. Comparing base (42fc48a) to head (e9c38a2).
⚠️ Report is 2 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11695      +/-   ##
==========================================
- Coverage   98.74%   98.72%   -0.03%     
==========================================
  Files         127      127              
  Lines       43549    43549              
  Branches     2327     2327              
==========================================
- Hits        43003    42992      -11     
- Misses        390      398       +8     
- Partials      156      159       +3     
Flag Coverage Δ
CI-GHA 98.61% <ø> (-0.03%) ⬇️
OS-Linux 98.35% <ø> (-0.02%) ⬇️
OS-Windows 96.57% <ø> (-0.12%) ⬇️
OS-macOS 97.45% <ø> (-0.14%) ⬇️
Py-3.10.11 97.15% <ø> (ø)
Py-3.10.19 97.65% <ø> (ø)
Py-3.11.14 97.84% <ø> (ø)
Py-3.11.9 ?
Py-3.12.10 97.18% <ø> (-0.28%) ⬇️
Py-3.12.12 97.95% <ø> (-0.01%) ⬇️
Py-3.13.8 98.19% <ø> (-0.02%) ⬇️
Py-3.14.0 97.76% <ø> (-0.40%) ⬇️
Py-3.14.0t ?
Py-pypy3.10.16-7.3.19 ?
VM-macos 97.45% <ø> (-0.14%) ⬇️
VM-ubuntu 98.35% <ø> (-0.02%) ⬇️
VM-windows 96.57% <ø> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.74%. Comparing base (42fc48a) to head (e9c38a2).
⚠️ Report is 3 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11695   +/-   ##
=======================================
  Coverage   98.74%   98.74%           
=======================================
  Files         127      127           
  Lines       43549    43549           
  Branches     2327     2327           
=======================================
  Hits        43003    43003           
  Misses        390      390           
  Partials      156      156           
Flag Coverage Δ
CI-GHA 98.63% <ø> (ø)
OS-Linux 98.36% <ø> (ø)
OS-Windows 96.69% <ø> (ø)
OS-macOS 97.58% <ø> (ø)
Py-3.10.11 97.15% <ø> (ø)
Py-3.10.19 97.65% <ø> (ø)
Py-3.11.14 97.84% <ø> (ø)
Py-3.11.9 97.35% <ø> (ø)
Py-3.12.10 97.45% <ø> (ø)
Py-3.12.12 97.95% <ø> (-0.01%) ⬇️
Py-3.13.8 98.21% <ø> (+<0.01%) ⬆️
Py-3.14.0 98.15% <ø> (ø)
Py-3.14.0t 97.22% <ø> (-0.01%) ⬇️
Py-pypy3.10.16-7.3.19 89.87% <ø> (-7.31%) ⬇️
VM-macos 97.58% <ø> (ø)
VM-ubuntu 98.36% <ø> (ø)
VM-windows 96.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot merged commit 0a840da into master Oct 20, 2025
43 checks passed
@github-actions github-actions bot deleted the dependabot/pip/pydantic-2.12.3 branch October 20, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants