dependabot[bot] opened a new pull request, #141: URL: https://github.com/apache/iceberg-python/pull/141
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.4.2 to 2.5.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.5.0 2023-11-13</h2> <h2>v2.5.0 (2023-11-13)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.5.0";>GitHub release</a></p> <p>The code released in v2.5.0 is functionally identical to that of v2.5.0b1.</p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Update pydantic-core from 2.10.1 to 2.14.1, significant changes from these updates are described below, full changelog <a href="https://github.com/pydantic/pydantic-core/compare/v2.10.1...v2.14.1";>here</a></li> <li>Update to <code>pyright==1.1.335</code> by <a href="https://github.com/Viicos";><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8075";>#8075</a></li> </ul> <h4>New Features</h4> <ul> <li>Allow plugins to catch non <code>ValidationError</code> errors by <a href="https://github.com/adriangb";><code>@adriangb</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7806";>#7806</a></li> <li>Support <code>__doc__</code> argument in <code>create_model()</code> by <a href="https://github.com/chris-spann";><code>@chris-spann</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7863";>#7863</a></li> <li>Expose <code>regex_engine</code> flag - meaning you can use with the Rust or Python regex libraries in constraints by <a href="https://github.com/utkini";><code>@utkini</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7768";>#7768</a></li> <li>Save return type generated from type annotation in <code>ComputedFieldInfo</code> by <a href="https://github.com/alexmojaki";><code>@alexmojaki</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7889";>#7889</a></li> <li>Adopting <code>ruff</code> formatter by <a href="https://github.com/Luca-Blight";><code>@Luca-Blight</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7930";>#7930</a></li> <li>Added <code>validation_error_cause</code> to config by <a href="https://github.com/zakstucke";><code>@zakstucke</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7626";>#7626</a></li> <li>Make path of the item to validate available in plugin by <a href="https://github.com/hramezani";><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7861";>#7861</a></li> <li>Add <code>CallableDiscriminator</code> and <code>Tag</code> by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7983";>#7983</a></li> <li>Make union case tags affect union error messages by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8001";>#8001</a></li> <li>Add <code>examples</code> and <code>json_schema_extra</code> to <code>@computed_field</code> by <a href="https://github.com/alexmojaki";><code>@alexmojaki</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8013";>#8013</a></li> <li>Add <code>JsonValue</code> type by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7998";>#7998</a></li> <li>Allow <code>str</code> as argument to <code>Discriminator</code> by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8047";>#8047</a></li> <li>Add <code>SchemaSerializer.__reduce__</code> method to enable pickle serialization by <a href="https://github.com/edoakes";><code>@edoakes</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1006";>pydantic/pydantic-core#1006</a></li> </ul> <h4>Changes</h4> <ul> <li><strong>Significant Change:</strong> replace <code>ultra_strict</code> with new smart union implementation, the way unions are validated has changed significantly to improve performance and correctness, we have worked hard to absolutely minimise the number of cases where behaviour has changed, see the PR for details - by <a href="https://github.com/davidhewitt";><code>@davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/867";>pydantic/pydantic-core#867</a></li> <li>Add support for instance method reassignment when <code>extra='allow'</code> by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7683";>#7683</a></li> <li>Support JSON schema generation for <code>Enum</code> types with no cases by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7927";>#7927</a></li> <li>Warn if a class inherits from <code>Generic</code> before <code>BaseModel</code> by <a href="https://github.com/alexmojaki";><code>@alexmojaki</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7891";>#7891</a></li> </ul> <h4>Performance</h4> <ul> <li>New custom JSON parser, <code>jiter</code> by <a href="https://github.com/samuelcolvin";><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/974";>pydantic/pydantic-core#974</a></li> <li>PGO build for MacOS M1 by <a href="https://github.com/samuelcolvin";><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1063";>pydantic/pydantic-core#1063</a></li> <li>Use <code>__getattr__</code> for all package imports, improve import time by <a href="https://github.com/samuelcolvin";><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7947";>#7947</a></li> </ul> <h4>Fixes</h4> <ul> <li>Fix <code>mypy</code> issue with subclasses of <code>RootModel</code> by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7677";>#7677</a></li> <li>Properly rebuild the <code>FieldInfo</code> when a forward ref gets evaluated by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7698";>#7698</a></li> <li>Fix failure to load <code>SecretStr</code> from JSON (regression in v2.4) by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7729";>#7729</a></li> <li>Fix <code>defer_build</code> behavior with <code>TypeAdapter</code> by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7736";>#7736</a></li> <li>Improve compatibility with legacy <code>mypy</code> versions by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7742";>#7742</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.5.0 (2023-11-13)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.5.0";>GitHub release</a></p> <p>The code released in v2.5.0 is functionally identical to that of v2.5.0b1.</p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Update pydantic-core from 2.10.1 to 2.14.1, significant changes from these updates are described below, full changelog <a href="https://github.com/pydantic/pydantic-core/compare/v2.10.1...v2.14.1";>here</a></li> <li>Update to <code>pyright==1.1.335</code> by <a href="https://github.com/Viicos";><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8075";>#8075</a></li> </ul> <h4>New Features</h4> <ul> <li>Allow plugins to catch non <code>ValidationError</code> errors by <a href="https://github.com/adriangb";><code>@adriangb</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7806";>#7806</a></li> <li>Support <code>__doc__</code> argument in <code>create_model()</code> by <a href="https://github.com/chris-spann";><code>@chris-spann</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7863";>#7863</a></li> <li>Expose <code>regex_engine</code> flag - meaning you can use with the Rust or Python regex libraries in constraints by <a href="https://github.com/utkini";><code>@utkini</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7768";>#7768</a></li> <li>Save return type generated from type annotation in <code>ComputedFieldInfo</code> by <a href="https://github.com/alexmojaki";><code>@alexmojaki</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7889";>#7889</a></li> <li>Adopting <code>ruff</code> formatter by <a href="https://github.com/Luca-Blight";><code>@Luca-Blight</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7930";>#7930</a></li> <li>Added <code>validation_error_cause</code> to config by <a href="https://github.com/zakstucke";><code>@zakstucke</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7626";>#7626</a></li> <li>Make path of the item to validate available in plugin by <a href="https://github.com/hramezani";><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7861";>#7861</a></li> <li>Add <code>CallableDiscriminator</code> and <code>Tag</code> by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7983";>#7983</a></li> <li>Make union case tags affect union error messages by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8001";>#8001</a></li> <li>Add <code>examples</code> and <code>json_schema_extra</code> to <code>@computed_field</code> by <a href="https://github.com/alexmojaki";><code>@alexmojaki</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8013";>#8013</a></li> <li>Add <code>JsonValue</code> type by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7998";>#7998</a></li> <li>Allow <code>str</code> as argument to <code>Discriminator</code> by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8047";>#8047</a></li> <li>Add <code>SchemaSerializer.__reduce__</code> method to enable pickle serialization by <a href="https://github.com/edoakes";><code>@edoakes</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1006";>pydantic/pydantic-core#1006</a></li> </ul> <h4>Changes</h4> <ul> <li><strong>Significant Change:</strong> replace <code>ultra_strict</code> with new smart union implementation, the way unions are validated has changed significantly to improve performance and correctness, we have worked hard to absolutely minimise the number of cases where behaviour has changed, see the PR for details - by <a href="https://github.com/davidhewitt";><code>@davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/867";>pydantic/pydantic-core#867</a></li> <li>Add support for instance method reassignment when <code>extra='allow'</code> by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7683";>#7683</a></li> <li>Support JSON schema generation for <code>Enum</code> types with no cases by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7927";>#7927</a></li> <li>Warn if a class inherits from <code>Generic</code> before <code>BaseModel</code> by <a href="https://github.com/alexmojaki";><code>@alexmojaki</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7891";>#7891</a></li> </ul> <h4>Performance</h4> <ul> <li>New custom JSON parser, <code>jiter</code> by <a href="https://github.com/samuelcolvin";><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/974";>pydantic/pydantic-core#974</a></li> <li>PGO build for MacOS M1 by <a href="https://github.com/samuelcolvin";><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1063";>pydantic/pydantic-core#1063</a></li> <li>Use <code>__getattr__</code> for all package imports, improve import time by <a href="https://github.com/samuelcolvin";><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7947";>#7947</a></li> </ul> <h4>Fixes</h4> <ul> <li>Fix <code>mypy</code> issue with subclasses of <code>RootModel</code> by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7677";>#7677</a></li> <li>Properly rebuild the <code>FieldInfo</code> when a forward ref gets evaluated by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7698";>#7698</a></li> <li>Fix failure to load <code>SecretStr</code> from JSON (regression in v2.4) by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7729";>#7729</a></li> <li>Fix <code>defer_build</code> behavior with <code>TypeAdapter</code> by <a href="https://github.com/sydney-runkle";><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7736";>#7736</a></li> <li>Improve compatibility with legacy <code>mypy</code> versions by <a href="https://github.com/dmontagu";><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7742";>#7742</a></li> <li>Fix: update <code>TypeVar</code> handling when default is not set by <a href="https://github.com/pmmmwh";><code>@pmmmwh</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/7719";>#7719</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/d465ec5542a611ffefab45736859f37b0b251eb8";><code>d465ec5</code></a> <code>v2.5.0</code> release (<a href="https://redirect.github.com/pydantic/pydantic/issues/8091";>#8091</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/b514c43e039afd62e748c3e1e225bc5eb74a4a15";><code>b514c43</code></a> Add note to docs explaining the use of <code>"validation"</code> vs <code>"parse"</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/8080";>#8080</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/e63715653272f5f62e5b91e6ae7ce74793e2649f";><code>e637156</code></a> Cross link API docs and concepts docs more throughly (<a href="https://redirect.github.com/pydantic/pydantic/issues/8082";>#8082</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/951bc15df3ea33f5ecbc6fae13fdba4f6d5fb447";><code>951bc15</code></a> Simplify <code>ConfigWrapperStack.push</code> context manager (<a href="https://redirect.github.com/pydantic/pydantic/issues/8018";>#8018</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/2358e63fef5cbafd4e55317c00f3f6144387751b";><code>2358e63</code></a> Update to <code>pyright==1.1.335</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/8075";>#8075</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/ab843afba0e5353b9a58d1cf3cb977a292c8c594";><code>ab843af</code></a> Add deprecation warning + make <code>mkdocs build</code> strict (<a href="https://redirect.github.com/pydantic/pydantic/issues/8077";>#8077</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/9eec4d64d8883950b993a46d5296af5b916a43cb";><code>9eec4d6</code></a> Add concepts page on JSON (<a href="https://redirect.github.com/pydantic/pydantic/issues/8060";>#8060</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/41f1dc341a678549adfa6434102a219c0bf5362e";><code>41f1dc3</code></a> Update union documentation for reimplemented "smart" mode (<a href="https://redirect.github.com/pydantic/pydantic/issues/8070";>#8070</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/82b0a11fdde2af468307c55726a92d95b474ac42";><code>82b0a11</code></a> WIP: prep for <code>2.5.0b1</code> release (<a href="https://redirect.github.com/pydantic/pydantic/issues/8063";>#8063</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/b520f2eb21e531ae53f8c14980979c364e7c0026";><code>b520f2e</code></a> bump pydantic-core to 2.14.1 (<a href="https://redirect.github.com/pydantic/pydantic/issues/8069";>#8069</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.4.2...v2.5.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