Commit 7c3c536
authored
Bump pydantic from 2.10.6 to 2.11.1 (#10650)
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 />
[](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 d042abd commit 7c3c536
4 files changed
+20
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
269 | 272 | | |
270 | 273 | | |
271 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
260 | 263 | | |
261 | 264 | | |
262 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
134 | 137 | | |
135 | 138 | | |
136 | 139 | | |
| |||
0 commit comments