dependabot[bot] opened a new pull request, #1061:
URL: https://github.com/apache/iceberg-python/pull/1061

   Bumps [griffe](https://github.com/mkdocstrings/griffe) from 0.48.0 to 0.49.0.
   <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.49.0</h2>
   <h2><a 
href="https://github.com/mkdocstrings/griffe/releases/tag/0.49.0";>0.49.0</a> - 
2024-08-14</h2>
   <p><!-- raw HTML omitted --><a 
href="https://github.com/mkdocstrings/griffe/compare/0.48.0...0.49.0";>Compare 
with 0.48.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>Deprecations</h3>
   <ul>
   <li>Cancel deprecation of <code>get_logger</code> and 
<code>patch_loggers</code> (and deprecate <code>patch_logger</code> instead). 
Extensions need loggers too, distinct ones, and they were forgotten... Sorry 
for the back and forth 🙇</li>
   <li>Attributes <code>setter</code> and <code>deleter</code> on 
<code>Function</code> are deprecated. They were moved into the 
<code>Attribute</code> class since properties are instantiated as attributes, 
not functions.</li>
   <li>Extension hooks must accept <code>**kwargs</code> in their signature, to 
allow forward-compatibility. Accepting <code>**kwargs</code> also makes it 
possible to remove unused arguments from the signature.</li>
   <li>In version 1, Griffe will serialize object members as dictionaries 
instead of lists. Lists were initially used to preserve source order, but 
source order can be re-obtained thanks to the line number attributes 
(<code>lineno</code>, <code>endlineno</code>). Version 0.49 is able to load 
both lists and dictionaries from JSON dumps, and version 1 will maintain this 
ability. However external tools loading JSON dumps will need to be updated.</li>
   </ul>
   <h3>Features</h3>
   <ul>
   <li>Add <code>temporary_inspected_package</code> helper (<a 
href="https://github.com/mkdocstrings/griffe/commit/3c4ba160ca4c3407bc60d9125e0d93ae5e08d8f3";>3c4ba16</a>
 by Timothée Mazzucotelli).</li>
   <li>Accept alias resolution related parameters in 
<code>temporary_visited_package</code> (<a 
href="https://github.com/mkdocstrings/griffe/commit/7d5408a3bf81d64841bbe620b883bc16cb633f82";>7d5408a</a>
 by Timothée Mazzucotelli).</li>
   <li>Accept <code>inits</code> parameter in 
<code>temporary_visited_package</code> (<a 
href="https://github.com/mkdocstrings/griffe/commit/a4859b74bf52ca29cbb46c147a2b6df4532297e1";>a4859b7</a>
 by Timothée Mazzucotelli).</li>
   <li>Warn (DEBUG) when an object coming from a sibling, parent or external 
module instead of the current module or a submodule is exported (listed in 
<code>__all__</code>) (<a 
href="https://github.com/mkdocstrings/griffe/commit/f82317a00333e1b8971625f14e4452e93e9840ff";>f82317a</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/249";>Issue-249</a>,
 <a 
href="https://redirect.github.com/mkdocstrings/griffe/pull/251";>Related-to-PR-251</a></li>
   <li>Pass down agent to extension hooks (<a 
href="https://github.com/mkdocstrings/griffe/commit/71acb018716031331bc26d79bc27fd45f67735c1";>71acb01</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/312";>Issue-312</a></li>
   <li>Add <code>source</code> property to docstrings, which return the 
docstring lines as written in the source (<a 
href="https://github.com/mkdocstrings/griffe/commit/3f6a71a34f503e95fad55038292e3c8ab2ce30b6";>3f6a71a</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/90";>Issue-90</a></li>
   </ul>
   <h3>Bug Fixes</h3>
   <ul>
   <li>Move <code>setter</code> and <code>deleter</code> to 
<code>Attribute</code> class instead of <code>Function</code>, since that's how 
properties are instantiated (<a 
href="https://github.com/mkdocstrings/griffe/commit/309c6e34aded516dcfeab0dd81c2fbcecd2691ac";>309c6e3</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/311";>Issue-311</a></li>
   <li>Reduce risk of recursion errors by excluding imported objects from 
<code>has_docstrings</code>, unless they're public (<a 
href="https://github.com/mkdocstrings/griffe/commit/9296ca7273eb1e6b7255b92793a09b82fd3bc4a9";>9296ca7</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/302";>Issue-302</a></li>
   <li>Fix retrieval of annotations from parent for Yields section in 
properties (<a 
href="https://github.com/mkdocstrings/griffe/commit/8a21f4db1743902c56875980a4aa2366609642c1";>8a21f4d</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/298";>Issue-298</a></li>
   <li>Fix parsing Yields section (Google-style) when yielded values are 
tuples, and the description has more lines than tuple values (<a 
href="https://github.com/mkdocstrings/griffe/commit/90917761ef7ea71ccda8147b3e1ebbc4675d9685";>9091776</a>
 by Timothée Mazzucotelli).</li>
   <li>Fix condition on objects kinds when merging stubs (<a 
href="https://github.com/mkdocstrings/griffe/commit/727f99b084c703937393d52e930aba4ee5739c3b";>727f99b</a>
 by Timothée Mazzucotelli).</li>
   </ul>
   <h3>Code Refactoring</h3>
   <ul>
   <li>Sort keys when dumping JSON from the command line (<a 
href="https://github.com/mkdocstrings/griffe/commit/8cdffe9a68383369f6598820ec867740bee58207";>8cdffe9</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/310";>Issue-310</a></li>
   <li>Handle both lists and dicts for members when loading JSON data in 
preparation of v1 (<a 
href="https://github.com/mkdocstrings/griffe/commit/f89050c3dced88d5295971ab019e5c9a5706f6cc";>f89050c</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/310";>Issue-310</a></li>
   <li>Accept <code>**kwargs</code> in extension hooks to allow 
forward-compatibility (<a 
href="https://github.com/mkdocstrings/griffe/commit/2621d52e4d1e89e043e022efb8eba087df5d321e";>2621d52</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/312";>Issue-312</a></li>
   <li>Revert deprecation of <code>patch_loggers</code> in favor of 
<code>patch_logger</code> (<a 
href="https://github.com/mkdocstrings/griffe/commit/a20796ac821ac72b22082fde2a68ad9dac735076";>a20796a</a>
 by Timothée Mazzucotelli).</li>
   <li>Expose dummy <code>load_pypi</code> in non-Insiders version (<a 
href="https://github.com/mkdocstrings/griffe/commit/a69cffd89215dbe629cec892ccda3c259d5572ef";>a69cffd</a>
 by Timothée Mazzucotelli).</li>
   <li>Don't emit deprecation warnings through own usage of deprecated API (<a 
href="https://github.com/mkdocstrings/griffe/commit/9922d741dc1f9538e5e5f00dd115b297665ac6f8";>9922d74</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/mkdocstrings/issues/676";>Issue-mkdocstrings#676</a></li>
   <li>Finish preparing docstring style auto-detection feature (<a 
href="https://github.com/mkdocstrings/griffe/commit/03bdec61bbba86b1fa1b98cb890c034bbfcd44c3";>03bdec6</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/5";>Issue-5</a></li>
   <li>Add DocstringStyle literal type to prepare docstring style auto 
detection feature (<a 
href="https://github.com/mkdocstrings/griffe/commit/b7aaf6487f04876b498237726b36d08f8e35b905";>b7aaf64</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/5";>Issue-5</a></li>
   <li>Inherit from <code>str, Enum</code> instead of <code>StrEnum</code> 
which needs a backport (<a 
href="https://github.com/mkdocstrings/griffe/commit/77f15443540acd2d279e08675b41bd69470f76d9";>77f1544</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/307";>Issue-307</a></li>
   </ul>
   </blockquote>
   </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.49.0";>0.49.0</a> - 
2024-08-14</h2>
   <p><!-- raw HTML omitted --><a 
href="https://github.com/mkdocstrings/griffe/compare/0.48.0...0.49.0";>Compare 
with 0.48.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>Deprecations</h3>
   <ul>
   <li>Cancel deprecation of <code>get_logger</code> and 
<code>patch_loggers</code> (and deprecate <code>patch_logger</code> instead). 
Extensions need loggers too, distinct ones, and they were forgotten... Sorry 
for the back and forth 🙇</li>
   <li>Attributes <code>setter</code> and <code>deleter</code> on 
<code>Function</code> are deprecated. They were moved into the 
<code>Attribute</code> class since properties are instantiated as attributes, 
not functions.</li>
   <li>Extension hooks must accept <code>**kwargs</code> in their signature, to 
allow forward-compatibility. Accepting <code>**kwargs</code> also makes it 
possible to remove unused arguments from the signature.</li>
   <li>In version 1, Griffe will serialize object members as dictionaries 
instead of lists. Lists were initially used to preserve source order, but 
source order can be re-obtained thanks to the line number attributes 
(<code>lineno</code>, <code>endlineno</code>). Version 0.49 is able to load 
both lists and dictionaries from JSON dumps, and version 1 will maintain this 
ability. However external tools loading JSON dumps will need to be updated.</li>
   </ul>
   <h3>Features</h3>
   <ul>
   <li>Add <code>temporary_inspected_package</code> helper (<a 
href="https://github.com/mkdocstrings/griffe/commit/3c4ba160ca4c3407bc60d9125e0d93ae5e08d8f3";>3c4ba16</a>
 by Timothée Mazzucotelli).</li>
   <li>Accept alias resolution related parameters in 
<code>temporary_visited_package</code> (<a 
href="https://github.com/mkdocstrings/griffe/commit/7d5408a3bf81d64841bbe620b883bc16cb633f82";>7d5408a</a>
 by Timothée Mazzucotelli).</li>
   <li>Accept <code>inits</code> parameter in 
<code>temporary_visited_package</code> (<a 
href="https://github.com/mkdocstrings/griffe/commit/a4859b74bf52ca29cbb46c147a2b6df4532297e1";>a4859b7</a>
 by Timothée Mazzucotelli).</li>
   <li>Warn (DEBUG) when an object coming from a sibling, parent or external 
module instead of the current module or a submodule is exported (listed in 
<code>__all__</code>) (<a 
href="https://github.com/mkdocstrings/griffe/commit/f82317a00333e1b8971625f14e4452e93e9840ff";>f82317a</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/249";>Issue-249</a>,
 <a 
href="https://redirect.github.com/mkdocstrings/griffe/pull/251";>Related-to-PR-251</a></li>
   <li>Pass down agent to extension hooks (<a 
href="https://github.com/mkdocstrings/griffe/commit/71acb018716031331bc26d79bc27fd45f67735c1";>71acb01</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/312";>Issue-312</a></li>
   <li>Add <code>source</code> property to docstrings, which return the 
docstring lines as written in the source (<a 
href="https://github.com/mkdocstrings/griffe/commit/3f6a71a34f503e95fad55038292e3c8ab2ce30b6";>3f6a71a</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/90";>Issue-90</a></li>
   </ul>
   <h3>Bug Fixes</h3>
   <ul>
   <li>Move <code>setter</code> and <code>deleter</code> to 
<code>Attribute</code> class instead of <code>Function</code>, since that's how 
properties are instantiated (<a 
href="https://github.com/mkdocstrings/griffe/commit/309c6e34aded516dcfeab0dd81c2fbcecd2691ac";>309c6e3</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/311";>Issue-311</a></li>
   <li>Reduce risk of recursion errors by excluding imported objects from 
<code>has_docstrings</code>, unless they're public (<a 
href="https://github.com/mkdocstrings/griffe/commit/9296ca7273eb1e6b7255b92793a09b82fd3bc4a9";>9296ca7</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/302";>Issue-302</a></li>
   <li>Fix retrieval of annotations from parent for Yields section in 
properties (<a 
href="https://github.com/mkdocstrings/griffe/commit/8a21f4db1743902c56875980a4aa2366609642c1";>8a21f4d</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/298";>Issue-298</a></li>
   <li>Fix parsing Yields section (Google-style) when yielded values are 
tuples, and the description has more lines than tuple values (<a 
href="https://github.com/mkdocstrings/griffe/commit/90917761ef7ea71ccda8147b3e1ebbc4675d9685";>9091776</a>
 by Timothée Mazzucotelli).</li>
   <li>Fix condition on objects kinds when merging stubs (<a 
href="https://github.com/mkdocstrings/griffe/commit/727f99b084c703937393d52e930aba4ee5739c3b";>727f99b</a>
 by Timothée Mazzucotelli).</li>
   </ul>
   <h3>Code Refactoring</h3>
   <ul>
   <li>Sort keys when dumping JSON from the command line (<a 
href="https://github.com/mkdocstrings/griffe/commit/8cdffe9a68383369f6598820ec867740bee58207";>8cdffe9</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/310";>Issue-310</a></li>
   <li>Handle both lists and dicts for members when loading JSON data in 
preparation of v1 (<a 
href="https://github.com/mkdocstrings/griffe/commit/f89050c3dced88d5295971ab019e5c9a5706f6cc";>f89050c</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/310";>Issue-310</a></li>
   <li>Accept <code>**kwargs</code> in extension hooks to allow 
forward-compatibility (<a 
href="https://github.com/mkdocstrings/griffe/commit/2621d52e4d1e89e043e022efb8eba087df5d321e";>2621d52</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/312";>Issue-312</a></li>
   <li>Revert deprecation of <code>patch_loggers</code> in favor of 
<code>patch_logger</code> (<a 
href="https://github.com/mkdocstrings/griffe/commit/a20796ac821ac72b22082fde2a68ad9dac735076";>a20796a</a>
 by Timothée Mazzucotelli).</li>
   <li>Expose dummy <code>load_pypi</code> in non-Insiders version (<a 
href="https://github.com/mkdocstrings/griffe/commit/a69cffd89215dbe629cec892ccda3c259d5572ef";>a69cffd</a>
 by Timothée Mazzucotelli).</li>
   <li>Don't emit deprecation warnings through own usage of deprecated API (<a 
href="https://github.com/mkdocstrings/griffe/commit/9922d741dc1f9538e5e5f00dd115b297665ac6f8";>9922d74</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/mkdocstrings/issues/676";>Issue-mkdocstrings#676</a></li>
   <li>Finish preparing docstring style auto-detection feature (<a 
href="https://github.com/mkdocstrings/griffe/commit/03bdec61bbba86b1fa1b98cb890c034bbfcd44c3";>03bdec6</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/5";>Issue-5</a></li>
   <li>Add DocstringStyle literal type to prepare docstring style auto 
detection feature (<a 
href="https://github.com/mkdocstrings/griffe/commit/b7aaf6487f04876b498237726b36d08f8e35b905";>b7aaf64</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/5";>Issue-5</a></li>
   <li>Inherit from <code>str, Enum</code> instead of <code>StrEnum</code> 
which needs a backport (<a 
href="https://github.com/mkdocstrings/griffe/commit/77f15443540acd2d279e08675b41bd69470f76d9";>77f1544</a>
 by Timothée Mazzucotelli). <a 
href="https://redirect.github.com/mkdocstrings/griffe/issues/307";>Issue-307</a></li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/901a306eff242520f4a0bc2c7b0439af2e62fafe";><code>901a306</code></a>
 chore: Prepare release 0.49.0</li>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/d56da0ad818123ece4124f5df7b9b69f695ddb59";><code>d56da0a</code></a>
 chore: Update Yore comments</li>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/8cdffe9a68383369f6598820ec867740bee58207";><code>8cdffe9</code></a>
 refactor: Sort keys when dumping JSON from the command line</li>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/f89050c3dced88d5295971ab019e5c9a5706f6cc";><code>f89050c</code></a>
 refactor: Handle both lists and dicts for members when loading JSON data in 
p...</li>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/23da375534eed7ecf5bf6834071d4fbe5840d735";><code>23da375</code></a>
 tests: Update tests to use new <code>temporary_inspected_package</code> 
helper</li>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/3c4ba160ca4c3407bc60d9125e0d93ae5e08d8f3";><code>3c4ba16</code></a>
 feat: Add <code>temporary_inspected_package</code> helper</li>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/7d5408a3bf81d64841bbe620b883bc16cb633f82";><code>7d5408a</code></a>
 feat: Accept alias resolution related parameters in 
<code>temporary_visited_package</code></li>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/a4859b74bf52ca29cbb46c147a2b6df4532297e1";><code>a4859b7</code></a>
 feat: Accept <code>inits</code> parameter in 
<code>temporary_visited_package</code></li>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/05c3ad326b416e8467645fbcf03acf92c961b4a8";><code>05c3ad3</code></a>
 tests: Allow <code>clear_sys_modules</code> to automatically clear all 
temporary modules</li>
   <li><a 
href="https://github.com/mkdocstrings/griffe/commit/f82317a00333e1b8971625f14e4452e93e9840ff";><code>f82317a</code></a>
 feat: Warn when an object coming from a sibling, parent or external module  
i...</li>
   <li>Additional commits viewable in <a 
href="https://github.com/mkdocstrings/griffe/compare/0.48.0...0.49.0";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=griffe&package-manager=pip&previous-version=0.48.0&new-version=0.49.0)](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: [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]

Reply via email to