dependabot[bot] opened a new pull request, #638: URL: https://github.com/apache/iceberg-python/pull/638
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.6.1 to 2.7.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> <h1>v2.7.0 (2024-04-11)</h1> <p>The code released in v2.7.0 is practically identical to that of v2.7.0b1.</p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Reorganize <code>pyproject.toml</code> sections by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8899">#8899</a></li> <li>Bump <code>pydantic-core</code> to <code>v2.18.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/9211">#9211</a></li> <li>Adopt <code>jiter</code> <code>v0.2.0</code> by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1250">pydantic/pydantic-core#1250</a></li> </ul> <h4>New Features</h4> <ul> <li>Extract attribute docstrings from <code>FieldInfo.description</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6563">#6563</a></li> <li>Add a <code>with_config</code> decorator to comply with typing spec by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8611">#8611</a></li> <li>Allow an optional separator splitting the value and unit of the result of <code>ByteSize.human_readable</code> by <a href="https://github.com/jks15satoshi"><code>@jks15satoshi</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8706">#8706</a></li> <li>Add generic <code>Secret</code> base type by <a href="https://github.com/conradogarciaberrotaran"><code>@conradogarciaberrotaran</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8519">#8519</a></li> <li>Make use of <code>Sphinx</code> inventories for cross references in docs by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8682">#8682</a></li> <li>Add environment variable to disable plugins by <a href="https://github.com/geospackle"><code>@geospackle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8767">#8767</a></li> <li>Add support for <code>deprecated</code> fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8237">#8237</a></li> <li>Allow <code>field_serializer('*')</code> by <a href="https://github.com/ornariece"><code>@ornariece</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9001">#9001</a></li> <li>Handle a case when <code>model_config</code> is defined as a model property by <a href="https://github.com/alexeyt101"><code>@alexeyt101</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9004">#9004</a></li> <li>Update <code>create_model()</code> to support <code>typing.Annotated</code> as input by <a href="https://github.com/wannieman98"><code>@wannieman98</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8947">#8947</a></li> <li>Add <code>ClickhouseDsn</code> support by <a href="https://github.com/solidguy7"><code>@solidguy7</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9062">#9062</a></li> <li>Add support for <code>re.Pattern[str]</code> to <code>pattern</code> field by <a href="https://github.com/jag-k"><code>@jag-k</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9053">#9053</a></li> <li>Support for <code>serialize_as_any</code> runtime setting by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8830">#8830</a></li> <li>Add support for <code>typing.Self</code> by <a href="https://github.com/Youssefares"><code>@Youssefares</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9023">#9023</a></li> <li>Ability to pass <code>context</code> to serialization by <a href="https://github.com/ornariece"><code>@ornariece</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8965">#8965</a></li> <li>Add feedback widget to docs with flarelytics integration by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9129">#9129</a></li> <li>Support for parsing partial JSON strings in Python by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/jiter/pull/66">pydantic/jiter#66</a></li> </ul> <p><strong>Finalized in v2.7.0, rather than v2.7.0b1:</strong></p> <ul> <li>Add support for field level number to str coercion option by <a href="https://github.com/NeevCohen"><code>@NeevCohen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9137">#9137</a></li> <li>Update <code>warnings</code> parameter for serialization utilities to allow raising a warning by <a href="https://github.com/Lance-Drane"><code>@Lance-Drane</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9166">#9166</a></li> </ul> <h4>Changes</h4> <ul> <li>Correct docs, logic for <code>model_construct</code> behavior with <code>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/8807">#8807</a></li> <li>Improve error message for improper <code>RootModel</code> subclasses by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8857">#8857</a></li> <li>Use <code>PEP570</code> syntax by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8940">#8940</a></li> <li>Add <code>enum</code> and <code>type</code> to the JSON schema for single item literals by <a href="https://github.com/dmontagu"><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8944">#8944</a></li> <li>Deprecate <code>update_json_schema</code> internal function by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9125">#9125</a></li> <li>Serialize duration to hour minute second, instead of just seconds by <a href="https://github.com/kakilangit"><code>@kakilangit</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/50">pydantic/speedate#50</a></li> <li>Trimming str before parsing to int and float by <a href="https://github.com/hungtsetse"><code>@hungtsetse</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1203">pydantic/pydantic-core#1203</a></li> </ul> <h4>Performance</h4> <ul> <li><code>enum</code> validator improvements by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9045">#9045</a></li> <li>Move <code>enum</code> validation and serialization to Rust by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9064">#9064</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.7.0 (2024-04-11)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.7.0">GitHub release</a></p> <p>The code released in v2.7.0 is practically identical to that of v2.7.0b1.</p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Reorganize <code>pyproject.toml</code> sections by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8899">#8899</a></li> <li>Bump <code>pydantic-core</code> to <code>v2.18.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/9211">#9211</a></li> <li>Adopt <code>jiter</code> <code>v0.2.0</code> by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1250">pydantic/pydantic-core#1250</a></li> </ul> <h4>New Features</h4> <ul> <li>Extract attribute docstrings from <code>FieldInfo.description</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6563">#6563</a></li> <li>Add a <code>with_config</code> decorator to comply with typing spec by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8611">#8611</a></li> <li>Allow an optional separator splitting the value and unit of the result of <code>ByteSize.human_readable</code> by <a href="https://github.com/jks15satoshi"><code>@jks15satoshi</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8706">#8706</a></li> <li>Add generic <code>Secret</code> base type by <a href="https://github.com/conradogarciaberrotaran"><code>@conradogarciaberrotaran</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8519">#8519</a></li> <li>Make use of <code>Sphinx</code> inventories for cross references in docs by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8682">#8682</a></li> <li>Add environment variable to disable plugins by <a href="https://github.com/geospackle"><code>@geospackle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8767">#8767</a></li> <li>Add support for <code>deprecated</code> fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8237">#8237</a></li> <li>Allow <code>field_serializer('*')</code> by <a href="https://github.com/ornariece"><code>@ornariece</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9001">#9001</a></li> <li>Handle a case when <code>model_config</code> is defined as a model property by <a href="https://github.com/alexeyt101"><code>@alexeyt101</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9004">#9004</a></li> <li>Update <code>create_model()</code> to support <code>typing.Annotated</code> as input by <a href="https://github.com/wannieman98"><code>@wannieman98</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8947">#8947</a></li> <li>Add <code>ClickhouseDsn</code> support by <a href="https://github.com/solidguy7"><code>@solidguy7</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9062">#9062</a></li> <li>Add support for <code>re.Pattern[str]</code> to <code>pattern</code> field by <a href="https://github.com/jag-k"><code>@jag-k</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9053">#9053</a></li> <li>Support for <code>serialize_as_any</code> runtime setting by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8830">#8830</a></li> <li>Add support for <code>typing.Self</code> by <a href="https://github.com/Youssefares"><code>@Youssefares</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9023">#9023</a></li> <li>Ability to pass <code>context</code> to serialization by <a href="https://github.com/ornariece"><code>@ornariece</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8965">#8965</a></li> <li>Add feedback widget to docs with flarelytics integration by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9129">#9129</a></li> <li>Support for parsing partial JSON strings in Python by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/jiter/pull/66">pydantic/jiter#66</a></li> </ul> <p><strong>Finalized in v2.7.0, rather than v2.7.0b1:</strong></p> <ul> <li>Add support for field level number to str coercion option by <a href="https://github.com/NeevCohen"><code>@NeevCohen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9137">#9137</a></li> <li>Update <code>warnings</code> parameter for serialization utilities to allow raising a warning by <a href="https://github.com/Lance-Drane"><code>@Lance-Drane</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9166">#9166</a></li> </ul> <h4>Changes</h4> <ul> <li>Correct docs, logic for <code>model_construct</code> behavior with <code>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/8807">#8807</a></li> <li>Improve error message for improper <code>RootModel</code> subclasses by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8857">#8857</a></li> <li>Use <code>PEP570</code> syntax by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8940">#8940</a></li> <li>Add <code>enum</code> and <code>type</code> to the JSON schema for single item literals by <a href="https://github.com/dmontagu"><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8944">#8944</a></li> <li>Deprecate <code>update_json_schema</code> internal function by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9125">#9125</a></li> <li>Serialize duration to hour minute second, instead of just seconds by <a href="https://github.com/kakilangit"><code>@kakilangit</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/50">pydantic/speedate#50</a></li> <li>Trimming str before parsing to int and float by <a href="https://github.com/hungtsetse"><code>@hungtsetse</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1203">pydantic/pydantic-core#1203</a></li> </ul> <h4>Performance</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/7af856a1098406aea84bcadfd0f3de6b7901526c"><code>7af856a</code></a> Prep for 2.7 Release (<a href="https://redirect.github.com/pydantic/pydantic/issues/9212">#9212</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/60d77f02e7bf2887ee3f8251353becd8f4f40015"><code>60d77f0</code></a> Update <code>warnings</code> parameter for serialization utilities to allow raising a wa...</li> <li><a href="https://github.com/pydantic/pydantic/commit/99821e9532f548f5e602240ff782aed8aaf6dd67"><code>99821e9</code></a> Add support for field level number to str coercion option (<a href="https://redirect.github.com/pydantic/pydantic/issues/9137">#9137</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/a01b9029e3eac969c35951ee0f69f42c065fdba5"><code>a01b902</code></a> Updating JSON docs, adding <code>cache_strings</code> to <code>ConfigDict</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/9178">#9178</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/932b025f892c5bbfa0a5da0d671179da7f93666e"><code>932b025</code></a> Bump core to 2.18.1 (<a href="https://redirect.github.com/pydantic/pydantic/issues/9211">#9211</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/a7d32534779a1fd2ea5d10cbb0eed6db5584149e"><code>a7d3253</code></a> Fix allow extra generic (<a href="https://redirect.github.com/pydantic/pydantic/issues/9193">#9193</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/8aeac1a4c61b084ebecf61b38bb8d3e80884dc33"><code>8aeac1a</code></a> Update mkdocs_material (<a href="https://redirect.github.com/pydantic/pydantic/issues/9169">#9169</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/75012318fbb65036fbb38c2d04869f38ca4e15d6"><code>7501231</code></a> Add 1.10.15 section to HISTORY.md (<a href="https://redirect.github.com/pydantic/pydantic/issues/9161">#9161</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/d294244e2d7d8d395de503203d8924f937bb4f4d"><code>d294244</code></a> Prep for 2.7 beta release 🚀 (<a href="https://redirect.github.com/pydantic/pydantic/issues/9158">#9158</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/d77a9403603cfc125b9ff14ea9a45ae15f86b6ed"><code>d77a940</code></a> Uprev <code>pydantic-core</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/9153">#9153</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.6.1...v2.7.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