poetry: bump pydantic from 2.9.2 to 2.12.3
Type: Pull Request
State: Open
Association: Unknown
Comments: 5
(8 months ago)
(7 months ago)
dependencies python
Bumps pydantic from 2.9.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
FieldInfoclass, 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
@Viicosin #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 aroundFieldInfoby@Viicosin #12411. This also adds back support for mutations onFieldInfoclasses, that are reused asAnnotatedmetadata. 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: https://github.com/pydantic/pydantic/compare/v2.12.2...v2.12.3
v2.12.2 2025-10-14
v2.12.2 (2025-10-14)
What's Changed
Fixes
- Release a new
pydantic-coreversion, as a corrupted CPython 3.10manylinux2014_aarch64wheel got uploaded (pydantic-core#1843).- Fix issue with recursive generic models with a parent model class by
@Viicosin #12398Full Changelog: https://github.com/pydantic/pydantic/compare/v2.12.1...v2.12.2
v2.12.1 2025-10-13
v2.12.1 (2025-10-13)
What's Changed
This is the first 2.12 patch release, addressing most (but not all yet) regressions from the initial 2.12.0 release.
Fixes
- Do not evaluate annotations when inspecting validators and serializers by
@Viicosin #12355- Make sure
Noneis converted asNoneTypein Python 3.14 by@Viicosin #12370- Backport V1 runtime warning when using Python 3.14 by
@Viicosin #12367- Fix error message for invalid validator signatures by
@Viicosin #12366- Populate field name in
ValidationInfofor validation of default value by@Viicosin pydantic-core#1826- Encode credentials in
MultiHostUrlbuilder by@willswirein pydantic-core#1829- Respect field serializers when using
serialize_as_anyserialization flag by@davidhewittin pydantic-core#1829- Fix various
RootModelserialization issues by@davidhewittin pydantic-core#1836New Contributors
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.12.3 (2025-10-17)
What's Changed
This is the third 2.13 patch release, fixing issues related to the
FieldInfoclass, 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
@Viicosin #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 aroundFieldInfoby@Viicosin #12411. This also add back support for mutations onFieldInfoclasses, that are reused asAnnotatedmetadata. 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.v2.12.2 (2025-10-14)
What's Changed
Fixes
- Release a new
pydantic-coreversion, as a corrupted CPython 3.10manylinux2014_aarch64wheel got uploaded (pydantic-core#1843).- Fix issue with recursive generic models with a parent model class by
@Viicosin #12398v2.12.1 (2025-10-13)
What's Changed
This is the first 2.12 patch release, addressing most (but not all yet) regressions from the initial 2.12.0 release.
Fixes
- Do not evaluate annotations when inspecting validators and serializers by
@Viicosin #12355- Make sure
Noneis converted asNoneTypein Python 3.14 by@Viicosin #12370- Backport V1 runtime warning when using Python 3.14 by
@Viicosin #12367- Fix error message for invalid validator signatures by
@Viicosin #12366- Populate field name in
ValidationInfofor validation of default value by@Viicosin pydantic-core#1826- Encode credentials in
MultiHostUrlbuilder by@willswirein pydantic-core#1829- Respect field serializers when using
serialize_as_anyserialization flag by@davidhewittin pydantic-core#1829- Fix various
RootModelserialization issues by@davidhewittin pydantic-core#1836New Contributors
... (truncated)
Commits
1a8850dPrepare release 2.12.309dbcf2AddFieldInfo.asdict()method, improve documentation aroundFieldInfo5da4331Improve documentation about serialize as any behavior9c86324Raise a warning when an invalid after model validator function signature is r...36a73c6Updatepydantic-extra-typesdependency to version>=2.10.61e616a3Prepare release v2.12.2dc302e2Fix issue with recursive generic models with a parent model class6876485Bumppydantic-coreto v2.41.4b4076c6Prepare release 2.12.1b67f072Bumppydantic-coreto v2.41.3- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 10279357 |
| UUID: | 3530677000 |
| Node ID: | PR_kwDOHvKt1c6uifb1 |
| Host: | GitHub |
| Repository: | NHSDigital/NRLF |