Skip to content

Commit a8d10be

Browse files
Bump griffe from 1.15.0 to 2.0.2 (#523)
Bumps [griffe](https://github.com/mkdocstrings/griffe) from 1.15.0 to 2.0.2. <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.0.2</h2> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/2.0.2">2.0.2</a> - 2026-03-27</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/2.0.1...2.0.2">Compare with 2.0.1</a><!-- raw HTML omitted --></p> <h3>Build</h3> <ul> <li>Add py.typed marker to packages (<a href="https://github.com/mkdocstrings/griffe/commit/ce46ba314810e46c5168cfab220254908640d6e3">ce46ba3</a> by Timothée Mazzucotelli).</li> </ul> <h2>2.0.1</h2> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/2.0.1">2.0.1</a> - 2026-03-23</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/2.0.0...2.0.1">Compare with 2.0.0</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Allow setting type parameters through aliases (<a href="https://github.com/mkdocstrings/griffe/commit/75c1236078bdb38ccaf95330d3c635f8db3806b7">75c1236</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/449">Issue-449</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/2.0.2">2.0.2</a> - 2026-03-27</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/2.0.1...2.0.2">Compare with 2.0.1</a><!-- raw HTML omitted --></p> <h3>Build</h3> <ul> <li>Add py.typed marker to packages (<a href="https://github.com/mkdocstrings/griffe/commit/ce46ba314810e46c5168cfab220254908640d6e3">ce46ba3</a> by Timothée Mazzucotelli).</li> </ul> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/2.0.1">2.0.1</a> - 2026-03-23</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/2.0.0...2.0.1">Compare with 2.0.0</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Allow setting type parameters through aliases (<a href="https://github.com/mkdocstrings/griffe/commit/75c1236078bdb38ccaf95330d3c635f8db3806b7">75c1236</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/449">Issue-449</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/griffe/releases/tag/2.0.0">2.0.0</a> - 2026-02-09</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/griffe/compare/1.15.0...2.0.0">Compare with 1.15.0</a><!-- raw HTML omitted --></p> <h3>Breaking Changes</h3> <p>This version removes previously deprecated API:</p> <ul> <li><code>ExportedName</code>: <em>Public object was removed</em></li> <li><code>infer_docstring_style(options)</code>: <em>Parameter was removed</em></li> <li><code>parse_auto(options)</code>: <em>Parameter was removed</em></li> <li><code>parse_google(options)</code>: <em>Parameter was removed</em></li> <li><code>parse_numpy(options)</code>: <em>Parameter was removed</em></li> <li><code>parse_sphinx(options)</code>: <em>Parameter was removed</em></li> <li><code>assert_git_repo</code>: <em>Public object was removed</em></li> <li><code>get_latest_tag</code>: <em>Public object was removed</em></li> <li><code>get_repo_root</code>: <em>Public object was removed</em></li> <li><code>tmp_worktree</code>: <em>Public object was removed</em></li> </ul> <h3>Features</h3> <ul> <li>Support merging overload annotations into implementation (<a href="https://github.com/mkdocstrings/griffe/commit/584cdb52c93d4cdc02f2093f545c6c780491357e">584cdb5</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/442">Issue-442</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/443">PR-443</a></li> <li>Add support for PEP 750 template strings (<a href="https://github.com/mkdocstrings/griffe/commit/59266a9efadd3264b4a0da4b01792703097f5834">59266a9</a> by ellie). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/440">PR-440</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Keep newlines in parameter (and other multiline directives) descriptions in Sphinx docstrings (<a href="https://github.com/mkdocstrings/griffe/commit/1fde0d2317c9098055ab313c8a0a992032194830">1fde0d2</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/mkdocstrings/issues/808">Issue-mkdocstrings-808</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/438">PR-438</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>Make <code>griffe</code> imports lazy in CLI (<a href="https://github.com/mkdocstrings/griffe/commit/4772456ec728a415c52041c542ed3fd28a95b981">4772456</a> by Timothée Mazzucotelli).</li> <li>Split to <code>griffe</code>, <code>griffecli</code> and <code>griffelib</code> uv workspaces (<a href="https://github.com/mkdocstrings/griffe/commit/162c31c230d22eb87cea4ec38ed4778bbe990103">162c31c</a> by Bartosz Sławecki). <a href="https://redirect.github.com/mkdocstrings/griffe/issues/408">Issue-408</a>, <a href="https://redirect.github.com/mkdocstrings/griffe/pull/434">PR-434</a>, Co-authored-by: Timothée Mazzucotelli <a href="mailto:dev@pawamoy.fr">dev@pawamoy.fr</a></li> <li>Remove deprecated code (<a href="https://github.com/mkdocstrings/griffe/commit/dcb075e278319a523e87fd0ae3ca5d21537d665f">dcb075e</a> by Bartosz Sławecki). <a href="https://redirect.github.com/mkdocstrings/griffe/pull/433">PR-433</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>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/griffe/commit/6f30ebb60f11c419c2b0c703faa09163a39552a3"><code>6f30ebb</code></a> chore: Prepare release 2.0.2</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/ce46ba314810e46c5168cfab220254908640d6e3"><code>ce46ba3</code></a> build: Add py.typed marker to packages</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/006282cf920109782fec91f9b5c4437cfbd02bac"><code>006282c</code></a> chore: Fix publish duty</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/8df2c4061d01f8c7a3ded03d63505fef0052092a"><code>8df2c40</code></a> chore: Prepare release 2.0.1</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/1236192681a9492133efd01bcd77d018fa3d4630"><code>1236192</code></a> chore: Update ty comments</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/75c1236078bdb38ccaf95330d3c635f8db3806b7"><code>75c1236</code></a> fix: Allow setting type parameters through aliases</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/862a891818d7182204e213ef216b6b5f3c6dc106"><code>862a891</code></a> chore: Template upgrade</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/2666aaabe9b93f70c3dcde46ac284251a065a5c1"><code>2666aaa</code></a> chore: Update sponsors section in README</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/e30c32143149ab124f3ade14523201b80a9cbfd9"><code>e30c321</code></a> style: Format code for Python 3.10</li> <li><a href="https://github.com/mkdocstrings/griffe/commit/051394aa21cd0884a7480a6892c07d62bf0ca451"><code>051394a</code></a> chore: Add back title to type-check duty</li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/griffe/compare/1.15.0...2.0.2">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=1.15.0&new-version=2.0.2)](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>
2 parents 48f0401 + 32e4fce commit a8d10be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dev-mkdocs = [
6060
"mkdocstrings[python] == 1.0.4",
6161
"mkdocstrings-python == 1.18.2",
6262
"pymdownx-superfence-filter-lines == 0.1.0",
63-
"griffe==1.15.0",
63+
"griffe==2.0.2",
6464
]
6565
dev-mypy = [
6666
# For checking the noxfile, docs/ script, and tests

0 commit comments

Comments
 (0)