Skip to content

Commit 08dc3ea

Browse files
Bump pydantic from 2.9.2 to 2.10.4 (#10262)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.9.2 to 2.10.4. <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.10.4 2024-12-18</h2> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Bump <code>pydantic-core</code> to v2.27.2 by <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11138">#11138</a></li> </ul> <h3>Fixes</h3> <ul> <li>Fix for comparison of <code>AnyUrl</code> objects by <a href="https://github.com/alexprabhat99"><code>@​alexprabhat99</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11082">#11082</a></li> <li>Properly fetch PEP 695 type params for functions, do not fetch annotations from signature by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11093">#11093</a></li> <li>Include JSON Schema input core schema in function schemas by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11085">#11085</a></li> <li>Add <code>len</code> to <code>_BaseUrl</code> to avoid TypeError by <a href="https://github.com/Kharianne"><code>@​Kharianne</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11111">#11111</a></li> <li>Make sure the type reference is removed from the seen references by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11143">#11143</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/alexprabhat99"><code>@​alexprabhat99</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11082">#11082</a></li> <li><a href="https://github.com/Kharianne"><code>@​Kharianne</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11111">#11111</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.3...v2.10.4">https://github.com/pydantic/pydantic/compare/v2.10.3...v2.10.4</a></p> <h2>v2.10.3 2024-12-03</h2> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Set fields when <code>defer_build</code> is set on Pydantic dataclasses by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10984">#10984</a></li> <li>Do not resolve the JSON Schema reference for <code>dict</code> core schema keys by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10989">#10989</a></li> <li>Use the globals of the function when evaluating the return type for <code>PlainSerializer</code> and <code>WrapSerializer</code> functions by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11008">#11008</a></li> <li>Fix host required enforcement for urls to be compatible with v2.9 behavior by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11027">#11027</a></li> <li>Add a <code>default_factory_takes_validated_data</code> property to <code>FieldInfo</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11034">#11034</a></li> <li>Fix url json schema in <code>serialization</code> mode by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11035">#11035</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.2...v2.10.3">https://github.com/pydantic/pydantic/compare/v2.10.2...v2.10.3</a></p> <h2>v2.10.2 2024-11-26</h2> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Only evaluate <code>FieldInfo</code> annotations if required during schema building by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10769">#10769</a></li> <li>Do not evaluate annotations for private fields by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10962">#10962</a></li> <li>Support serialization as any for <code>Secret</code> types and <code>Url</code> types by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10947">#10947</a></li> <li>Fix type hint of <code>Field.default</code> to be compatible with Python 3.8 and 3.9 by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10972">#10972</a></li> <li>Add hashing support for URL types by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10975">#10975</a></li> <li>Hide <code>BaseModel.__replace__</code> definition from type checkers by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10979">10979</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2">https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2</a></p> <!-- 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.10.4 (2024-12-18)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.4">GitHub release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> to v2.27.2 by <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11138">#11138</a></li> </ul> <h4>Fixes</h4> <ul> <li>Fix for comparison of <code>AnyUrl</code> objects by <a href="https://github.com/alexprabhat99"><code>@​alexprabhat99</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11082">#11082</a></li> <li>Properly fetch PEP 695 type params for functions, do not fetch annotations from signature by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11093">#11093</a></li> <li>Include JSON Schema input core schema in function schemas by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11085">#11085</a></li> <li>Add <code>len</code> to <code>_BaseUrl</code> to avoid TypeError by <a href="https://github.com/Kharianne"><code>@​Kharianne</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11111">#11111</a></li> <li>Make sure the type reference is removed from the seen references by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11143">#11143</a></li> </ul> <h3>New Contributors</h3> <ul> <li><a href="https://github.com/FyZzyss"><code>@​FyZzyss</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/10789">#10789</a></li> <li><a href="https://github.com/tamird"><code>@​tamird</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/10948">#10948</a></li> <li><a href="https://github.com/felixxm"><code>@​felixxm</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11077">#11077</a></li> <li><a href="https://github.com/alexprabhat99"><code>@​alexprabhat99</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11082">#11082</a></li> <li><a href="https://github.com/Kharianne"><code>@​Kharianne</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11111">#11111</a></li> </ul> <h2>v2.10.3 (2024-12-03)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.3">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Set fields when <code>defer_build</code> is set on Pydantic dataclasses by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10984">#10984</a></li> <li>Do not resolve the JSON Schema reference for <code>dict</code> core schema keys by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10989">#10989</a></li> <li>Use the globals of the function when evaluating the return type for <code>PlainSerializer</code> and <code>WrapSerializer</code> functions by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11008">#11008</a></li> <li>Fix host required enforcement for urls to be compatible with v2.9 behavior by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11027">#11027</a></li> <li>Add a <code>default_factory_takes_validated_data</code> property to <code>FieldInfo</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11034">#11034</a></li> <li>Fix url json schema in <code>serialization</code> mode by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11035">#11035</a></li> </ul> <h2>v2.10.2 (2024-11-25)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.2">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Only evaluate FieldInfo annotations if required during schema building by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10769">#10769</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/5bd3a6507b749fcd4833173fba88b3690ff77170"><code>5bd3a65</code></a> fix history.md</li> <li><a href="https://github.com/pydantic/pydantic/commit/46f094569a071a99b313ec21b36568ceb1615635"><code>46f0945</code></a> Prepare for v2.10.4 (<a href="https://redirect.github.com/pydantic/pydantic/issues/11144">#11144</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/ea69e695f27fc8d93934bd07b262189dd7987dd9"><code>ea69e69</code></a> Make sure the type reference is removed from the seen references (<a href="https://redirect.github.com/pydantic/pydantic/issues/11145">#11145</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/a07c31e4a49bd3a01485ed0aabf55c5e0ac83ca7"><code>a07c31e</code></a> Include JSON Schema input core schema in function schemas (<a href="https://redirect.github.com/pydantic/pydantic/issues/11142">#11142</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/9166d551639c464d0a2ad772a7137e9218eda847"><code>9166d55</code></a> Update <code>WithJsonSchema</code> documentation, add usage documentation for `json_sche...</li> <li><a href="https://github.com/pydantic/pydantic/commit/572f57de01e6dd75673b4ad8e43afd7d56f70a0f"><code>572f57d</code></a> Rewrite validators documentation (<a href="https://redirect.github.com/pydantic/pydantic/issues/11060">#11060</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/9faa8d9cbd3258b9b0f01bd39da3552b03ed8c81"><code>9faa8d9</code></a> Fix for comaparison of AnyUrl objects (<a href="https://redirect.github.com/pydantic/pydantic/issues/11082">#11082</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/6fd6a03ab836025cfe62f988b6e9e797726f2a05"><code>6fd6a03</code></a> Fix package description limit bound (<a href="https://redirect.github.com/pydantic/pydantic/issues/11140">#11140</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/7814fde8a3d1c3e3c5e1357f2b24c06a0a715fee"><code>7814fde</code></a> Add <code>len</code> to <code>_BaseUrl</code> to avoid TypeError (<a href="https://redirect.github.com/pydantic/pydantic/issues/11111">#11111</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/e036881a772922de9ed952e722f84c46a9da693b"><code>e036881</code></a> Bump <code>pydantic-core</code> to 2.27.2 (<a href="https://redirect.github.com/pydantic/pydantic/issues/11138">#11138</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.9.2...v2.10.4">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.9.2&new-version=2.10.4)](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 1772493 commit 08dc3ea

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

requirements/constraints.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ pycares==4.5.0
142142
# via aiodns
143143
pycparser==2.22
144144
# via cffi
145-
pydantic==2.9.2
145+
pydantic==2.10.4
146146
# via python-on-whales
147-
pydantic-core==2.23.4
147+
pydantic-core==2.27.2
148148
# via pydantic
149149
pyenchant==3.2.2
150150
# via sphinxcontrib-spelling

requirements/dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ pycares==4.5.0
139139
# via aiodns
140140
pycparser==2.22
141141
# via cffi
142-
pydantic==2.9.2
142+
pydantic==2.10.4
143143
# via python-on-whales
144-
pydantic-core==2.23.4
144+
pydantic-core==2.27.2
145145
# via pydantic
146146
pygments==2.18.0
147147
# via

requirements/lint.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ pycares==4.5.0
5757
# via aiodns
5858
pycparser==2.22
5959
# via cffi
60-
pydantic==2.9.2
60+
pydantic==2.10.4
6161
# via python-on-whales
62-
pydantic-core==2.23.4
62+
pydantic-core==2.27.2
6363
# via pydantic
6464
pygments==2.18.0
6565
# via rich

requirements/test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ pycares==4.5.0
7777
# via aiodns
7878
pycparser==2.22
7979
# via cffi
80-
pydantic==2.9.2
80+
pydantic==2.10.4
8181
# via python-on-whales
82-
pydantic-core==2.23.4
82+
pydantic-core==2.27.2
8383
# via pydantic
8484
pygments==2.18.0
8585
# via rich

0 commit comments

Comments
 (0)