Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-py): update pydantic requirement from <2.9,>=2.8 to >=2.8,…
…<2.10 in /hugr-py (#1527) Updates the requirements on [pydantic](https://github.com/pydantic/pydantic) to permit the latest version. <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.9.1 (2024-09-09)</h2> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Fix Predicate issue in v2.9.0 by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10321">#10321</a></li> <li>Fixing <code>annotated-types</code> bound to <code>>=0.6.0</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10327">#10327</a></li> <li>Turn <code>tzdata</code> install requirement into optional <code>timezone</code> dependency by <a href="https://github.com/jakob-keller"><code>@jakob-keller</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10331">#10331</a></li> <li>Fix <code>IncExc</code> type alias definition by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10339">#10339</a></li> <li>Use correct types namespace when building namedtuple core schemas by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10337">#10337</a></li> <li>Fix evaluation of stringified annotations during namespace inspection by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10347">#10347</a></li> <li>Fix tagged union serialization with alias generators by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1442">pydantic/pydantic-core#1442</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.9.0...v2.9.1">https://github.com/pydantic/pydantic/compare/v2.9.0...v2.9.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.9.0 (2024-09-05)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.9.0">GitHub release</a></p> <p>The code released in v2.9.0 is practically identical to that of v2.9.0b2.</p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>ruff</code> to <code>v0.5.0</code> and <code>pyright</code> to <code>v1.1.369</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9801">#9801</a></li> <li>Bump <code>pydantic-extra-types</code> to <code>v2.9.0</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9832">#9832</a></li> <li>Support compatibility with <code>pdm v2.18.1</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10138">#10138</a></li> <li>Bump <code>v1</code> version stub to <code>v1.10.18</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10214">#10214</a></li> <li>Bump <code>pydantic-core</code> to <code>v2.23.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/10311">#10311</a></li> </ul> <h4>New Features</h4> <ul> <li>Add support for <code>ZoneInfo</code> by <a href="https://github.com/Youssefares"><code>@Youssefares</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9896">#9896</a></li> <li>Add <code>Config.val_json_bytes</code> by <a href="https://github.com/josh-newman"><code>@josh-newman</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9770">#9770</a></li> <li>Add DSN for Snowflake by <a href="https://github.com/aditkumar72"><code>@aditkumar72</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10128">#10128</a></li> <li>Support <code>complex</code> number by <a href="https://github.com/changhc"><code>@changhc</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9654">#9654</a></li> <li>Add support for <code>annotated_types.Not</code> by <a href="https://github.com/aditkumar72"><code>@aditkumar72</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10210">#10210</a></li> <li>Allow <code>WithJsonSchema</code> to inject <code>$ref</code>s w/ <code>http</code> or <code>https</code> links by <a href="https://github.com/dAIsySHEng1"><code>@dAIsySHEng1</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9863">#9863</a></li> <li>Allow validators to customize validation JSON schema by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10094">#10094</a></li> <li>Support parametrized <code>PathLike</code> types by <a href="https://github.com/nix010"><code>@nix010</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9764">#9764</a></li> <li>Add tagged union serializer that attempts to use <code>str</code> or <code>callable</code> discriminators to select the correct serializer by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1397">pydantic/pydantic-core#1397</a></li> </ul> <h4>Changes</h4> <ul> <li>Breaking Change: Merge <code>dict</code> type <code>json_schema_extra</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9792">#9792</a> <ul> <li>For more info (how to replicate old behavior) on this change, see <a href="https://docs.pydantic.dev/dev/concepts/json_schema/#merging-json_schema_extra">here</a></li> </ul> </li> <li>Refactor annotation injection for known (often generic) types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9979">#9979</a></li> <li>Move annotation compatibility errors to validation phase by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9999">#9999</a></li> <li>Improve runtime errors for string constraints like <code>pattern</code> for incompatible types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10158">#10158</a></li> <li>Remove <code>'allOf'</code> JSON schema workarounds by <a href="https://github.com/dpeachey"><code>@dpeachey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10029">#10029</a></li> <li>Remove <code>typed_dict_cls</code> data from <code>CoreMetadata</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10180">#10180</a></li> <li>Deprecate passing a dict to the <code>Examples</code> class by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10181">#10181</a></li> <li>Remove <code>initial_metadata</code> from internal metadata construct by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10194">#10194</a></li> <li>Use <code>re.Pattern.search</code> instead of <code>re.Pattern.match</code> for consistency with <code>rust</code> behavior by <a href="https://github.com/tinez"><code>@tinez</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1368">pydantic/pydantic-core#1368</a></li> <li>Show value of wrongly typed data in <code>pydantic-core</code> serialization warning by <a href="https://github.com/BoxyUwU"><code>@BoxyUwU</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1377">pydantic/pydantic-core#1377</a></li> <li>Breaking Change: in <code>pydantic-core</code>, change <code>metadata</code> type hint in core schemas from <code>Any</code> -> <code>Dict[str, Any] | None</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/1411">pydantic/pydantic-core#1411</a></li> <li>Raise helpful warning when <code>self</code> isn't returned from model validator by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10255">#10255</a></li> </ul> <h4>Performance</h4> <ul> <li>Initial start at improving import times for modules, using caching primarily by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10009">#10009</a></li> <li>Using cached internal import for <code>BaseModel</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10013">#10013</a></li> <li>Simplify internal generics logic - remove generator overhead by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10059">#10059</a></li> <li>Remove default module globals from types namespace by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10123">#10123</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/ecc5275d01e3d8de15c3641d35eb5151f5778833"><code>ecc5275</code></a> bump</li> <li><a href="https://github.com/pydantic/pydantic/commit/2c61bfda43e67b8308f86c77ae4121f447f134dd"><code>2c61bfd</code></a> Fix evaluation of stringified annotations during namespace inspection (<a href="https://redirect.github.com/pydantic/pydantic/issues/10347">#10347</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/3d364cbf994bc6676b8419b8ad588d4d49ab2f29"><code>3d364cb</code></a> Use correct types namespace when building namedtuple core schemas (<a href="https://redirect.github.com/pydantic/pydantic/issues/10337">#10337</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/2746ccba230b47d279ed5aa4e4831bbdba60ad70"><code>2746ccb</code></a> Fix <code>IncEx</code> type alias definition (<a href="https://redirect.github.com/pydantic/pydantic/issues/10339">#10339</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/b32d4109675316912b99a7f4fc56dcbf2c73840c"><code>b32d410</code></a> Turn <code>tzdata</code> install requirement into optional <code>timezone</code> dependency (<a href="https://redirect.github.com/pydantic/pydantic/issues/10331">#10331</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/7d857eb89c4f3c0389f8e12d83f14c89fab75f37"><code>7d857eb</code></a> Fixing <code>annotated-types</code> bound (<a href="https://redirect.github.com/pydantic/pydantic/issues/10327">#10327</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/07cbe50fa0a7d217d8382f79c43d02201d25a4fe"><code>07cbe50</code></a> Fix <code>Predicate</code> issue in <code>v2.9.0</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/10321">#10321</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/ed92d0a921d3464f08c5aa67dcbd262bf67110b1"><code>ed92d0a</code></a> Prep for v2.9 release (<a href="https://redirect.github.com/pydantic/pydantic/issues/10311">#10311</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/eecde7b7f73c1ecd4fc12ee867b8b53d2f86b73f"><code>eecde7b</code></a> Fix lifecycle docs formatting (<a href="https://redirect.github.com/pydantic/pydantic/issues/10309">#10309</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/447879b44ab8a9871193d6aef1b0846288929495"><code>447879b</code></a> Add schema generation benchmarks for models with custom serializers (<a href="https://redirect.github.com/pydantic/pydantic/issues/10290">#10290</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.8.0...v2.9.1">compare view</a></li> </ul> </details> <br /> 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> Co-authored-by: Agustin Borgna <[email protected]>
- Loading branch information