Skip to content

Commit 766b849

Browse files
chore(deps-dev): bump griffe from 1.14.0 to 2.3.0 (#4069)
Bumps [griffe](https://github.com/mkdocstrings/griffe) from 1.14.0 to 2.3.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>2.3.0</h2> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/2.3.0">2.3.0</a> - 2026-09-04</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/2.2.0...2.3.0">Compare with 2.2.0</a><!-- raw HTML omitted --></p> <h3>Features</h3> <ul> <li>Add option to give precedence to docstrings in stubs vs. source (<a href="https://github.com/mkdocstrings/griffe/commit/09a2a1323d1b4d022a4ce76a9f2839287b9c100e">09a2a13</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/447">Issue-447</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/481">PR-481</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Preserve nested tuple parentheses (<a href="https://github.com/mkdocstrings/griffe/commit/e095a7cd4c239abd961f7899d7ddb17ea27caead">e095a7c</a> by Alperen). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/487">PR-487</a>, Co-authored-by: Timothée Mazzucotelli <a href="mailto:dev@pawamoy.fr">dev@pawamoy.fr</a></li> <li>Preserve nested f-string format specs (<a href="https://github.com/mkdocstrings/griffe/commit/38921b70e3dbba9a493aa5117f11a3a7883634cf">38921b7</a> by Alperen). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/486">PR-486</a></li> <li>Disable all docstring warnings when passing <code>warnings=False</code> (<a href="https://github.com/mkdocstrings/griffe/commit/5cb0ae2f00748288c4009c1d4b6ee19f6aca6b76">5cb0ae2</a> by Timothée Mazzucotelli).</li> </ul> <h3>Performance Improvements</h3> <ul> <li>Reuse computed parent in <code>is_imported</code> (<a href="https://github.com/mkdocstrings/griffe/commit/092ac3162e1477a4b62eb875365996998adbd77d">092ac31</a> by Timothée Mazzucotelli).</li> <li>Only build debug messages at debug level (<a href="https://github.com/mkdocstrings/griffe/commit/8f05a4ae5587d685bea1b0c98294a047b56c8df0">8f05a4a</a> by Timothée Mazzucotelli).</li> <li>Avoid creating new sets when handling labels (<a href="https://github.com/mkdocstrings/griffe/commit/06cd02e63c240286d11450887cc01b0ef76d8908">06cd02e</a> by Timothée Mazzucotelli).</li> <li>Maintain map of AST node type to visitor function (<a href="https://github.com/mkdocstrings/griffe/commit/e21851e732782823006223a7f5f8111b4200a257">e21851e</a> by Timothée Mazzucotelli).</li> <li>Avoid cyclic refs in ASTs to allow garbage-collecting them (<a href="https://github.com/mkdocstrings/griffe/commit/b968de091afc1a4fd241f457538433ce3ada7520">b968de0</a> by Timothée Mazzucotelli).</li> <li>Cache per-module path-related properties during serialization (<a href="https://github.com/mkdocstrings/griffe/commit/8bd6cc4b34e96fc8235271cfa93a1a6a77091707">8bd6cc4</a> by Timothée Mazzucotelli).</li> <li>Do not fire load events when no extension has hooked them (<a href="https://github.com/mkdocstrings/griffe/commit/0e2ae7c8cd1563d6dcca7a6c37fb8f2ec072cb24">0e2ae7c</a> by Timothée Mazzucotelli).</li> <li>Compute costly message lazily in alias resolution errors (<a href="https://github.com/mkdocstrings/griffe/commit/1e391b8239747bb62908819e55468a961ffbaa99">1e391b8</a> by Timothée Mazzucotelli).</li> <li>Avoid iterating many times over function parameters when merging stubs (<a href="https://github.com/mkdocstrings/griffe/commit/03cae743e02c56af7375ffbfa70d6acf02e5491d">03cae74</a> by Timothée Mazzucotelli).</li> <li>Avoid iterating many times over function parameters when diff'ing (<a href="https://github.com/mkdocstrings/griffe/commit/d3cf2c41bb5f734e57b612b42d178e87af605ae8">d3cf2c4</a> by Timothée Mazzucotelli).</li> <li>Improve efficiency of AST parameter extraction (<a href="https://github.com/mkdocstrings/griffe/commit/1e37cd488d6adf55065b3ce4e7932faf1ff7d186">1e37cd4</a> by Timothée Mazzucotelli).</li> <li>Cache serializable expression fields (<a href="https://github.com/mkdocstrings/griffe/commit/f9e48c16ebaeb719d5768cb921637aebe377a639">f9e48c1</a> by Timothée Mazzucotelli).</li> <li>Use maps to make JSON encoder faster (<a href="https://github.com/mkdocstrings/griffe/commit/b7de96fb516218ae3bf6a8e6d014a223df67f4a3">b7de96f</a> by Timothée Mazzucotelli).</li> <li>Avoid recomputing inherited members when diff'ing (<a href="https://github.com/mkdocstrings/griffe/commit/a29e028ff034752ff747dda17f3f875f22c2a192">a29e028</a> by Timothée Mazzucotelli).</li> <li>Make Google, Numpy and Sphinx docstring parsers faster (<a href="https://github.com/mkdocstrings/griffe/commit/7f39373f8da779fb104dd2b6c11a02d95da628c4">7f39373</a> by Timothée Mazzucotelli).</li> <li>Pre-compile patterns for docstring style detection (<a href="https://github.com/mkdocstrings/griffe/commit/ad58ad5b86390a8a02311189315dd4f59e0300a4">ad58ad5</a> by Timothée Mazzucotelli).</li> <li>LRU-cache parsing of type annotations in docstrings (<a href="https://github.com/mkdocstrings/griffe/commit/1671e59fb675e9b45338956ce8aa5f5e56692690">1671e59</a> by Timothée Mazzucotelli).</li> </ul> <h2>2.2.0</h2> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/2.2.0">2.2.0</a> - 2026-08-16</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/2.1.0...2.2.0">Compare with 2.1.0</a><!-- raw HTML omitted --></p> <h3>Features</h3> <ul> <li>Support <code>await</code> expressions (<a href="https://github.com/mkdocstrings/griffe/commit/6b3caab7ce4fdcb1c9386937dad17510d35a3321">6b3caab</a> by Vincent Gao). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/479">PR-479</a></li> <li>Support unpacking in dict comprehensions (<a href="https://github.com/mkdocstrings/griffe/commit/2d39391cb135febadf339bdea91c1113b74da145">2d39391</a> by mushitoriami). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/475">PR-475</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Forward <code>warn_missing_types</code> to Sphinx return section reader (<a href="https://github.com/mkdocstrings/griffe/commit/a15e782ed0793e06d22105beb016c10cfe0ed4b0">a15e782</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/337">Issue-mkdocstrings-python-337</a></li> <li>Make stringified expressions valid and faithful Python (<a href="https://github.com/mkdocstrings/griffe/commit/eb85f0dd8bf49f4a2400bf03face646d8f533a7c">eb85f0d</a> by Vincent Gao). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/478">PR-478</a></li> <li>Empty tuples can never be implicit (<a href="https://github.com/mkdocstrings/griffe/commit/82e728dc758f9635d2e500c13caa795b48e36d8a">82e728d</a> by Vincent Gao). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/474">PR-474</a>, Co-authored-by: Timothée Mazzucotelli <a href="mailto:dev@pawamoy.fr">dev@pawamoy.fr</a></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/2.3.0">2.3.0</a> - 2026-09-04</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/2.2.0...2.3.0">Compare with 2.2.0</a><!-- raw HTML omitted --></p> <h3>Features</h3> <ul> <li>Add option to give precedence to docstrings in stubs vs. source (<a href="https://github.com/mkdocstrings/griffe/commit/09a2a1323d1b4d022a4ce76a9f2839287b9c100e">09a2a13</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/447">Issue-447</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/481">PR-481</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Preserve nested tuple parentheses (<a href="https://github.com/mkdocstrings/griffe/commit/e095a7cd4c239abd961f7899d7ddb17ea27caead">e095a7c</a> by Alperen). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/487">PR-487</a>, Co-authored-by: Timothée Mazzucotelli <a href="mailto:dev@pawamoy.fr">dev@pawamoy.fr</a></li> <li>Preserve nested f-string format specs (<a href="https://github.com/mkdocstrings/griffe/commit/38921b70e3dbba9a493aa5117f11a3a7883634cf">38921b7</a> by Alperen). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/486">PR-486</a></li> <li>Disable all docstring warnings when passing <code>warnings=False</code> (<a href="https://github.com/mkdocstrings/griffe/commit/5cb0ae2f00748288c4009c1d4b6ee19f6aca6b76">5cb0ae2</a> by Timothée Mazzucotelli).</li> </ul> <h3>Performance Improvements</h3> <ul> <li>Reuse computed parent in <code>is_imported</code> (<a href="https://github.com/mkdocstrings/griffe/commit/092ac3162e1477a4b62eb875365996998adbd77d">092ac31</a> by Timothée Mazzucotelli).</li> <li>Only build debug messages at debug level (<a href="https://github.com/mkdocstrings/griffe/commit/8f05a4ae5587d685bea1b0c98294a047b56c8df0">8f05a4a</a> by Timothée Mazzucotelli).</li> <li>Avoid creating new sets when handling labels (<a href="https://github.com/mkdocstrings/griffe/commit/06cd02e63c240286d11450887cc01b0ef76d8908">06cd02e</a> by Timothée Mazzucotelli).</li> <li>Maintain map of AST node type to visitor function (<a href="https://github.com/mkdocstrings/griffe/commit/e21851e732782823006223a7f5f8111b4200a257">e21851e</a> by Timothée Mazzucotelli).</li> <li>Avoid cyclic refs in ASTs to allow garbage-collecting them (<a href="https://github.com/mkdocstrings/griffe/commit/b968de091afc1a4fd241f457538433ce3ada7520">b968de0</a> by Timothée Mazzucotelli).</li> <li>Cache per-module path-related properties during serialization (<a href="https://github.com/mkdocstrings/griffe/commit/8bd6cc4b34e96fc8235271cfa93a1a6a77091707">8bd6cc4</a> by Timothée Mazzucotelli).</li> <li>Do not fire load events when no extension has hooked them (<a href="https://github.com/mkdocstrings/griffe/commit/0e2ae7c8cd1563d6dcca7a6c37fb8f2ec072cb24">0e2ae7c</a> by Timothée Mazzucotelli).</li> <li>Compute costly message lazily in alias resolution errors (<a href="https://github.com/mkdocstrings/griffe/commit/1e391b8239747bb62908819e55468a961ffbaa99">1e391b8</a> by Timothée Mazzucotelli).</li> <li>Avoid iterating many times over function parameters when merging stubs (<a href="https://github.com/mkdocstrings/griffe/commit/03cae743e02c56af7375ffbfa70d6acf02e5491d">03cae74</a> by Timothée Mazzucotelli).</li> <li>Avoid iterating many times over function parameters when diff'ing (<a href="https://github.com/mkdocstrings/griffe/commit/d3cf2c41bb5f734e57b612b42d178e87af605ae8">d3cf2c4</a> by Timothée Mazzucotelli).</li> <li>Improve efficiency of AST parameter extraction (<a href="https://github.com/mkdocstrings/griffe/commit/1e37cd488d6adf55065b3ce4e7932faf1ff7d186">1e37cd4</a> by Timothée Mazzucotelli).</li> <li>Cache serializable expression fields (<a href="https://github.com/mkdocstrings/griffe/commit/f9e48c16ebaeb719d5768cb921637aebe377a639">f9e48c1</a> by Timothée Mazzucotelli).</li> <li>Use maps to make JSON encoder faster (<a href="https://github.com/mkdocstrings/griffe/commit/b7de96fb516218ae3bf6a8e6d014a223df67f4a3">b7de96f</a> by Timothée Mazzucotelli).</li> <li>Avoid recomputing inherited members when diff'ing (<a href="https://github.com/mkdocstrings/griffe/commit/a29e028ff034752ff747dda17f3f875f22c2a192">a29e028</a> by Timothée Mazzucotelli).</li> <li>Make Google, Numpy and Sphinx docstring parsers faster (<a href="https://github.com/mkdocstrings/griffe/commit/7f39373f8da779fb104dd2b6c11a02d95da628c4">7f39373</a> by Timothée Mazzucotelli).</li> <li>Pre-compile patterns for docstring style detection (<a href="https://github.com/mkdocstrings/griffe/commit/ad58ad5b86390a8a02311189315dd4f59e0300a4">ad58ad5</a> by Timothée Mazzucotelli).</li> <li>LRU-cache parsing of type annotations in docstrings (<a href="https://github.com/mkdocstrings/griffe/commit/1671e59fb675e9b45338956ce8aa5f5e56692690">1671e59</a> by Timothée Mazzucotelli).</li> </ul> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/2.2.0">2.2.0</a> - 2026-08-16</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/2.1.0...2.2.0">Compare with 2.1.0</a><!-- raw HTML omitted --></p> <h3>Features</h3> <ul> <li>Support <code>await</code> expressions (<a href="https://github.com/mkdocstrings/griffe/commit/6b3caab7ce4fdcb1c9386937dad17510d35a3321">6b3caab</a> by Vincent Gao). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/479">PR-479</a></li> <li>Support unpacking in dict comprehensions (<a href="https://github.com/mkdocstrings/griffe/commit/2d39391cb135febadf339bdea91c1113b74da145">2d39391</a> by mushitoriami). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/475">PR-475</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Forward <code>warn_missing_types</code> to Sphinx return section reader (<a href="https://github.com/mkdocstrings/griffe/commit/a15e782ed0793e06d22105beb016c10cfe0ed4b0">a15e782</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/337">Issue-mkdocstrings-python-337</a></li> <li>Make stringified expressions valid and faithful Python (<a href="https://github.com/mkdocstrings/griffe/commit/eb85f0dd8bf49f4a2400bf03face646d8f533a7c">eb85f0d</a> by Vincent Gao). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/478">PR-478</a></li> <li>Empty tuples can never be implicit (<a href="https://github.com/mkdocstrings/griffe/commit/82e728dc758f9635d2e500c13caa795b48e36d8a">82e728d</a> by Vincent Gao). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/474">PR-474</a>, Co-authored-by: Timothée Mazzucotelli <a href="mailto:dev@pawamoy.fr">dev@pawamoy.fr</a></li> <li>Render f-strings and t-strings with correct quote delimiters (<a href="https://github.com/mkdocstrings/griffe/commit/90e28d45ffc998434895c0f73af608cb12f0d6dd">90e28d4</a> by Bartosz Sławecki). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/444">Issue-444</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/455">PR-455</a></li> <li>Detect basic admonitions 'example', 'note' and 'warning' in Google/Numpy docstrings when inferring style (<a href="https://github.com/mkdocstrings/griffe/commit/f30306fa703741f976fc49576ddf95cf29ba998b">f30306f</a> by Timothée Mazzucotelli).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/griffe/commit/ecd5349aad5711c652f7b0dd08eb4c954b8d81d2"><code>ecd5349</code></a> chore: Prepare release 2.3.0</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/09a2a1323d1b4d022a4ce76a9f2839287b9c100e"><code>09a2a13</code></a> feat: Add option to give precedence to docstrings in stubs vs. source</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/e095a7cd4c239abd961f7899d7ddb17ea27caead"><code>e095a7c</code></a> fix: Preserve nested tuple parentheses</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/efa8ac1714379ff749c16c8f41111656eea0513e"><code>efa8ac1</code></a> Merge branch 'main' of github.com:mkdocstrings/griffe</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/092ac3162e1477a4b62eb875365996998adbd77d"><code>092ac31</code></a> perf: Reuse computed parent in <code>is_imported</code></li> <li><a href="https://github.com/mkdocstrings/griffe/commit/76e108206b0bceb4d30847ae5e9729fa9e8d449d"><code>76e1082</code></a> chore: Add docs for package parameter</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/8f05a4ae5587d685bea1b0c98294a047b56c8df0"><code>8f05a4a</code></a> perf: Only build debug messages at debug level</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/06cd02e63c240286d11450887cc01b0ef76d8908"><code>06cd02e</code></a> perf: Avoid creating new sets when handling labels</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/e21851e732782823006223a7f5f8111b4200a257"><code>e21851e</code></a> perf: Maintain map of AST node type to visitor function</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/b968de091afc1a4fd241f457538433ce3ada7520"><code>b968de0</code></a> perf: Avoid cyclic refs in ASTs to allow garbage-collecting them</li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/griffe/compare/1.14.0...2.3.0">compare view</a></li> </ul> </details> <br /> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcus Wood <marcuswood@openai.com>
1 parent 1e42321 commit 766b849

1 file changed

Lines changed: 71 additions & 48 deletions

File tree

0 commit comments

Comments
 (0)