Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump pydantic from 2.7.0 to 2.7.1 (#104)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.7.0 to 2.7.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.7.1 (2024-04-23)</h2> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> to <a href="https://github.com/pydantic/pydantic-core/releases/tag/v2.18.2"><code>v2.18.2</code></a> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9307">#9307</a></li> </ul> <h4>New Features</h4> <ul> <li>Ftp and Websocket connection strings support by <a href="https://github.com/CherrySuryp"><code>@CherrySuryp</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9205">#9205</a></li> </ul> <h4>Changes</h4> <ul> <li>Use field description for RootModel schema description when there is <code>…</code> by <a href="https://github.com/LouisGobert"><code>@LouisGobert</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9214">#9214</a></li> </ul> <h4>Fixes</h4> <ul> <li>Fix <code>validation_alias</code> behavior with <code>model_construct</code> for <code>AliasChoices</code> and <code>AliasPath</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9223">#9223</a></li> <li>Revert <code>typing.Literal</code> and import it outside the TYPE_CHECKING block by <a href="https://github.com/frost-nzcr4"><code>@frost-nzcr4</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9232">#9232</a></li> <li>Fix <code>Secret</code> serialization schema, applicable for unions by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9240">#9240</a></li> <li>Fix <code>strict</code> application to <code>function-after</code> with <code>use_enum_values</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9279">#9279</a></li> <li>Address case where <code>model_construct</code> on a class which defines <code>model_post_init</code> fails with <code>AttributeError</code> by <a href="https://github.com/babygrimes"><code>@babygrimes</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9168">#9168</a></li> <li>Fix <code>model_json_schema</code> with config types by <a href="https://github.com/NeevCohen"><code>@NeevCohen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9287">#9287</a></li> <li>Support multiple zeros as an <code>int</code> by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1269">pydantic/pydantic-core#1269</a></li> <li>Fix validation of <code>int</code>s with leading unary plus by <a href="https://github.com/cknv"><code>@cknv</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1272">pydantic/pydantic-core#1272</a></li> <li>Fix interaction between <code>extra != 'ignore'</code> and <code>from_attributes=True</code> by <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1276">pydantic/pydantic-core#1276</a></li> <li>Handle error from <code>Enum</code>'s <code>missing</code> function as <code>ValidationError</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1754">pydantic/pydantic-core#1274</a></li> <li>Fix memory leak with <code>Iterable</code> validation by <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1751">pydantic/pydantic-core#1271</a></li> </ul> <h3>New Contributors</h3> <ul> <li><a href="https://github.com/zzstoatzz"><code>@zzstoatzz</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9219">#9219</a></li> <li><a href="https://github.com/frost-nzcr4"><code>@frost-nzcr4</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9232">#9232</a></li> <li><a href="https://github.com/CherrySuryp"><code>@CherrySuryp</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9205">#9205</a></li> <li><a href="https://github.com/vagenas"><code>@vagenas</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9268">#9268</a></li> <li><a href="https://github.com/ollz272"><code>@ollz272</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9262">#9262</a></li> <li><a href="https://github.com/babygrimes"><code>@babygrimes</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9168">#9168</a></li> <li><a href="https://github.com/swelborn"><code>@swelborn</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9296">#9296</a></li> <li><a href="https://github.com/kf-novi"><code>@kf-novi</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9236">#9236</a></li> <li><a href="https://github.com/lgeiger"><code>@lgeiger</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9288">#9288</a></li> </ul> <p>Full Changelog: <a href="https://github.com/pydantic/pydantic/compare/v2.7.0...v2.7.1/">https://github.com/pydantic/pydantic/compare/v2.7.0...v2.7.1/</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.7.1 (2024-04-23)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.7.1">GitHub release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> to <code>v2.18.2</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9307">#9307</a></li> </ul> <h4>New Features</h4> <ul> <li>Ftp and Websocket connection strings support by <a href="https://github.com/CherrySuryp"><code>@CherrySuryp</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9205">#9205</a></li> </ul> <h4>Changes</h4> <ul> <li>Use field description for RootModel schema description when there is <code>…</code> by <a href="https://github.com/LouisGobert"><code>@LouisGobert</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9214">#9214</a></li> </ul> <h4>Fixes</h4> <ul> <li>Fix <code>validation_alias</code> behavior with <code>model_construct</code> for <code>AliasChoices</code> and <code>AliasPath</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9223">#9223</a></li> <li>Revert <code>typing.Literal</code> and import it outside the TYPE_CHECKING block by <a href="https://github.com/frost-nzcr4"><code>@frost-nzcr4</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9232">#9232</a></li> <li>Fix <code>Secret</code> serialization schema, applicable for unions by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9240">#9240</a></li> <li>Fix <code>strict</code> application to <code>function-after</code> with <code>use_enum_values</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9279">#9279</a></li> <li>Address case where <code>model_construct</code> on a class which defines <code>model_post_init</code> fails with <code>AttributeError</code> by <a href="https://github.com/babygrimes"><code>@babygrimes</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9168">#9168</a></li> <li>Fix <code>model_json_schema</code> with config types by <a href="https://github.com/NeevCohen"><code>@NeevCohen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9287">#9287</a></li> <li>Support multiple zeros as an <code>int</code> by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1269">pydantic/pydantic-core#1269</a></li> <li>Fix validation of <code>int</code>s with leading unary plus by <a href="https://github.com/cknv"><code>@cknv</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1272">pydantic/pydantic-core#1272</a></li> <li>Fix interaction between <code>extra != 'ignore'</code> and <code>from_attributes=True</code> by <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1276">pydantic/pydantic-core#1276</a></li> <li>Handle error from <code>Enum</code>'s <code>missing</code> function as <code>ValidationError</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1754">pydantic/pydantic-core#1274</a></li> <li>Fix memory leak with <code>Iterable</code> validation by <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1751">pydantic/pydantic-core#1271</a></li> </ul> <h3>New Contributors</h3> <ul> <li><a href="https://github.com/zzstoatzz"><code>@zzstoatzz</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9219">#9219</a></li> <li><a href="https://github.com/frost-nzcr4"><code>@frost-nzcr4</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9232">#9232</a></li> <li><a href="https://github.com/CherrySuryp"><code>@CherrySuryp</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9205">#9205</a></li> <li><a href="https://github.com/vagenas"><code>@vagenas</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9268">#9268</a></li> <li><a href="https://github.com/ollz272"><code>@ollz272</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9262">#9262</a></li> <li><a href="https://github.com/babygrimes"><code>@babygrimes</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9168">#9168</a></li> <li><a href="https://github.com/swelborn"><code>@swelborn</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9296">#9296</a></li> <li><a href="https://github.com/kf-novi"><code>@kf-novi</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9236">#9236</a></li> <li><a href="https://github.com/lgeiger"><code>@lgeiger</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9288">#9288</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/26129479a06960af9d02d3a948e51985fe59ed4b"><code>2612947</code></a> 2.7.1 release prep (<a href="https://redirect.github.com/pydantic/pydantic/issues/9307">#9307</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/2b8efa29ee9e5b2bd819d8786acce414af00bb96"><code>2b8efa2</code></a> Move TODO regarding pickling to markdown (<a href="https://redirect.github.com/pydantic/pydantic/issues/9288">#9288</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/73d104941d884fb8f9fcaef567d17590397d3b49"><code>73d1049</code></a> adds test case for unexpected discriminated union behavior (<a href="https://redirect.github.com/pydantic/pydantic/issues/9236">#9236</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/c33b925e167a9a07422668c54e01e72569fddd3f"><code>c33b925</code></a> Change CI to use <code>macos-13</code> for Python 3.8 and 3.9 (<a href="https://redirect.github.com/pydantic/pydantic/issues/9305">#9305</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/82e46640f0af1fd55c1d11bbb018b128e895d753"><code>82e4664</code></a> Fix model json schema with config types (<a href="https://redirect.github.com/pydantic/pydantic/issues/9287">#9287</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/a0f18e33773e5464bc83144442253a5725c5c4e5"><code>a0f18e3</code></a> Fix bullets in Strict Mode docs (<a href="https://redirect.github.com/pydantic/pydantic/issues/9296">#9296</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/77b0e1ccd775c101be28b5dfa56bc36f1eed7eca"><code>77b0e1c</code></a> Address case where model_construct on a class which defines model_post_init f...</li> <li><a href="https://github.com/pydantic/pydantic/commit/6322b24d97ec3cc12795e1ce70fc3f882c6a7633"><code>6322b24</code></a> Fix <code>strict</code> application to <code>function-after</code> with <code>use_enum_values</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/9279">#9279</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/bb857bd6ad8a1751405fe389961e741be974f976"><code>bb857bd</code></a> docs(performance): remove section on literal vs enum performance (<a href="https://redirect.github.com/pydantic/pydantic/issues/9262">#9262</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/3c15a8bebabe731949766e4e93121b02f2a802fb"><code>3c15a8b</code></a> docs: make <code>TypeAdapter</code> example PEP-8 compliant (<a href="https://redirect.github.com/pydantic/pydantic/issues/9268">#9268</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.7.0...v2.7.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.7.0&new-version=2.7.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>
- Loading branch information