Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump griffe from 0.47.0 to 0.48.0 (#166)
Bumps [griffe](https://github.com/mkdocstrings/griffe) from 0.47.0 to 0.48.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.48.0</h2> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/0.48.0">0.48.0</a> - 2024-07-15</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/0.47.0...0.48.0">Compare with 0.47.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>All submodules are deprecated. All objects are now exposed in the top-level <code>griffe</code> module.</li> <li>All logger names are deprecated, and will be replaced with <code>"griffe"</code> in v1. In v1 our single <code>"griffe"</code> logger will provide a method to temporarily disable logging, [<code>logger.disable()</code>][griffe.Logger.disable], since that's the most common third-party use.</li> <li>The <code>get_logger</code> function is deprecated. Instead, we'll use a global <code>logger</code> internally, and users are welcome to use it too.</li> <li>The <code>patch_loggers</code> function is renamed <code>patch_logger</code>.</li> <li>Following the logging changes, the [<code>docstring_warning</code>][griffe.docstring_warning] function can now directly log a warning message instead of returning a callable that does. Passing it a logger name (to get a callable) is deprecated in favor of passing it a docstring, message and offset directly.</li> </ul> <h3>Features</h3> <ul> <li>Support <code>FORCE_COLOR</code> environment variable (<a href="https://github.com/mkdocstrings/griffe/commit/e1b7bd9c3a5be585815dc972a86a51cb1b63bfe7">e1b7bd9</a> by Timothée Mazzucotelli).</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Don't take a shortcut to the end of an alias chain when getting/setting/deleting alias members (<a href="https://github.com/mkdocstrings/griffe/commit/193060908aa1cecb9931553abbb0f9fa182c66a1">1930609</a> by Timothée Mazzucotelli).</li> <li>Short-circuit <code>__all__</code> convention when checking if a module is public (<a href="https://github.com/mkdocstrings/griffe/commit/5abf4e3343410dbd41760415cff7c5f9e8c2b6b8">5abf4e3</a> by Timothée Mazzucotelli).</li> <li>Reuse existing loggers, preventing overwriting issues (<a href="https://github.com/mkdocstrings/griffe/commit/3c2825f9cf34eb8b0dbedd9fb542e14af3d24c33">3c2825f</a> by Timothée Mazzucotelli).</li> <li>Ignore .pth files that are not utf-8 encoded (<a href="https://github.com/mkdocstrings/griffe/commit/ea299dcb38ad78c9b3de961e88da214ccadd31be">ea299dc</a> by Andrew Sansom). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/300">Issue-300</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/301">PR-301</a></li> <li>Attributes without annotations cannot be dataclass parameters (<a href="https://github.com/mkdocstrings/griffe/commit/c9b2e09344538778426c446dad306c4881a873b2">c9b2e09</a> by Hassan Kibirige). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/297">PR-297</a></li> <li>When deciding to alias an object or not during inspection, consider module paths to be equivalent even with arbitrary private components (<a href="https://github.com/mkdocstrings/griffe/commit/8c9f6e609a1bb93d0c8c41962bb5a9f410862769">8c9f6e6</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/296">Issue-296</a></li> <li>Fix target path computation: use qualified names to maintain classes in the path (<a href="https://github.com/mkdocstrings/griffe/commit/6e17def0759409c7d5148c1a2f7747d029f17594">6e17def</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/296">Issue-296</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>Prepare loggers for simplification (<a href="https://github.com/mkdocstrings/griffe/commit/381f10f9cc3c2e8b7e9f54db23c13334dacc1203">381f10f</a> by Timothée Mazzucotelli).</li> <li>Add all previous modules for backward compatibility (<a href="https://github.com/mkdocstrings/griffe/commit/a86e44e14b8f7be5b6fa9fb2e6a1614da65a3918">a86e44e</a> by Timothée Mazzucotelli).</li> <li>Add main public modules (<a href="https://github.com/mkdocstrings/griffe/commit/fb860b3200699ae85fed52289f3a6136ea522618">fb860b3</a> by Timothée Mazzucotelli).</li> <li>Simplify "is imported" check in <code>is_public</code> property (<a href="https://github.com/mkdocstrings/griffe/commit/c2bbc10082da8e3b11d2fe4576db9719b25054e0">c2bbc10</a> by Timothée Mazzucotelli).</li> <li>Use string and integer enumerations (<a href="https://github.com/mkdocstrings/griffe/commit/06b383b5d61bc5083c53745e2c19d0da75e55481">06b383b</a> by Timothée Mazzucotelli).</li> <li>Renamed agents nodes modules (<a href="https://github.com/mkdocstrings/griffe/commit/ddc5b0cc5bba3e0901fe6c7e9f9fe5b70bd2883c">ddc5b0c</a> by Timothée Mazzucotelli).</li> <li>Clean up and document internal API, mark legacy code (<a href="https://github.com/mkdocstrings/griffe/commit/92594a99fed42eb2daa3bbeb797edbf3507f3068">92594a9</a> by Timothée Mazzucotelli).</li> <li>Renamed <code>dataclasses</code> internal modules to <code>models</code> (<a href="https://github.com/mkdocstrings/griffe/commit/5555de62426063483196888f1bc73757e7492ce8">5555de6</a> by Timothée Mazzucotelli).</li> <li>Move sources under <code>_griffe</code> internal package (<a href="https://github.com/mkdocstrings/griffe/commit/cbce6a5c4740a5964f9b0eb605adbd6f554e99bc">cbce6a5</a> by Timothée Mazzucotelli).</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.48.0">0.48.0</a> - 2024-07-15</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/0.47.0...0.48.0">Compare with 0.47.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>All submodules are deprecated. All objects are now exposed in the top-level <code>griffe</code> module.</li> <li>All logger names are deprecated, and will be replaced with <code>"griffe"</code> in v1. In v1 our single <code>"griffe"</code> logger will provide a method to temporarily disable logging, [<code>logger.disable()</code>][griffe.Logger.disable], since that's the most common third-party use.</li> <li>The <code>get_logger</code> function is deprecated. Instead, we'll use a global <code>logger</code> internally, and users are welcome to use it too.</li> <li>The <code>patch_loggers</code> function is renamed <code>patch_logger</code>.</li> <li>Following the logging changes, the [<code>docstring_warning</code>][griffe.docstring_warning] function can now directly log a warning message instead of returning a callable that does. Passing it a logger name (to get a callable) is deprecated in favor of passing it a docstring, message and offset directly.</li> </ul> <h3>Features</h3> <ul> <li>Support <code>FORCE_COLOR</code> environment variable (<a href="https://github.com/mkdocstrings/griffe/commit/e1b7bd9c3a5be585815dc972a86a51cb1b63bfe7">e1b7bd9</a> by Timothée Mazzucotelli).</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Don't take a shortcut to the end of an alias chain when getting/setting/deleting alias members (<a href="https://github.com/mkdocstrings/griffe/commit/193060908aa1cecb9931553abbb0f9fa182c66a1">1930609</a> by Timothée Mazzucotelli).</li> <li>Short-circuit <code>__all__</code> convention when checking if a module is public (<a href="https://github.com/mkdocstrings/griffe/commit/5abf4e3343410dbd41760415cff7c5f9e8c2b6b8">5abf4e3</a> by Timothée Mazzucotelli).</li> <li>Reuse existing loggers, preventing overwriting issues (<a href="https://github.com/mkdocstrings/griffe/commit/3c2825f9cf34eb8b0dbedd9fb542e14af3d24c33">3c2825f</a> by Timothée Mazzucotelli).</li> <li>Ignore .pth files that are not utf-8 encoded (<a href="https://github.com/mkdocstrings/griffe/commit/ea299dcb38ad78c9b3de961e88da214ccadd31be">ea299dc</a> by Andrew Sansom). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/300">Issue-300</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/301">PR-301</a></li> <li>Attributes without annotations cannot be dataclass parameters (<a href="https://github.com/mkdocstrings/griffe/commit/c9b2e09344538778426c446dad306c4881a873b2">c9b2e09</a> by Hassan Kibirige). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/297">PR-297</a></li> <li>When deciding to alias an object or not during inspection, consider module paths to be equivalent even with arbitrary private components (<a href="https://github.com/mkdocstrings/griffe/commit/8c9f6e609a1bb93d0c8c41962bb5a9f410862769">8c9f6e6</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/296">Issue-296</a></li> <li>Fix target path computation: use qualified names to maintain classes in the path (<a href="https://github.com/mkdocstrings/griffe/commit/6e17def0759409c7d5148c1a2f7747d029f17594">6e17def</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/296">Issue-296</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>Prepare loggers for simplification (<a href="https://github.com/mkdocstrings/griffe/commit/381f10f9cc3c2e8b7e9f54db23c13334dacc1203">381f10f</a> by Timothée Mazzucotelli).</li> <li>Add all previous modules for backward compatibility (<a href="https://github.com/mkdocstrings/griffe/commit/a86e44e14b8f7be5b6fa9fb2e6a1614da65a3918">a86e44e</a> by Timothée Mazzucotelli).</li> <li>Add main public modules (<a href="https://github.com/mkdocstrings/griffe/commit/fb860b3200699ae85fed52289f3a6136ea522618">fb860b3</a> by Timothée Mazzucotelli).</li> <li>Simplify "is imported" check in <code>is_public</code> property (<a href="https://github.com/mkdocstrings/griffe/commit/c2bbc10082da8e3b11d2fe4576db9719b25054e0">c2bbc10</a> by Timothée Mazzucotelli).</li> <li>Use string and integer enumerations (<a href="https://github.com/mkdocstrings/griffe/commit/06b383b5d61bc5083c53745e2c19d0da75e55481">06b383b</a> by Timothée Mazzucotelli).</li> <li>Renamed agents nodes modules (<a href="https://github.com/mkdocstrings/griffe/commit/ddc5b0cc5bba3e0901fe6c7e9f9fe5b70bd2883c">ddc5b0c</a> by Timothée Mazzucotelli).</li> <li>Clean up and document internal API, mark legacy code (<a href="https://github.com/mkdocstrings/griffe/commit/92594a99fed42eb2daa3bbeb797edbf3507f3068">92594a9</a> by Timothée Mazzucotelli).</li> <li>Renamed <code>dataclasses</code> internal modules to <code>models</code> (<a href="https://github.com/mkdocstrings/griffe/commit/5555de62426063483196888f1bc73757e7492ce8">5555de6</a> by Timothée Mazzucotelli).</li> <li>Move sources under <code>_griffe</code> internal package (<a href="https://github.com/mkdocstrings/griffe/commit/cbce6a5c4740a5964f9b0eb605adbd6f554e99bc">cbce6a5</a> by Timothée Mazzucotelli).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/griffe/commit/14a43ab5119959641337d24c54b2f710dc90eb77"><code>14a43ab</code></a> chore: Prepare release 0.48.0</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/145e0bc997a31d06f469af49eed9f624fba249db"><code>145e0bc</code></a> docs: Add missing pymdownx.blocks.tab extension</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/4d93fd604330d6a0e9fea37a516f3d011ce5fc96"><code>4d93fd6</code></a> docs: Copy readme contents from insiders repo</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/ab7ba171fe2230f409dfea12ba6767ed415eec5e"><code>ab7ba17</code></a> docs: Fix link in readme</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/4bd9fb0534e03cd4e4206db8f0ded1ad68efee7c"><code>4bd9fb0</code></a> ci: Run inventory tests in CI</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/4e7ef6cd373254766d61bcf7a82a15368dde0122"><code>4e7ef6c</code></a> tests: Ignore deprecated public module in api/inventory test</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/72074495d656eac18c9880562b8f383a35e6c02e"><code>7207449</code></a> ci: Fix comparison</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/0477db5d75e1ee4789b6683429adfb992ac4a7fa"><code>0477db5</code></a> ci: Don't use parameter headings insiders feature since it breaks in CI</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/39a1174cd8ce3e7614167b1e5acb48dd101287f0"><code>39a1174</code></a> ci: Ignore dot subprocess error in CI</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/5c154b3ebbaae871c21a88fd673931301c831df9"><code>5c154b3</code></a> ci: Fix code block execution without direnv</li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/griffe/compare/0.47.0...0.48.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.47.0&new-version=0.48.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information