dependabot[bot] opened a new pull request, #7959: URL: https://github.com/apache/iceberg/pull/7959
Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.9 to 2.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.0 2023-06-30</h2> <h2>What's Changed</h2> <ul> <li>📝 Don't recomend to use <code>TypeError</code> on validators by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6179">pydantic/pydantic#6179</a></li> <li>📝 Add docs about custom error messages by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6182">pydantic/pydantic#6182</a></li> <li>Change allow mutation wording by <a href="https://github.com/mark-todd"><code>@mark-todd</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6184">pydantic/pydantic#6184</a></li> <li>📝 Improve fields documentation by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6183">pydantic/pydantic#6183</a></li> <li>Ignore deprecated methods of <code>pydantic.main</code> in pydocstyle check by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6185">pydantic/pydantic#6185</a></li> <li>Another solution to custom getattr/delattr by <a href="https://github.com/dmontagu"><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6165">pydantic/pydantic#6165</a></li> <li>🐛 Fix <code>RootModel</code> default values by <a href="https://github.com/lig"><code>@lig</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/5949">pydantic/pydantic#5949</a></li> <li>Improve conversion_table by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6186">pydantic/pydantic#6186</a></li> <li>Uncomment <code>from_orm</code> <code>deprecated</code> decorator by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6189">pydantic/pydantic#6189</a></li> <li>Complete <code>pydantic/root_model.py</code> docstring by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6193">pydantic/pydantic#6193</a></li> <li>Complete <code>pydantic/functional_validators.py</code> docstrings by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6191">pydantic/pydantic#6191</a></li> <li>Fix access of 'required' key for TypedDictField in GenerateJsonSchema by <a href="https://github.com/adriangb"><code>@adriangb</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6200">pydantic/pydantic#6200</a></li> <li>💚 Use the same conditions on <code>send_tweet</code> as <code>release</code> by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6170">pydantic/pydantic#6170</a></li> <li>📝 Add migration reference to the "Import Error" section by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6208">pydantic/pydantic#6208</a></li> <li>Improve <code>pydantic/mypy.py</code> docstring by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6207">pydantic/pydantic#6207</a></li> <li>📝 Update documentation about "Number Types" by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6211">pydantic/pydantic#6211</a></li> <li>Don't sort model keys by <a href="https://github.com/adriangb"><code>@adriangb</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6212">pydantic/pydantic#6212</a></li> <li>Add documentation for strict mode by <a href="https://github.com/tpdorsey"><code>@tpdorsey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6196">pydantic/pydantic#6196</a></li> <li>Add documentation for strict types by <a href="https://github.com/tpdorsey"><code>@tpdorsey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6218">pydantic/pydantic#6218</a></li> <li>Update serialization decorator documentation by <a href="https://github.com/tpdorsey"><code>@tpdorsey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6216">pydantic/pydantic#6216</a></li> <li>Update list and set docs by <a href="https://github.com/dmontagu"><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6142">pydantic/pydantic#6142</a></li> <li>Update docs for sequence_iterable by <a href="https://github.com/dmontagu"><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6220">pydantic/pydantic#6220</a></li> <li>👷 Add Integration CI workflow for <code>pydantic-settings</code> by <a href="https://github.com/lig"><code>@lig</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6221">pydantic/pydantic#6221</a></li> <li>⬆ Upgrade to pydantic-core 0.41.0 by <a href="https://github.com/lig"><code>@lig</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6219">pydantic/pydantic#6219</a></li> <li>Document Strict on Annotated fields by <a href="https://github.com/tpdorsey"><code>@tpdorsey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6223">pydantic/pydantic#6223</a></li> <li>🐛 Fix crash on serializing a union of RootModel and BaseModel by <a href="https://github.com/lig"><code>@lig</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6201">pydantic/pydantic#6201</a></li> <li>Run docstring tests by <a href="https://github.com/dmontagu"><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6175">pydantic/pydantic#6175</a></li> <li>Add documentation for PlainSerializer and WrapSerializer by <a href="https://github.com/tpdorsey"><code>@tpdorsey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6230">pydantic/pydantic#6230</a></li> <li>Improve mypy documentation by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6226">pydantic/pydantic#6226</a></li> <li>🚸 Improve error message when BaseSettings is imported by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6229">pydantic/pydantic#6229</a></li> <li>correct deprecation warning for parse_file by <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6228">pydantic/pydantic#6228</a></li> <li>Update migration docs to include a note about <code>parse_env_var</code> removal by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6235">pydantic/pydantic#6235</a></li> <li>Add warning about datamodel-code-generator to docs by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6236">pydantic/pydantic#6236</a></li> <li>PYD-124: improve docs for <code>__get_pydantic_core_schema__</code> by <a href="https://github.com/adriangb"><code>@adriangb</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6224">pydantic/pydantic#6224</a></li> <li>Minor edits from review of Enum docs by <a href="https://github.com/tpdorsey"><code>@tpdorsey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6238">pydantic/pydantic#6238</a></li> <li>Update and consolidate links in number types by <a href="https://github.com/tpdorsey"><code>@tpdorsey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6239">pydantic/pydantic#6239</a></li> <li>Update V2 vs V1 section in README.md by <a href="https://github.com/adriangb"><code>@adriangb</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6242">pydantic/pydantic#6242</a></li> <li>Add type key to enums by <a href="https://github.com/adriangb"><code>@adriangb</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6243">pydantic/pydantic#6243</a></li> <li>🐛 Restrict range on Python version for <code>_make_forward_ref</code> by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6246">pydantic/pydantic#6246</a></li> <li>💚 Add timeout on <code>publish_docs</code> job by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6247">pydantic/pydantic#6247</a></li> <li>👷 Enable FastAPI tests by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6249">pydantic/pydantic#6249</a></li> <li>docs: use _pydantic_core.pyi as only docs source for now by <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6257">pydantic/pydantic#6257</a></li> <li>Reorder basemodel methods by <a href="https://github.com/dmontagu"><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6260">pydantic/pydantic#6260</a></li> <li>Improve file type docs by <a href="https://github.com/hramezani"><code>@hramezani</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6252">pydantic/pydantic#6252</a></li> <li>🔧 Add <code>assignees</code> list to the hooky config by <a href="https://github.com/lig"><code>@lig</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6264">pydantic/pydantic#6264</a></li> <li>Document "wrap" validators by <a href="https://github.com/tpdorsey"><code>@tpdorsey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6258">pydantic/pydantic#6258</a></li> <li>Update validate_call documentation by <a href="https://github.com/tpdorsey"><code>@tpdorsey</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6255">pydantic/pydantic#6255</a></li> <li>📝 Update docs about hypothesis by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6266">pydantic/pydantic#6266</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.0 (2023-06-30)</h2> <p>Pydantic V2 is here! :tada:</p> <p>See <a href="https://docs.pydantic.dev/2.0/blog/pydantic-v2-final/">this post</a> for more details.</p> <p>See the full changelog <a href="https://github.com/pydantic/pydantic/releases/tag/v2.0">here</a></p> <h2>v2.0b3 (2023-06-16)</h2> <p>Third beta pre-release of Pydantic V2</p> <p>See the full changelog <a href="https://github.com/pydantic/pydantic/releases/tag/v2.0b3">here</a></p> <h2>v2.0b2 (2023-06-03)</h2> <p>Add <code>from_attributes</code> runtime flag to <code>TypeAdapter.validate_python</code> and <code>BaseModel.model_validate</code>.</p> <p>See the full changelog <a href="https://github.com/pydantic/pydantic/releases/tag/v2.0b2">here</a></p> <h2>v2.0b1 (2023-06-01)</h2> <p>First beta pre-release of Pydantic V2</p> <p>See the full changelog <a href="https://github.com/pydantic/pydantic/releases/tag/v2.0b1">here</a></p> <h2>v2.0a4 (2023-05-05)</h2> <p>Fourth pre-release of Pydantic V2</p> <p>See the full changelog <a href="https://github.com/pydantic/pydantic/releases/tag/v2.0a4">here</a></p> <h2>v2.0a3 (2023-04-20)</h2> <p>Third pre-release of Pydantic V2</p> <p>See the full changelog <a href="https://github.com/pydantic/pydantic/releases/tag/v2.0a3">here</a></p> <h2>v2.0a2 (2023-04-12)</h2> <p>Second pre-release of Pydantic V2</p> <p>See the full changelog <a href="https://github.com/pydantic/pydantic/releases/tag/v2.0a2">here</a></p> <h2>v2.0a1 (2023-04-03)</h2> <p>First pre-release of Pydantic V2!</p> <p>See <a href="https://docs.pydantic.dev/blog/pydantic-v2-alpha/">this post</a> for more details.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/aeb8fd0255bf034212e808b92893283adc9f8d3a"><code>aeb8fd0</code></a> fix publish_docs</li> <li><a href="https://github.com/pydantic/pydantic/commit/492db2a4e04accef6d9c11795a9b41d7857c4177"><code>492db2a</code></a> Use exclude in pyproject.toml with black (<a href="https://redirect.github.com/pydantic/pydantic/issues/6316">#6316</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/aee69860a707198d02d48ae28d2ff6188e535efe"><code>aee6986</code></a> Prepare for release (<a href="https://redirect.github.com/pydantic/pydantic/issues/6319">#6319</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/08c473ad2411722b4828f0f190fa9d141aa83c76"><code>08c473a</code></a> Index improvements (<a href="https://redirect.github.com/pydantic/pydantic/issues/6314">#6314</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/89032e12129a87803a9d18e23af46a29e2ca591e"><code>89032e1</code></a> Remove warning on top of <code>docs/usage/types/callables.md</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/6318">#6318</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/c143ecd1af424b9b70e1deba46438a2794cb018d"><code>c143ecd</code></a> PYD-131 Links between API and usage docs (<a href="https://redirect.github.com/pydantic/pydantic/issues/6307">#6307</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/119b9f51034e492b895db800e0ea889e7d3694e6"><code>119b9f5</code></a> Update mypy plugin (<a href="https://redirect.github.com/pydantic/pydantic/issues/6306">#6306</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/b1f689ebec7e95594e0471fa7bc89264a3986f79"><code>b1f689e</code></a> pydantic-core 2.0.1 (<a href="https://redirect.github.com/pydantic/pydantic/issues/6310">#6310</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/f2b866f7f89fe333d66975ca6750c5d916e1876a"><code>f2b866f</code></a> 📝 Add note about page not up-to-date (<a href="https://redirect.github.com/pydantic/pydantic/issues/6312">#6312</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/0bc0e87545d0bd33f93a9c28ed7a62c28a77374c"><code>0bc0e87</code></a> adding page about version compatibility (<a href="https://redirect.github.com/pydantic/pydantic/issues/6309">#6309</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v1.10.9...v2.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 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
