Skip to content

Commit f3b0610

Browse files
Bump pydantic from 2.10.6 to 2.11.1 (#10649)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.10.6 to 2.11.1. <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.11.1 2025-03-28</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Do not override <code>'definitions-ref'</code> schemas containing serialization schemas or metadata by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11644">pydantic/pydantic#11644</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.11.0...v2.11.1">https://github.com/pydantic/pydantic/compare/v2.11.0...v2.11.1</a></p> <h2>v2.11.0 2025-03-27</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Re-enable memray related tests on Python 3.12+ by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11191">pydantic/pydantic#11191</a></li> <li>Bump astral-sh/setup-uv from 4 to 5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11205">pydantic/pydantic#11205</a></li> <li>Add a <code>check_pydantic_core_version()</code> function by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11324">pydantic/pydantic#11324</a></li> <li>Remove <code>greenlet</code> development dependency by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11351">pydantic/pydantic#11351</a></li> <li>Bump ruff from 0.9.2 to 0.9.5 by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11407">pydantic/pydantic#11407</a></li> <li>Improve release automation process by <a href="https://github.com/austinyu"><code>@​austinyu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11427">pydantic/pydantic#11427</a></li> <li>Bump dawidd6/action-download-artifact from 8 to 9 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11513">pydantic/pydantic#11513</a></li> <li>Bump <code>pydantic-core</code> to v2.32.0 by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11567">pydantic/pydantic#11567</a></li> </ul> <h3>New Features</h3> <ul> <li>Support unsubstituted type variables with both a default and a bound or constraints by <a href="https://github.com/FyZzyss"><code>@​FyZzyss</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10789">pydantic/pydantic#10789</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">pydantic/pydantic#11034</a></li> <li>Raise a better error when a generic alias is used inside <code>type[]</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11088">pydantic/pydantic#11088</a></li> <li>Properly support PEP 695 generics syntax by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11189">pydantic/pydantic#11189</a></li> <li>Properly support type variable defaults by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11332">pydantic/pydantic#11332</a></li> <li>Add support for validating v6, v7, v8 UUIDs by <a href="https://github.com/astei"><code>@​astei</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11436">pydantic/pydantic#11436</a></li> <li>Improve alias configuration APIs by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11468">pydantic/pydantic#11468</a></li> <li>Add experimental support for free threading by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11516">pydantic/pydantic#11516</a></li> <li>Add <code>encoded_string()</code> method to the URL types by <a href="https://github.com/YassinNouh21"><code>@​YassinNouh21</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11580">pydantic/pydantic#11580</a></li> <li>Add support for <code>defer_build</code> with <code>@validate_call</code> decorator by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11584">pydantic/pydantic#11584</a></li> <li>Allow <code>@with_config</code> decorator to be used with keyword arguments by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11608">pydantic/pydantic#11608</a></li> <li>Simplify customization of default value inclusion in JSON Schema generation by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11634">pydantic/pydantic#11634</a></li> <li>Add <code>generate_arguments_schema()</code> function by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11572">pydantic/pydantic#11572</a></li> </ul> <h3>Changes</h3> <ul> <li>Rework <code>create_model</code> field definitions format by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11032">pydantic/pydantic#11032</a></li> <li>Raise a deprecation warning when a field is annotated as final with a default value by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11168">pydantic/pydantic#11168</a></li> <li>Deprecate accessing <code>model_fields</code> and <code>model_computed_fields</code> on instances by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11169">pydantic/pydantic#11169</a></li> <li>Move core schema generation logic for path types inside the <code>GenerateSchema</code> class by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10846">pydantic/pydantic#10846</a></li> <li>Move <code>Mapping</code> schema gen to <code>GenerateSchema</code> to complete removal of <code>prepare_annotations_for_known_type</code> workaround by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11247">pydantic/pydantic#11247</a></li> <li>Remove Python 3.8 Support by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11258">pydantic/pydantic#11258</a></li> <li>Optimize calls to <code>get_type_ref</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10863">pydantic/pydantic#10863</a></li> </ul> <!-- 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.11.1 (2025-03-28)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.11.1">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Do not override <code>'definitions-ref'</code> schemas containing serialization schemas or metadata by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11644">#11644</a></li> </ul> <h2>v2.11.0 (2025-03-27)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.11.0">GitHub release</a></p> <h3>What's Changed</h3> <p>Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general). See the <a href="https://pydantic.dev/articles/pydantic-v2-11-release">blog post</a> for more details.</p> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> to v2.33.0 by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11631">#11631</a></li> </ul> <h4>New Features</h4> <ul> <li>Add <code>encoded_string()</code> method to the URL types by <a href="https://github.com/YassinNouh21"><code>@​YassinNouh21</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11580">#11580</a></li> <li>Add support for <code>defer_build</code> with <code>@validate_call</code> decorator by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11584">#11584</a></li> <li>Allow <code>@with_config</code> decorator to be used with keyword arguments by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11608">#11608</a></li> <li>Simplify customization of default value inclusion in JSON Schema generation by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11634">#11634</a></li> <li>Add <code>generate_arguments_schema()</code> function by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11572">#11572</a></li> </ul> <h4>Fixes</h4> <ul> <li>Allow generic typed dictionaries to be used for unpacked variadic keyword parameters by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11571">#11571</a></li> <li>Fix runtime error when computing model string representation involving cached properties and self-referenced models by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11579">#11579</a></li> <li>Preserve other steps when using the ellipsis in the pipeline API by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11626">#11626</a></li> <li>Fix deferred discriminator application logic by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11591">#11591</a></li> </ul> <h3>New Contributors</h3> <ul> <li><a href="https://github.com/cmenon12"><code>@​cmenon12</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11562">#11562</a></li> <li><a href="https://github.com/Jeukoh"><code>@​Jeukoh</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11611">#11611</a></li> </ul> <h2>v2.11.0b2 (2025-03-17)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.11.0b2">GitHub release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/6c38dc93f40a47f4d1350adca9ec0d72502e223f"><code>6c38dc9</code></a> Prepare release v2.11.1 (<a href="https://redirect.github.com/pydantic/pydantic/issues/11648">#11648</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/1dcddac2c5e1ac2361fc897f804f44338a1d8067"><code>1dcddac</code></a> Do not override <code>'definitions-ref'</code> schemas containing serialization schemas ...</li> <li><a href="https://github.com/pydantic/pydantic/commit/024fdae2b55bd41866418586d48009956cfa9e1b"><code>024fdae</code></a> Fix small typos (<a href="https://redirect.github.com/pydantic/pydantic/issues/11643">#11643</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/58e61fa3c60ffb8140d01ca9f74ff7528326a0c6"><code>58e61fa</code></a> Prepare release v2.11.0 (<a href="https://redirect.github.com/pydantic/pydantic/issues/11635">#11635</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/e2c2e811e3cafb35d376c22e8830f2773d65ee58"><code>e2c2e81</code></a> Add <code>generate_arguments_schema()</code> experimental function (<a href="https://redirect.github.com/pydantic/pydantic/issues/11572">#11572</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/72bea3f22f8d5380cb10af017deae4a0e16709c0"><code>72bea3f</code></a> Add <code>mkdocs-llmstxt</code> documentation plugin (<a href="https://redirect.github.com/pydantic/pydantic/issues/11632">#11632</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/fcba83291a8fe7e1dcfde9bbcc8ea57f8ef322c0"><code>fcba832</code></a> Simplify customization of default value inclusion in JSON Schema generation (...</li> <li><a href="https://github.com/pydantic/pydantic/commit/6f11161524e495f6ed7597abcd4006f19a7cd2c1"><code>6f11161</code></a> Add support for extra keys validation for models (<a href="https://redirect.github.com/pydantic/pydantic/issues/11578">#11578</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/7917b11bd28706d77a5d0180381bc96b6b61b044"><code>7917b11</code></a> Disable third-party workflow issue report (<a href="https://redirect.github.com/pydantic/pydantic/issues/11629">#11629</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/f5226d294664788d1fbea13bec2dbc1ce6305c8e"><code>f5226d2</code></a> Bump <code>pydantic-core</code> to v2.33.0 (<a href="https://redirect.github.com/pydantic/pydantic/issues/11631">#11631</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.10.6...v2.11.1">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.10.6&new-version=2.11.1)](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 3ecac88 commit f3b0610

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

requirements/constraints.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ pycares==4.5.0
148148
# via aiodns
149149
pycparser==2.22
150150
# via cffi
151-
pydantic==2.10.6
151+
pydantic==2.11.1
152152
# via python-on-whales
153-
pydantic-core==2.27.2
153+
pydantic-core==2.33.0
154154
# via pydantic
155155
pyenchant==3.2.2
156156
# via sphinxcontrib-spelling
@@ -262,6 +262,9 @@ typing-extensions==4.12.2
262262
# pydantic-core
263263
# python-on-whales
264264
# rich
265+
# typing-inspection
266+
typing-inspection==0.4.0
267+
# via pydantic
265268
uritemplate==4.1.1
266269
# via gidgethub
267270
urllib3==2.3.0

requirements/dev.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ pycares==4.5.0
145145
# via aiodns
146146
pycparser==2.22
147147
# via cffi
148-
pydantic==2.10.6
148+
pydantic==2.11.1
149149
# via python-on-whales
150-
pydantic-core==2.27.2
150+
pydantic-core==2.33.0
151151
# via pydantic
152152
pygments==2.19.1
153153
# via
@@ -253,6 +253,9 @@ typing-extensions==4.12.2
253253
# pydantic-core
254254
# python-on-whales
255255
# rich
256+
# typing-inspection
257+
typing-inspection==0.4.0
258+
# via pydantic
256259
uritemplate==4.1.1
257260
# via gidgethub
258261
urllib3==2.3.0

requirements/lint.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ pycares==4.5.0
6363
# via aiodns
6464
pycparser==2.22
6565
# via cffi
66-
pydantic==2.10.6
66+
pydantic==2.11.1
6767
# via python-on-whales
68-
pydantic-core==2.27.2
68+
pydantic-core==2.33.0
6969
# via pydantic
7070
pygments==2.19.1
7171
# via rich
@@ -104,6 +104,9 @@ typing-extensions==4.12.2
104104
# pydantic-core
105105
# python-on-whales
106106
# rich
107+
# typing-inspection
108+
typing-inspection==0.4.0
109+
# via pydantic
107110
uvloop==0.21.0 ; platform_system != "Windows"
108111
# via -r requirements/lint.in
109112
valkey==6.1.0

requirements/test.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ pycares==4.5.0
7979
# via aiodns
8080
pycparser==2.22
8181
# via cffi
82-
pydantic==2.10.6
82+
pydantic==2.11.1
8383
# via python-on-whales
84-
pydantic-core==2.27.2
84+
pydantic-core==2.33.0
8585
# via pydantic
8686
pygments==2.19.1
8787
# via rich
@@ -125,6 +125,9 @@ typing-extensions==4.12.2
125125
# pydantic-core
126126
# python-on-whales
127127
# rich
128+
# typing-inspection
129+
typing-inspection==0.4.0
130+
# via pydantic
128131
uvloop==0.21.0 ; platform_system != "Windows" and implementation_name == "cpython"
129132
# via -r requirements/base.in
130133
wait-for-it==2.3.0

0 commit comments

Comments
 (0)