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.10,>=2.8 to >=2.8…
…,<2.11 in /hugr-py (#1710) 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.10.1 2024-11-21</h2> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Bump <code>pydantic-core</code> version to <code>v2.27.1</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10938">#10938</a></li> </ul> <h3>Fixes</h3> <ul> <li>Use the correct frame when instantiating a parametrized <code>TypeAdapter</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10893">#10893</a></li> <li>Relax check for validated data in <code>default_factory</code> utils by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10909">#10909</a></li> <li>Fix type checking issue with <code>model_fields</code> and <code>model_computed_fields</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10911">#10911</a></li> <li>Use the parent configuration during schema generation for stdlib <code>dataclass</code>es by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10928">#10928</a></li> <li>Use the <code>globals</code> of the function when evaluating the return type of serializers and <code>computed_field</code>s by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10929">#10929</a></li> <li>Fix URL constraint application by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10922">#10922</a></li> <li>Fix URL equality with different validation methods by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10934">#10934</a></li> <li>Fix JSON schema title when specified as <code>''</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10936">#10936</a></li> <li>Fix <code>python</code> mode serialization for <code>complex</code> inference by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1549">pydantic-core#1549</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.0...v2.10.2">https://github.com/pydantic/pydantic/compare/v2.10.0...v2.10.2</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.10.1 (2024-11-21)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.1">GitHub release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> version to <code>v2.27.1</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10938">#10938</a></li> </ul> <h4>Fixes</h4> <ul> <li>Use the correct frame when instantiating a parametrized <code>TypeAdapter</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10893">#10893</a></li> <li>Relax check for validated data in <code>default_factory</code> utils by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10909">#10909</a></li> <li>Fix type checking issue with <code>model_fields</code> and <code>model_computed_fields</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10911">#10911</a></li> <li>Use the parent configuration during schema generation for stdlib <code>dataclass</code>es by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10928">#10928</a></li> <li>Use the <code>globals</code> of the function when evaluating the return type of serializers and <code>computed_field</code>s by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10929">#10929</a></li> <li>Fix URL constraint application by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10922">#10922</a></li> <li>Fix URL equality with different validation methods by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10934">#10934</a></li> <li>Fix JSON schema title when specified as <code>''</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10936">#10936</a></li> <li>Fix <code>python</code> mode serialization for <code>complex</code> inference by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1549">pydantic-core#1549</a></li> </ul> <h3>New Contributors</h3> <h2>v2.10.0 (2024-11-20)</h2> <p>The code released in v2.10.0 is practically identical to that of v2.10.0b2.</p> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.0">GitHub release</a></p> <p>See the <a href="https://pydantic.dev/articles/pydantic-v2-10-release">v2.10 release blog post</a> for the highlights!</p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> to <code>v2.27.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/10825">#10825</a></li> <li>Replaced pdm with uv by <a href="https://github.com/frfahim"><code>@frfahim</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10727">#10727</a></li> </ul> <h4>New Features</h4> <ul> <li>Support <code>fractions.Fraction</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10318">#10318</a></li> <li>Support <code>Hashable</code> for json validation by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10324">#10324</a></li> <li>Add a <code>SocketPath</code> type for <code>linux</code> systems by <a href="https://github.com/theunkn0wn1"><code>@theunkn0wn1</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10378">#10378</a></li> <li>Allow arbitrary refs in JSON schema <code>examples</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10417">#10417</a></li> <li>Support <code>defer_build</code> for Pydantic dataclasses by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10313">#10313</a></li> <li>Adding v1 / v2 incompatibility warning for nested v1 model by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10431">#10431</a></li> <li>Add support for unpacked <code>TypedDict</code> to type hint variadic keyword arguments with <code>@validate_call</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10416">#10416</a></li> <li>Support compiled patterns in <code>protected_namespaces</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10522">#10522</a></li> <li>Add support for <code>propertyNames</code> in JSON schema by <a href="https://github.com/FlorianSW"><code>@FlorianSW</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10478">#10478</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/17e60fafd66133be47352cb0a9b887664b5a6f2d"><code>17e60fa</code></a> spacing</li> <li><a href="https://github.com/pydantic/pydantic/commit/369b355dbafccb4fa9dd080d328f770d56fb0678"><code>369b355</code></a> remove typo</li> <li><a href="https://github.com/pydantic/pydantic/commit/4c75404d6b8faa7dbfe229f11b3bd68fc51b09ca"><code>4c75404</code></a> Prepare for v2.10.1 release (<a href="https://redirect.github.com/pydantic/pydantic/issues/10939">#10939</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/e0fc82fc8bc695559c5e0155adba50802f612002"><code>e0fc82f</code></a> Bump <code>pydantic-core</code> version to v2.27.1 (<a href="https://redirect.github.com/pydantic/pydantic/issues/10938">#10938</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/30b31da7b46b83eb363f211466b9e7bf937cf68f"><code>30b31da</code></a> Fix JSON schema title when specified as <code>''</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/10936">#10936</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/45bd7a7fcce73969f51e42c8967cfe392f4b44bb"><code>45bd7a7</code></a> Fix URL equality with different validation methods (<a href="https://redirect.github.com/pydantic/pydantic/issues/10934">#10934</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/61530547e3b912b7d711c9f6aa9da5733bf17ac0"><code>6153054</code></a> Fix url constraint application (<a href="https://redirect.github.com/pydantic/pydantic/issues/10922">#10922</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/71168ba54dcdca452b048b3e2759f7bcca66079e"><code>71168ba</code></a> Use the <code>globals</code> of the function when evaluating the return type of serializ...</li> <li><a href="https://github.com/pydantic/pydantic/commit/4def331d9b91751063593e037c3ea0f2c3e3ba19"><code>4def331</code></a> Use the parent configuration during schema generation for stdlib dataclasses ...</li> <li><a href="https://github.com/pydantic/pydantic/commit/a2acc52b4e1e4a56281ebec51f0c36bc2850adb3"><code>a2acc52</code></a> Fix type checking issue with <code>model_fields</code> and <code>model_computed_fields</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/10911">#10911</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.8.0...v2.10.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>
- Loading branch information