Skip to content

Commit 9529279

Browse files
Bump pydantic from 2.12.2 to 2.12.3 (#11693)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.12.2 to 2.12.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h2>v2.12.3 2025-10-17</h2> <h2>v2.12.3 (2025-10-17)</h2> <h3>What's Changed</h3> <p>This is the third 2.13 patch release, fixing issues related to the <code>FieldInfo</code> class, and reverting a change to the supported <a href="https://docs.pydantic.dev/latest/concepts/validators/#model-validators"><em>after</em> model validator</a> function signatures.</p> <ul> <li>Raise a warning when an invalid after model validator function signature is raised by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12414">#12414</a>. Starting in 2.12.0, using class methods for <em>after</em> model validators raised an error, but the error wasn't raised concistently. We decided to emit a deprecation warning instead.</li> <li>Add <a href="https://docs.pydantic.dev/latest/api/fields/#pydantic.fields.FieldInfo.asdict"><code>FieldInfo.asdict()</code></a> method, improve documentation around <code>FieldInfo</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12411">#12411</a>. This also adds back support for mutations on <code>FieldInfo</code> classes, that are reused as <code>Annotated</code> metadata. <strong>However</strong>, note that this is still <em>not</em> a supported pattern. Instead, please refer to the <a href="https://docs.pydantic.dev/latest/examples/dynamic_models/">added example</a> in the documentation.</li> </ul> <p>The <a href="https://pydantic.dev/articles/pydantic-v2-12-release#changes">blog post</a> section on changes was also updated to document the changes related to <code>serialize_as_any</code>.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.12.2...v2.12.3">https://github.com/pydantic/pydantic/compare/v2.12.2...v2.12.3</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's changelog</a>.</em></p> <blockquote> <h2>v2.12.3 (2025-10-17)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.12.3">GitHub release</a></p> <h3>What's Changed</h3> <p>This is the third 2.13 patch release, fixing issues related to the <code>FieldInfo</code> class, and reverting a change to the supported <a href="https://docs.pydantic.dev/latest/concepts/validators/#model-validators"><em>after</em> model validator</a> function signatures.</p> <ul> <li>Raise a warning when an invalid after model validator function signature is raised by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12414">#12414</a>. Starting in 2.12.0, using class methods for <em>after</em> model validators raised an error, but the error wasn't raised concistently. We decided to emit a deprecation warning instead.</li> <li>Add <a href="https://docs.pydantic.dev/latest/api/fields/#pydantic.fields.FieldInfo.asdict"><code>FieldInfo.asdict()</code></a> method, improve documentation around <code>FieldInfo</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12411">#12411</a>. This also add back support for mutations on <code>FieldInfo</code> classes, that are reused as <code>Annotated</code> metadata. <strong>However</strong>, note that this is still <em>not</em> a supported pattern. Instead, please refer to the <a href="https://docs.pydantic.dev/latest/examples/dynamic_models/">added example</a> in the documentation.</li> </ul> <p>The <a href="https://pydantic.dev/articles/pydantic-v2-12-release#changes">blog post</a> section on changes was also updated to document the changes related to <code>serialize_as_any</code>.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/1a8850d101e67d2744ba8c6286e1172d7cd89d0b"><code>1a8850d</code></a> Prepare release 2.12.3</li> <li><a href="https://github.com/pydantic/pydantic/commit/09dbcf29c73c3fd7fd3ef1edfebe357e807cc9ca"><code>09dbcf2</code></a> Add <code>FieldInfo.asdict()</code> method, improve documentation around <code>FieldInfo</code></li> <li><a href="https://github.com/pydantic/pydantic/commit/5da43310ec61a7b9b3017b2b9f388e778398a1bc"><code>5da4331</code></a> Improve documentation about serialize as any behavior</li> <li><a href="https://github.com/pydantic/pydantic/commit/9c863245ad3799ab331f33b52e2d7441e9c1191e"><code>9c86324</code></a> Raise a warning when an invalid after model validator function signature is r...</li> <li><a href="https://github.com/pydantic/pydantic/commit/36a73c6ed53df7f1cad3343bc811e1dd3f52d26f"><code>36a73c6</code></a> Update <code>pydantic-extra-types</code> dependency to version <code>&gt;=2.10.6</code></li> <li>See full diff in <a href="https://github.com/pydantic/pydantic/compare/v2.12.2...v2.12.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pydantic&package-manager=pip&previous-version=2.12.2&new-version=2.12.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent f401e99 commit 9529279

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pycares==4.11.0
153153
# via aiodns
154154
pycparser==2.23
155155
# via cffi
156-
pydantic==2.12.2
156+
pydantic==2.12.3
157157
# via python-on-whales
158158
pydantic-core==2.41.4
159159
# via pydantic

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pycares==4.11.0
150150
# via aiodns
151151
pycparser==2.23
152152
# via cffi
153-
pydantic==2.12.2
153+
pydantic==2.12.3
154154
# via python-on-whales
155155
pydantic-core==2.41.4
156156
# via pydantic

requirements/lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pycares==4.11.0
6767
# via aiodns
6868
pycparser==2.23
6969
# via cffi
70-
pydantic==2.12.2
70+
pydantic==2.12.3
7171
# via python-on-whales
7272
pydantic-core==2.41.4
7373
# via pydantic

requirements/test-common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ proxy-py==2.4.10
5656
# via -r requirements/test-common.in
5757
pycparser==2.23
5858
# via cffi
59-
pydantic==2.12.2
59+
pydantic==2.12.3
6060
# via python-on-whales
6161
pydantic-core==2.41.4
6262
# via pydantic

requirements/test-ft.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pycares==4.11.0
9191
# via aiodns
9292
pycparser==2.23
9393
# via cffi
94-
pydantic==2.12.2
94+
pydantic==2.12.3
9595
# via python-on-whales
9696
pydantic-core==2.41.4
9797
# via pydantic

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pycares==4.11.0
9191
# via aiodns
9292
pycparser==2.23
9393
# via cffi
94-
pydantic==2.12.2
94+
pydantic==2.12.3
9595
# via python-on-whales
9696
pydantic-core==2.41.4
9797
# via pydantic

0 commit comments

Comments
 (0)