dependabot[bot] opened a new pull request, #17880: URL: https://github.com/apache/iceberg/pull/17880
Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.73.0 to 0.74.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/koxudaxi/datamodel-code-generator/releases">datamodel-code-generator's releases</a>.</em></p> <blockquote> <h2>0.74.0</h2> <h2>Breaking Changes</h2> <h3>Code Generation Changes</h3> <ul> <li>Non-finite float values now render as structural <code>float(...)</code> expressions - Generated code for non-finite floats (<code>inf</code>, <code>-inf</code>, <code>nan</code>) from Protocol Buffers, XML Schema, and AsyncAPI-embedded schemas — as field defaults, constraint bounds, list items, and enum values — now renders inline as <code>float('inf')</code>, <code>float('-inf')</code>, and <code>float('nan')</code> instead of emitting bare <code>inf</code>/<code>nan</code> literals with an injected <code>from math import inf, nan</code> header. Users relying on the previous output (e.g. snapshot/golden tests, or importing <code>inf</code>/<code>nan</code> from the generated module) will see different generated code (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3770">#3770</a>)</li> </ul> <pre lang="python"><code># Before from math import inf <p>class Model(BaseModel): value: float | None = inf</p> <h1>After</h1> <p>class Model(BaseModel): value: float | None = float('inf') </code></pre></p> <h2>What's Changed</h2> <ul> <li>Update CHANGELOG for 0.73.0 by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3767">koxudaxi/datamodel-code-generator#3767</a></li> <li>Update release benchmark data by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3768">koxudaxi/datamodel-code-generator#3768</a></li> <li>Deploy release benchmark data updates by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3771">koxudaxi/datamodel-code-generator#3771</a></li> <li>fix(parser): render non-finite values structurally by <a href="https://github.com/Aryan-Pardeshi"><code>@Aryan-Pardeshi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3770">koxudaxi/datamodel-code-generator#3770</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Aryan-Pardeshi"><code>@Aryan-Pardeshi</code></a> made their first contribution in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3770">koxudaxi/datamodel-code-generator#3770</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/koxudaxi/datamodel-code-generator/compare/0.73.0...0.74.0">https://github.com/koxudaxi/datamodel-code-generator/compare/0.73.0...0.74.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/koxudaxi/datamodel-code-generator/blob/main/CHANGELOG.md">datamodel-code-generator's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.74.0">0.74.0</a> - 2026-08-17</h2> <h2>Breaking Changes</h2> <h3>Code Generation Changes</h3> <ul> <li>Non-finite float values now render as structural <code>float(...)</code> expressions - Generated code for non-finite floats (<code>inf</code>, <code>-inf</code>, <code>nan</code>) from Protocol Buffers, XML Schema, and AsyncAPI-embedded schemas — as field defaults, constraint bounds, list items, and enum values — now renders inline as <code>float('inf')</code>, <code>float('-inf')</code>, and <code>float('nan')</code> instead of emitting bare <code>inf</code>/<code>nan</code> literals with an injected <code>from math import inf, nan</code> header. Users relying on the previous output (e.g. snapshot/golden tests, or importing <code>inf</code>/<code>nan</code> from the generated module) will see different generated code (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3770">#3770</a>)</li> </ul> <pre lang="python"><code># Before from math import inf <p>class Model(BaseModel): value: float | None = inf</p> <h1>After</h1> <p>class Model(BaseModel): value: float | None = float('inf') </code></pre></p> <h2>What's Changed</h2> <ul> <li>Update CHANGELOG for 0.73.0 by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3767">koxudaxi/datamodel-code-generator#3767</a></li> <li>Update release benchmark data by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3768">koxudaxi/datamodel-code-generator#3768</a></li> <li>Deploy release benchmark data updates by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3771">koxudaxi/datamodel-code-generator#3771</a></li> <li>fix(parser): render non-finite values structurally by <a href="https://github.com/Aryan-Pardeshi"><code>@Aryan-Pardeshi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3770">koxudaxi/datamodel-code-generator#3770</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Aryan-Pardeshi"><code>@Aryan-Pardeshi</code></a> made their first contribution in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3770">koxudaxi/datamodel-code-generator#3770</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/koxudaxi/datamodel-code-generator/compare/0.73.0...0.74.0">https://github.com/koxudaxi/datamodel-code-generator/compare/0.73.0...0.74.0</a></p> <hr /> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/5d313d72b001e4b830b581c5d2be6c2da6e00000"><code>5d313d7</code></a> fix(parser): render non-finite values structurally (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3770">#3770</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/ce971584459d392fb515fb1b15973344d6c0f9ab"><code>ce97158</code></a> Deploy release benchmark data updates (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3771">#3771</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/27f22669e72eccb7a45afa99d95cc71022fc860a"><code>27f2266</code></a> docs: update release benchmark data (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3768">#3768</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/75b132e3483e36fb2117e7c416622b7fc7f72d0b"><code>75b132e</code></a> docs: update CHANGELOG.md for 0.73.0 (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3767">#3767</a>)</li> <li>See full diff in <a href="https://github.com/koxudaxi/datamodel-code-generator/compare/0.73.0...0.74.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 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: [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]
