Skip to content

Commit 3ebee6b

Browse files
chore(deps): bump pydantic from 2.11.10 to 2.12.3 (#193)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.11.10 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> <h2>v2.12.2 2025-10-14</h2> <h2>v2.12.2 (2025-10-14)</h2> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Release a new <code>pydantic-core</code> version, as a corrupted CPython 3.10 <code>manylinux2014_aarch64</code> wheel got uploaded (<a href="https://redirect.github.com/pydantic/pydantic-core/pull/1843">pydantic-core#1843</a>).</li> <li>Fix issue with recursive generic models with a parent model class by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12398">#12398</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.12.1...v2.12.2">https://github.com/pydantic/pydantic/compare/v2.12.1...v2.12.2</a></p> <h2>v2.12.1 2025-10-13</h2> <h2>v2.12.1 (2025-10-13)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.12.1">GitHub release</a></p> <h3>What's Changed</h3> <p>This is the first 2.12 patch release, addressing most (but not all yet) regressions from the initial 2.12.0 release.</p> <h4>Fixes</h4> <ul> <li>Do not evaluate annotations when inspecting validators and serializers by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12355">#12355</a></li> <li>Make sure <code>None</code> is converted as <code>NoneType</code> in Python 3.14 by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12370">#12370</a></li> <li>Backport V1 runtime warning when using Python 3.14 by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12367">#12367</a></li> <li>Fix error message for invalid validator signatures by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12366">#12366</a></li> <li>Populate field name in <code>ValidationInfo</code> for validation of default value by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1826">pydantic-core#1826</a></li> <li>Encode credentials in <code>MultiHostUrl</code> builder by <a href="https://github.com/willswire"><code>@​willswire</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1829">pydantic-core#1829</a></li> <li>Respect field serializers when using <code>serialize_as_any</code> serialization flag by <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1829">pydantic-core#1829</a></li> <li>Fix various <code>RootModel</code> serialization issues by <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1836">pydantic-core#1836</a></li> </ul> <h3>New Contributors</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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> <h2>v2.12.2 (2025-10-14)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.12.2">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Release a new <code>pydantic-core</code> version, as a corrupted CPython 3.10 <code>manylinux2014_aarch64</code> wheel got uploaded (<a href="https://redirect.github.com/pydantic/pydantic-core/pull/1843">pydantic-core#1843</a>).</li> <li>Fix issue with recursive generic models with a parent model class by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12398">#12398</a></li> </ul> <h2>v2.12.1 (2025-10-13)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.12.1">GitHub release</a></p> <h3>What's Changed</h3> <p>This is the first 2.12 patch release, addressing most (but not all yet) regressions from the initial 2.12.0 release.</p> <h4>Fixes</h4> <ul> <li>Do not evaluate annotations when inspecting validators and serializers by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12355">#12355</a></li> <li>Make sure <code>None</code> is converted as <code>NoneType</code> in Python 3.14 by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12370">#12370</a></li> <li>Backport V1 runtime warning when using Python 3.14 by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12367">#12367</a></li> <li>Fix error message for invalid validator signatures by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/12366">#12366</a></li> <li>Populate field name in <code>ValidationInfo</code> for validation of default value by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1826">pydantic-core#1826</a></li> <li>Encode credentials in <code>MultiHostUrl</code> builder by <a href="https://github.com/willswire"><code>@​willswire</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1829">pydantic-core#1829</a></li> <li>Respect field serializers when using <code>serialize_as_any</code> serialization flag by <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1829">pydantic-core#1829</a></li> <li>Fix various <code>RootModel</code> serialization issues by <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1836">pydantic-core#1836</a></li> </ul> <h3>New Contributors</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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><a href="https://github.com/pydantic/pydantic/commit/1e616a3a6fa0201f840c08143cac883e56a2d9df"><code>1e616a3</code></a> Prepare release v2.12.2</li> <li><a href="https://github.com/pydantic/pydantic/commit/dc302e2d09f0eed14729f69bc61a258f1f35d35c"><code>dc302e2</code></a> Fix issue with recursive generic models with a parent model class</li> <li><a href="https://github.com/pydantic/pydantic/commit/6876485d0cffeb66c915695574344ae4b03645a7"><code>6876485</code></a> Bump <code>pydantic-core</code> to v2.41.4</li> <li><a href="https://github.com/pydantic/pydantic/commit/b4076c66773b514d4891f036a4cc562b8ff0ff21"><code>b4076c6</code></a> Prepare release 2.12.1</li> <li><a href="https://github.com/pydantic/pydantic/commit/b67f07291167b4005a6eeee05fcad67b43a53f41"><code>b67f072</code></a> Bump <code>pydantic-core</code> to v2.41.3</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.11.10...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.11.10&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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 111a570 commit 3ebee6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test_packaging = [
4141
"twine==6.2.0"
4242
]
4343
tests = [
44-
"pydantic==2.11.10",
44+
"pydantic==2.12.3",
4545
"pytest==8.4.2"
4646
]
4747
type_check = [

0 commit comments

Comments
 (0)