dependabot[bot] opened a new pull request, #1137: URL: https://github.com/apache/iceberg-python/pull/1137
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.8.2 to 2.9.0. <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.0 (2024-09-05)</h2> <p>The code released in v2.9.0 is practically identical to that of v2.9.0b2.</p> <p>Check out our <a href="https://pydantic.dev/articles/pydantic-v2-9-release">blog post</a> to learn more about the release highlights!</p> <h2>What's Changed</h2> <h3>Packaging</h3> <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> <h3>New Features</h3> <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> <h3>Changes</h3> <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> <h3>Performance</h3> <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> <li>Performance boost: skip caching parent namespaces in most cases by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10113">#10113</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.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/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><a href="https://github.com/pydantic/pydantic/commit/91a4993283ec1f0f056629a4cadec378931efa84"><code>91a4993</code></a> Add link for complex docs (<a href="https://redirect.github.com/pydantic/pydantic/issues/10301">#10301</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/8a01cc8f96ea3ca4f46b4ae3cbf36084081383ac"><code>8a01cc8</code></a> Respect <code>schema_generator</code> config value in <code>TypeAdapter</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/10300">#10300</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/5c24abb3948008f62a545c59752fae97f111de76"><code>5c24abb</code></a> Ensure <code>__pydantic_complete__</code> is set when rebuilding dataclasses (<a href="https://redirect.github.com/pydantic/pydantic/issues/10291">#10291</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/0a78494236e3c121febe58cb556407c273f430de"><code>0a78494</code></a> Try fix for <code>coverage</code> with hidden files (<a href="https://redirect.github.com/pydantic/pydantic/issues/10298">#10298</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/d7e812571b2a947b0dfba71a08d9d2c7a57e7f31"><code>d7e8125</code></a> Ensure coverage data artifact is correctly uploaded (<a href="https://redirect.github.com/pydantic/pydantic/issues/10292">#10292</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/c109563de80843d97b86c2fe6c5cb853d8ff963e"><code>c109563</code></a> Support signature for wrap validators without <code>info</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/10277">#10277</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/0115f7b5bd4b3f471079b9a07ebcae19ec241512"><code>0115f7b</code></a> Reformat + add some benchmarks for annotated validators (<a href="https://redirect.github.com/pydantic/pydantic/issues/10276">#10276</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.8.2...v2.9.0">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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org