dependabot[bot] opened a new pull request, #824: URL: https://github.com/apache/iceberg-python/pull/824
Bumps [griffe](https://github.com/mkdocstrings/griffe) from 0.45.3 to 0.46.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/griffe/releases">griffe's releases</a>.</em></p> <blockquote> <h2>0.46.1</h2> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/0.46.1">0.46.1</a> - 2024-06-17</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/0.46.0...0.46.1">Compare with 0.46.0</a><!-- raw HTML omitted --></p> <p>WARNING: <strong>⚡ Imminent v1! ⚡🚀 See <a href="https://github.com/mkdocstrings/griffe/blob/HEAD/#0460-2024-06-16">v0.46</a>.</strong></p> <h3>Bug Fixes</h3> <ul> <li>Always consider special objects ("dunder" attributes/methods/etc.) to be public (<a href="https://github.com/mkdocstrings/griffe/commit/331941029decd9d400b30ea1471b6bcc384fd54f">3319410</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/294">Issue-294</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/issues/295">Issue-295</a></li> <li>Don't consider imported objects as public (<a href="https://github.com/mkdocstrings/griffe/commit/ea909526f3a637849364544daff74cd49ccaf428">ea90952</a> by Timothée Mazzucotelli). <a href="https://github.com/mkdocstrings/python/discussions/169">Discussion-169</a></li> </ul> <h2>0.46.0</h2> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/0.46.0">0.46.0</a> - 2024-06-16</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/0.45.3...0.46.0">Compare with 0.45.3</a><!-- raw HTML omitted --></p> <p>WARNING: <strong>⚡ Imminent v1! ⚡🚀</strong> We are working on v1, and it will come soon, so we recommend that you consider adding an upper bound on Griffe. Version 1 will remove all legacy code! There will be a couple more v0 before so that you get all the deprecation warnings needed to upgrade your code using Griffe before upgrading to v1. See breaking changes and deprecations for v0.46 below.</p> <h3>Breaking Changes</h3> <p>We are still in v0, so no major bump yet.</p> <ul> <li>Calling objects' [<code>has_labels()</code>][griffe.Object.has_labels] method with a <code>labels</code> keyword argument is not supported anymore. The parameter became a variadic positional parameter, so it cannot be used as a keyword argument anymore. Passing a sequence instead of multiple positional arguments still works but will emit a deprecation warning.</li> <li>Calling the [<code>load_extensions()</code>][griffe.load_extensions] function with an <code>exts</code> keyword argument is not supported anymore. The parameter became a variadic positional parameter, so it cannot be used as a keyword argument anymore. Passing a sequence instead of multiple positional arguments still works but will emit a deprecation warning.</li> </ul> <h3>Deprecations</h3> <ul> <li>As seen above in the breaking changes section, the only parameters of [<code>Object.has_labels()</code>][griffe.Object.has_labels] and [<code>load_extensions()</code>][griffe.load_extensions] both became variadic positional parameters. Passing a sequence as single argument is deprecated in favor of passing multiple arguments. This is an ergonomic change: I myself often forgot to wrap extensions in a list. Passing sequences of labels (lists, sets, tuples) is also difficult from Jinja templates.</li> <li>The following methods and properties on objects and aliases are deprecated: [<code>member_is_exported()</code>][griffe.Object.member_is_exported], [<code>is_explicitely_exported</code>][griffe.mixins.ObjectAliasMixin.is_explicitely_exported], [<code>is_implicitely_exported</code>][griffe.mixins.ObjectAliasMixin.is_implicitely_exported]. Use the [<code>is_exported</code>][griffe.mixins.ObjectAliasMixin.is_exported] property instead. See <a href="https://redirect.github.com/mkdocstrings/griffe/issues/281">issue 281</a>.</li> <li>The [<code>is_exported()</code>][griffe.mixins.ObjectAliasMixin.is_exported] and [<code>is_public()</code>][griffe.mixins.ObjectAliasMixin.is_public] methods became properties. They can still be called like methods, but will emit deprecation warnings when doing so. See <a href="https://redirect.github.com/mkdocstrings/griffe/issues/281">issue 281</a>.</li> <li>The <code>ignore_private</code> parameter of the [<code>find_breaking_changes()</code>][griffe.find_breaking_changes] function is now deprecated and unused. With the reworked "exported" and "public" API, this parameter became useless. See <a href="https://redirect.github.com/mkdocstrings/griffe/issues/281">issue 281</a>.</li> <li>Using <code>stats()</code> instead of [<code>Stats</code>][griffe.stats.Stats] will now emit a deprecation warning.</li> </ul> <h3>Features</h3> <ul> <li>Add <code>docstring</code> attribute to parameters (<a href="https://github.com/mkdocstrings/griffe/commit/e21eabe8c48e3650d04fec805804683cb743ce12">e21eabe</a> by Hassan Kibirige). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/286">Issue-286</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/252">Related-to-mkdocstrings/griffe#252</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/288">PR-288</a>, Co-authored-by: Timothée Mazzucotelli <a href="mailto:d...@pawamoy.fr">d...@pawamoy.fr</a></li> <li>Provide line numbers for classes and functions when inspecting (<a href="https://github.com/mkdocstrings/griffe/commit/b6ddcc4e6da42318961bb7cb7be59041a43c6451">b6ddcc4</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/272">Issue-272</a></li> <li>Populate lines collection within helpers (<a href="https://github.com/mkdocstrings/griffe/commit/ab2e9479c2b94dc7b6736e40024db87fb87b4e62">ab2e947</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/270">GitHub-issue-270</a>, <a href="https://app.radicle.xyz/nodes/seed.radicle.garden/rad:z23ZVuA1DWS99PDJ1rcarCtJi99x1/issues/0d6a51328f554f235c38a2a652b844c4ba21bba5">Radicle-issue-0d6a513</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Handle partials as functions while inspecting (<a href="https://github.com/mkdocstrings/griffe/commit/be29c3214680dc20c9c776d12a2a15ca690fa8d0">be29c32</a> by Timothée Mazzucotelli).</li> <li>Populate lines collection before visiting/inspecting modules within helpers (<a href="https://github.com/mkdocstrings/griffe/commit/08c3f409f3fc130f07b2d717cddff38d47d4dbca">08c3f40</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/272">Issue-272</a></li> <li>Don't return all lines when line numbers are missing (<a href="https://github.com/mkdocstrings/griffe/commit/9e6dcaa8f30132ebef59eb27b1f2f3ff7bc03bae">9e6dcaa</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/271">Issue-271</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>Emit deprecation warning when accessing <code>stats</code> instead of <code>Stats</code> (<a href="https://github.com/mkdocstrings/griffe/commit/e5572d2eb1dd8dbe8f9b43b33119bd9becc4a4d9">e5572d2</a> by Timothée Mazzucotelli).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/griffe/blob/main/CHANGELOG.md">griffe's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/0.46.1">0.46.1</a> - 2024-06-17</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/0.46.0...0.46.1">Compare with 0.46.0</a><!-- raw HTML omitted --></p> <p>WARNING: <strong>⚡ Imminent v1! ⚡🚀 See <a href="https://github.com/mkdocstrings/griffe/blob/main/#0460-2024-06-16">v0.46</a>.</strong></p> <h3>Bug Fixes</h3> <ul> <li>Always consider special objects ("dunder" attributes/methods/etc.) to be public (<a href="https://github.com/mkdocstrings/griffe/commit/331941029decd9d400b30ea1471b6bcc384fd54f">3319410</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/294">Issue-294</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/issues/295">Issue-295</a></li> <li>Don't consider imported objects as public (<a href="https://github.com/mkdocstrings/griffe/commit/ea909526f3a637849364544daff74cd49ccaf428">ea90952</a> by Timothée Mazzucotelli). <a href="https://github.com/mkdocstrings/python/discussions/169">Discussion-169</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/0.46.0">0.46.0</a> - 2024-06-16</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/0.45.3...0.46.0">Compare with 0.45.3</a><!-- raw HTML omitted --></p> <p>WARNING: <strong>⚡ Imminent v1! ⚡🚀</strong> We are working on v1, and it will come soon, so we recommend that you consider adding an upper bound on Griffe. Version 1 will remove all legacy code! There will be a couple more v0 before so that you get all the deprecation warnings needed to upgrade your code using Griffe before upgrading to v1. See breaking changes and deprecations for v0.46 below.</p> <h3>Breaking Changes</h3> <p>We are still in v0, so no major bump yet.</p> <ul> <li>Calling objects' [<code>has_labels()</code>][griffe.Object.has_labels] method with a <code>labels</code> keyword argument is not supported anymore. The parameter became a variadic positional parameter, so it cannot be used as a keyword argument anymore. Passing a sequence instead of multiple positional arguments still works but will emit a deprecation warning.</li> <li>Calling the [<code>load_extensions()</code>][griffe.load_extensions] function with an <code>exts</code> keyword argument is not supported anymore. The parameter became a variadic positional parameter, so it cannot be used as a keyword argument anymore. Passing a sequence instead of multiple positional arguments still works but will emit a deprecation warning.</li> </ul> <h3>Deprecations</h3> <ul> <li>As seen above in the breaking changes section, the only parameters of [<code>Object.has_labels()</code>][griffe.Object.has_labels] and [<code>load_extensions()</code>][griffe.load_extensions] both became variadic positional parameters. Passing a sequence as single argument is deprecated in favor of passing multiple arguments. This is an ergonomic change: I myself often forgot to wrap extensions in a list. Passing sequences of labels (lists, sets, tuples) is also difficult from Jinja templates.</li> <li>The following methods and properties on objects and aliases are deprecated: [<code>member_is_exported()</code>][griffe.Object.member_is_exported], [<code>is_explicitely_exported</code>][griffe.mixins.ObjectAliasMixin.is_explicitely_exported], [<code>is_implicitely_exported</code>][griffe.mixins.ObjectAliasMixin.is_implicitely_exported]. Use the [<code>is_exported</code>][griffe.mixins.ObjectAliasMixin.is_exported] property instead. See <a href="https://redirect.github.com/mkdocstrings/griffe/issues/281">issue 281</a>.</li> <li>The [<code>is_exported()</code>][griffe.mixins.ObjectAliasMixin.is_exported] and [<code>is_public()</code>][griffe.mixins.ObjectAliasMixin.is_public] methods became properties. They can still be called like methods, but will emit deprecation warnings when doing so. See <a href="https://redirect.github.com/mkdocstrings/griffe/issues/281">issue 281</a>.</li> <li>The <code>ignore_private</code> parameter of the [<code>find_breaking_changes()</code>][griffe.find_breaking_changes] function is now deprecated and unused. With the reworked "exported" and "public" API, this parameter became useless. See <a href="https://redirect.github.com/mkdocstrings/griffe/issues/281">issue 281</a>.</li> <li>Using <code>stats()</code> instead of [<code>Stats</code>][griffe.stats.Stats] will now emit a deprecation warning.</li> </ul> <h3>Features</h3> <ul> <li>Add <code>docstring</code> attribute to parameters (<a href="https://github.com/mkdocstrings/griffe/commit/e21eabe8c48e3650d04fec805804683cb743ce12">e21eabe</a> by Hassan Kibirige). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/286">Issue-286</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/252">Related-to-mkdocstrings/griffe#252</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/288">PR-288</a>, Co-authored-by: Timothée Mazzucotelli <a href="mailto:d...@pawamoy.fr">d...@pawamoy.fr</a></li> <li>Provide line numbers for classes and functions when inspecting (<a href="https://github.com/mkdocstrings/griffe/commit/b6ddcc4e6da42318961bb7cb7be59041a43c6451">b6ddcc4</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/272">Issue-272</a></li> <li>Populate lines collection within helpers (<a href="https://github.com/mkdocstrings/griffe/commit/ab2e9479c2b94dc7b6736e40024db87fb87b4e62">ab2e947</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/270">GitHub-issue-270</a>, <a href="https://app.radicle.xyz/nodes/seed.radicle.garden/rad:z23ZVuA1DWS99PDJ1rcarCtJi99x1/issues/0d6a51328f554f235c38a2a652b844c4ba21bba5">Radicle-issue-0d6a513</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Handle partials as functions while inspecting (<a href="https://github.com/mkdocstrings/griffe/commit/be29c3214680dc20c9c776d12a2a15ca690fa8d0">be29c32</a> by Timothée Mazzucotelli).</li> <li>Populate lines collection before visiting/inspecting modules within helpers (<a href="https://github.com/mkdocstrings/griffe/commit/08c3f409f3fc130f07b2d717cddff38d47d4dbca">08c3f40</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/272">Issue-272</a></li> <li>Don't return all lines when line numbers are missing (<a href="https://github.com/mkdocstrings/griffe/commit/9e6dcaa8f30132ebef59eb27b1f2f3ff7bc03bae">9e6dcaa</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/271">Issue-271</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>Emit deprecation warning when accessing <code>stats</code> instead of <code>Stats</code> (<a href="https://github.com/mkdocstrings/griffe/commit/e5572d2eb1dd8dbe8f9b43b33119bd9becc4a4d9">e5572d2</a> by Timothée Mazzucotelli).</li> <li>Rework "exported" and "public" logic (<a href="https://github.com/mkdocstrings/griffe/commit/b327b908d9546c8eb8f4ce5d3a216309937a6552">b327b90</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/281">Issue-281</a></li> <li>Allow passing multiple extensions to <code>load_extensions</code> instead of a sequence (<a href="https://github.com/mkdocstrings/griffe/commit/fadb72b4b693f418ebc11aefba3be188a2522c7e">fadb72b</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/268">Issue-268</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/griffe/commit/40ebec0b4184d063e06d2c034a9cd714b7624a5f"><code>40ebec0</code></a> chore: Prepare release 0.46.1</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/331941029decd9d400b30ea1471b6bcc384fd54f"><code>3319410</code></a> fix: Always consider special objects ("dunder" attributes/methods/etc.) to be...</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/ea909526f3a637849364544daff74cd49ccaf428"><code>ea90952</code></a> fix: Don't consider imported objects as public</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/cb8b97a9ad16975092569bfd05c2e5f49c6972b9"><code>cb8b97a</code></a> chore: Prepare release 0.46.0</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/0bba29d913fd2d888cbb5595ce958fa52d680b22"><code>0bba29d</code></a> style: Format changelog</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/be29c3214680dc20c9c776d12a2a15ca690fa8d0"><code>be29c32</code></a> fix: Handle partials as functions while inspecting</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/e6d3bb604c5ad839926c2cef045025ff8255459a"><code>e6d3bb6</code></a> style: Format</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/e21eabe8c48e3650d04fec805804683cb743ce12"><code>e21eabe</code></a> feat: Add docstring attribute to parameters</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/dd954ad41352a22b8b73e1dbdc78648685e68b0f"><code>dd954ad</code></a> Merge branch 'release-0.45.3'</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/e5572d2eb1dd8dbe8f9b43b33119bd9becc4a4d9"><code>e5572d2</code></a> refactor: Emit deprecation warning when accessing <code>stats</code> instead of <code>Stats</code></li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/griffe/compare/0.45.3...0.46.1">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