Skip to content

Commit ef518c0

Browse files
Bump the minor group across 1 directory with 10 updates (#121)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps the minor group with 10 updates in the / directory: | Package | From | To | | --- | --- | --- | | [flake8](https://github.com/pycqa/flake8) | `7.4.1` | `7.5.0` | | [black](https://github.com/psf/black) | `26.5.1` | `26.10.1` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.7.7` | `9.8.0` | | [mypy](https://github.com/python/mypy) | `2.3.1` | `2.4.1` | | [types-markdown](https://github.com/python/typeshed) | `3.10.2.20260712` | `3.11.2.20261029` | | [nox](https://github.com/wntrblm/nox) | `2026.8.17` | `2026.10.20` | | [pytest](https://github.com/pytest-dev/pytest) | `9.1.1` | `9.2.0` | | [pylint](https://github.com/pylint-dev/pylint) | `4.0.9` | `4.1.3` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.16.0` | `3.17.0` | | [setuptools](https://github.com/pypa/setuptools) | `84.0.0` | `84.2.1` | Updates `flake8` from 7.4.1 to 7.5.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyCQA/flake8/commit/1c7fec1973ed3a7c192dbe1e96906fbbd1dbe49e"><code>1c7fec1</code></a> Release 7.5.0</li> <li><a href="https://github.com/PyCQA/flake8/commit/548505182f03c2835e3f1c91191b45fb520c3d8f"><code>5485051</code></a> Merge pull request <a href="https://redirect.github.com/pycqa/flake8/issues/2070">#2070</a> from PyCQA/pyflakes-4-1</li> <li><a href="https://github.com/PyCQA/flake8/commit/57bf8d63e768f32649194be0da8738e04ea5ac4d"><code>57bf8d6</code></a> upgrade pyflakes to 4.1.x</li> <li><a href="https://github.com/PyCQA/flake8/commit/567f9a96d96d343f92a7155da6c78b8a64f43b68"><code>567f9a9</code></a> Merge pull request <a href="https://redirect.github.com/pycqa/flake8/issues/2068">#2068</a> from PyCQA/pre-commit-ci-update-config</li> <li><a href="https://github.com/PyCQA/flake8/commit/cd09b8f05f5a94e5de6eaa0343f6c367ffd40d20"><code>cd09b8f</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/PyCQA/flake8/commit/229f6c5387a39932db2068b20dd1018f6dbe76b1"><code>229f6c5</code></a> Merge pull request <a href="https://redirect.github.com/pycqa/flake8/issues/2064">#2064</a> from PyCQA/py311</li> <li><a href="https://github.com/PyCQA/flake8/commit/b94ed12351efe3e32e5079812401f9eda822df60"><code>b94ed12</code></a> py311+</li> <li><a href="https://github.com/PyCQA/flake8/commit/37344c62d73eccdb42bcb3ef68039a9adcf4b5b5"><code>37344c6</code></a> Merge pull request <a href="https://redirect.github.com/pycqa/flake8/issues/2066">#2066</a> from PyCQA/reusable-workflows</li> <li><a href="https://github.com/PyCQA/flake8/commit/e8df2e2c668bb2560c3ff98e7648a0f8bd790f2f"><code>e8df2e2</code></a> use reusable workflows</li> <li><a href="https://github.com/PyCQA/flake8/commit/aa6163185a877c3af633e70d9f4befe14615bc2a"><code>aa61631</code></a> Merge pull request <a href="https://redirect.github.com/pycqa/flake8/issues/2067">#2067</a> from PyCQA/fix-tox-readme</li> <li>Additional commits viewable in <a href="https://github.com/pycqa/flake8/compare/7.4.1...7.5.0">compare view</a></li> </ul> </details> <br /> Updates `black` from 26.5.1 to 26.10.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>26.10.1</h2> <h3>Highlights</h3> <p>This release fixes a security issue in Black's bundled GitHub Action. Repositories that use the action are encouraged to update to the latest version of Black immediately. This update is received automatically when using <code>psf/black@stable</code>, and is independent of the version of Black installed by the action.</p> <p>When the GitHub Action reads version specifiers from <code>tool.black.required-version</code>, it now only accepts released versions of Black, as it already did for <code>black</code> requirements in dependency lists. Other values, such as URL references, are now rejected. This issue has been registered as <code>GHSA-cg8m-r9f2-5wm2</code>; a CVE identifier is pending.</p> <h3>Stable style</h3> <ul> <li>Fix a long Jupyter notebook assignment magic (for example <code>x = !ls -la</code>) being wrapped in parentheses, which IPython can no longer run; such cells are now left unchanged (<a href="https://redirect.github.com/psf/black/issues/5481">#5481</a>)</li> <li>Keep repeated lines outside the selected <code>--line-ranges</code> unchanged (<a href="https://redirect.github.com/psf/black/issues/5436">#5436</a>)</li> <li>Fix <code>--line-ranges</code> formatting lines that follow a statement when formatting joins or re-indents that statement (<a href="https://redirect.github.com/psf/black/issues/5484">#5484</a>)</li> <li>Fix <code>--line-ranges</code> crashing with an internal error when an unselected statement has a <code># fmt: skip</code> comment on the last line before a closing bracket (<a href="https://redirect.github.com/psf/black/issues/5477">#5477</a>)</li> <li>Prevent moving an encoding declaration (for example <code># -*- coding: latin-1 -*-</code>) onto the first two lines of a file (<a href="https://redirect.github.com/psf/black/issues/5487">#5487</a>)</li> <li>Fix adding an extra trailing blank line inside a multi-line module docstring when its last line is near the line length limit (<a href="https://redirect.github.com/psf/black/issues/5494">#5494</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Do not split short expressions on delimiters (such as binary operators, comparisons, or comprehensions) inside brackets when preceded by a standalone comment (<a href="https://redirect.github.com/psf/black/issues/5455">#5455</a>)</li> <li>Fix the unstable <code>string_processing</code> feature removing backslash-newline sequences from raw strings, which changed their value (<a href="https://redirect.github.com/psf/black/issues/5482">#5482</a>)</li> <li>Avoid adding unnecessary parentheses around unbreakable right-hand side expressions in assignments (such as annotated assignments or subscript targets) (<a href="https://redirect.github.com/psf/black/issues/5473">#5473</a>)</li> <li>Parenthesize expressions with parameter comments when they exceed the line length under <code>--preview</code> (<a href="https://redirect.github.com/psf/black/issues/5442">#5442</a>)</li> <li>Fix <code>wrap_long_dict_values_in_parens</code> dropping the parentheses around a right-hand side that contains a dictionary, leaving a line over the length limit (<a href="https://redirect.github.com/psf/black/issues/5492">#5492</a>)</li> <li>Fix the unstable <code>string_processing</code> feature adding a space after <code>*</code> or <code>**</code> in a PEP 695 type parameter (<code>* Ts = ...</code>) when it splits a string in the parameter's default (<a href="https://redirect.github.com/psf/black/issues/5504">#5504</a>)</li> <li>Avoid unnecessary line splits of trailers (such as indexing/subscripts) when an earlier bracket split exceeds the line length only due to a trailing comment (<a href="https://redirect.github.com/psf/black/issues/5498">#5498</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Add <code>--cache-dir</code> to configure the cache directory from the command line (<a href="https://redirect.github.com/psf/black/issues/5433">#5433</a>)</li> <li>Don't cache a file as formatted after formatting or checking it with <code>--line-ranges</code>,</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>Version 26.10.1</h2> <h3>Highlights</h3> <p>This release fixes a security issue in Black's bundled GitHub Action. Repositories that use the action are encouraged to update to the latest version of Black immediately. This update is received automatically when using <code>psf/black@stable</code>, and is independent of the version of Black installed by the action.</p> <p>When the GitHub Action reads version specifiers from <code>tool.black.required-version</code>, it now only accepts released versions of Black, as it already did for <code>black</code> requirements in dependency lists. Other values, such as URL references, are now rejected. This issue has been registered as <code>GHSA-cg8m-r9f2-5wm2</code>; a CVE identifier is pending.</p> <h3>Stable style</h3> <ul> <li>Fix a long Jupyter notebook assignment magic (for example <code>x = !ls -la</code>) being wrapped in parentheses, which IPython can no longer run; such cells are now left unchanged (<a href="https://redirect.github.com/psf/black/issues/5481">#5481</a>)</li> <li>Keep repeated lines outside the selected <code>--line-ranges</code> unchanged (<a href="https://redirect.github.com/psf/black/issues/5436">#5436</a>)</li> <li>Fix <code>--line-ranges</code> formatting lines that follow a statement when formatting joins or re-indents that statement (<a href="https://redirect.github.com/psf/black/issues/5484">#5484</a>)</li> <li>Fix <code>--line-ranges</code> crashing with an internal error when an unselected statement has a <code># fmt: skip</code> comment on the last line before a closing bracket (<a href="https://redirect.github.com/psf/black/issues/5477">#5477</a>)</li> <li>Prevent moving an encoding declaration (for example <code># -*- coding: latin-1 -*-</code>) onto the first two lines of a file (<a href="https://redirect.github.com/psf/black/issues/5487">#5487</a>)</li> <li>Fix adding an extra trailing blank line inside a multi-line module docstring when its last line is near the line length limit (<a href="https://redirect.github.com/psf/black/issues/5494">#5494</a>)</li> <li>Preserve blank lines between imports and unselected statements when using <code>--line-ranges</code>, and ensure a blank line is added between an unselected import and a newly formatted statement (<a href="https://redirect.github.com/psf/black/issues/5493">#5493</a>)</li> <li>Keep the parentheses around a walrus that is the only item in a set (for example <code>{(x := f())}</code>) when targeting Python 3.9 or older, since Python 3.8 and 3.9.0 can't parse it without them (<a href="https://redirect.github.com/psf/black/issues/5502">#5502</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Do not split short expressions on delimiters (such as binary operators, comparisons, or comprehensions) inside brackets when preceded by a standalone comment (<a href="https://redirect.github.com/psf/black/issues/5455">#5455</a>)</li> <li>Fix the unstable <code>string_processing</code> feature removing backslash-newline sequences from raw strings, which changed their value (<a href="https://redirect.github.com/psf/black/issues/5482">#5482</a>)</li> <li>Avoid adding unnecessary parentheses around unbreakable right-hand side expressions in assignments (such as annotated assignments or subscript targets) (<a href="https://redirect.github.com/psf/black/issues/5473">#5473</a>)</li> <li>Parenthesize expressions with parameter comments when they exceed the line length under <code>--preview</code> (<a href="https://redirect.github.com/psf/black/issues/5442">#5442</a>)</li> <li>Fix <code>wrap_long_dict_values_in_parens</code> dropping the parentheses around a right-hand side that contains a dictionary, leaving a line over the length limit (<a href="https://redirect.github.com/psf/black/issues/5492">#5492</a>)</li> <li>Fix the unstable <code>string_processing</code> feature adding a space after <code>*</code> or <code>**</code> in a PEP 695 type parameter (<code>* Ts = ...</code>) when it splits a string in the parameter's default (<a href="https://redirect.github.com/psf/black/issues/5504">#5504</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/258e7dbf348bc23cb70b8cdf693481c04634ebcc"><code>258e7db</code></a> Prepare release 26.10.1 (<a href="https://redirect.github.com/psf/black/issues/5511">#5511</a>)</li> <li><a href="https://github.com/psf/black/commit/ac1f71563aeccf73cf13ece00f231d9d6c66a514"><code>ac1f715</code></a> Action: validate required-version better (<a href="https://redirect.github.com/psf/black/issues/5510">#5510</a>)</li> <li><a href="https://github.com/psf/black/commit/fe241ccc443acbabbd75c8240d2fbc06ba4e52d6"><code>fe241cc</code></a> Avoid splitting trailers when earlier bracket split exceeds length due to com...</li> <li><a href="https://github.com/psf/black/commit/4fb2897a7ac539cc14d993e3697469e2529a265e"><code>4fb2897</code></a> Bump actions/upload-artifact from 7.0.1 to 7.0.2 (<a href="https://redirect.github.com/psf/black/issues/5500">#5500</a>)</li> <li><a href="https://github.com/psf/black/commit/6d0f5575575dfc5d51e88a3b114816640e933388"><code>6d0f557</code></a> Bump actions/download-artifact from 8.0.1 to 8.0.2 (<a href="https://redirect.github.com/psf/black/issues/5501">#5501</a>)</li> <li><a href="https://github.com/psf/black/commit/c45f21d0399747189eedcc6c9a1614b3cf49dc0f"><code>c45f21d</code></a> Handle PEP 695 type parameter whitespace in whitespace() (<a href="https://redirect.github.com/psf/black/issues/5504">#5504</a>)</li> <li><a href="https://github.com/psf/black/commit/8ec61a7fb6f1961377afd28bbe71f8a2095916ac"><code>8ec61a7</code></a> Skip UTF-8 BOM when reading .gitignore (<a href="https://redirect.github.com/psf/black/issues/5497">#5497</a>)</li> <li><a href="https://github.com/psf/black/commit/c9b1148b5b8799758756cbec7c0d1ac187d37f1a"><code>c9b1148</code></a> Fix module docstring last_line_length when docstring ends with newline (<a href="https://redirect.github.com/psf/black/issues/5494">#5494</a>)</li> <li><a href="https://github.com/psf/black/commit/eb8835829969f82c2567119f528b188769f3ac6d"><code>eb88358</code></a> Parenthesize expressions with parameter comments in preview (<a href="https://redirect.github.com/psf/black/issues/3113">#3113</a>) (<a href="https://redirect.github.com/psf/black/issues/5442">#5442</a>)</li> <li><a href="https://github.com/psf/black/commit/939fa93a1327d2a5f2829e6c1d7e4bd25a17b0f7"><code>939fa93</code></a> Keep the parentheses around a right-hand side when a dict value's parentheses...</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/26.5.1...26.10.1">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.7.7 to 9.8.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p> <blockquote> <h2>mkdocs-material-9.8.0</h2> <blockquote> <p>[!WARNING]</p> <p><strong>Material for MkDocs reaches end of life on May 5, 2027.</strong> Critical fixes and security updates continue until that date.</p> <p>We're continuing our work with <a href="https://zensical.org/">Zensical</a>, a maintained successor built by the team behind Material for MkDocs. It carries forward what we've learned from building documentation tools with this community, with Markdown authoring, a familiar design, and full control over your content. Zensical is Open Source and MIT-licensed.</p> <p>You can evaluate Zensical alongside MkDocs using your existing <code>mkdocs.yml</code>. Check plugin compatibility and compare your pages, navigation, search, and customizations before switching. The <code>classic</code> theme variant preserves the appearance of Material for MkDocs. See the <a href="https://zensical.org/docs/compatibility/mkdocs/migration/">migration guide</a> for the steps and current compatibility details.</p> <p><a href="https://zensical.org/upcoming-changes/">Upcoming changes on November 5</a></p> </blockquote> <p><strong>This is primarily a security release.</strong> It raises dependency minimums to address known vulnerabilities. We recommend upgrading to this release and updating your dependency lockfiles.</p> <p><strong>Python 3.11 or newer is now required.</strong> Python 3.8–3.10 are no longer supported.</p> <ul> <li>Updated Node build-time dependencies to fix vulnerabilities</li> <li>Updated Python dependency minimums and required Python 3.11</li> <li>Removed RSS from recommended dependencies</li> <li>Updated project status and maintenance links</li> <li>Updated CLI notice with end-of-life and migration guidance</li> <li>Removed redirects from recommended dependencies</li> </ul> <p>Previous dependency ranges allowed versions with known vulnerabilities. The new minimums cover core Python dependencies and the optional <code>git</code> and <code>imaging</code> extras, including GitPython 3.2.1 or newer for the <code>git</code> extra.</p> <p>Recent releases of <code>mkdocs-rss-plugin</code> and <code>mkdocs-redirects</code> depend on ProperDocs, a separate static site generator that Material for MkDocs does not require. Removing these plugins from the <code>recommended</code> extra keeps its dependency footprint smaller and leaves the choice of additional tools to each project. If your project uses RSS feeds or redirects, declare the relevant plugin explicitly in your own dependencies.</p> <p>The CLI notice now gives the May 5, 2027 end-of-life date and links to the <a href="https://zensical.org/docs/compatibility/mkdocs/migration/">Zensical migration guide</a>. It also clarifies that third-party ProperDocs migration notices do not represent a recommendation from the Material for MkDocs team. Package metadata now marks the project as inactive and includes maintenance and migration links.</p> <p>Selected Python security advisories addressed by the new minimums:</p> <table> <thead> <tr> <th>Dependency</th> <th>Affected versions</th> <th>New minimum</th> <th>Advisory</th> </tr> </thead> <tbody> <tr> <td>Jinja2</td> <td><code>&lt;=3.1.5</code></td> <td><code>3.1.6</code></td> <td><a href="https://github.com/advisories/GHSA-cpwx-vrp4-4pq7">CVE-2025-27516</a></td> </tr> <tr> <td>Markdown</td> <td><code>&lt;3.8.1</code></td> <td><code>3.8.1</code></td> <td><a href="https://github.com/advisories/GHSA-5wmx-573v-2qwq">CVE-2025-69534</a></td> </tr> <tr> <td>Pygments</td> <td><code>&lt;2.20.0</code></td> <td><code>2.20.0</code></td> <td><a href="https://github.com/advisories/GHSA-5239-wwwm-4pmq">CVE-2026-4539</a></td> </tr> <tr> <td>PyMdown Extensions</td> <td><code>&lt;=11.0.0</code></td> <td><code>11.0.1</code></td> <td><a href="https://github.com/advisories/GHSA-gm37-52c6-37mw">CVE-2026-67422</a></td> </tr> <tr> <td>Requests</td> <td><code>&lt;2.33.0</code></td> <td><code>2.33.0</code></td> <td><a href="https://github.com/advisories/GHSA-gc5v-m9x4-r6x2">CVE-2026-25645</a></td> </tr> <tr> <td>Pillow</td> <td><code>&lt;13.0.0</code></td> <td><code>13.0.0</code></td> <td><a href="https://github.com/advisories/GHSA-p8hx-v2p6-rp84">CVE-2026-96636</a></td> </tr> <tr> <td>CairoSVG</td> <td><code>&lt;=2.9.0</code></td> <td><code>2.9.1</code></td> <td><a href="https://github.com/advisories/GHSA-c3jg-qh8m-j3h2">CVE-2026-107378</a></td> </tr> <tr> <td>GitPython</td> <td><code>&lt;=3.2.0</code></td> <td><code>3.2.1</code></td> <td><a href="https://github.com/advisories/GHSA-83vg-56qc-22m7">CVE-2026-114145</a></td> </tr> </tbody> </table> <p>Pillow and CairoSVG apply to the <code>imaging</code> extra; GitPython applies to the <code>git</code> extra.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's changelog</a>.</em></p> <blockquote> <p>mkdocs-material-9.8.0 (2026-10-24)</p> <p>This is primarily a security release. It raises dependency minimums to address known vulnerabilities. We recommend upgrading to this release and updating your dependency lockfiles.</p> <p>Python 3.11 or newer is now required. Python 3.8–3.10 are no longer supported.</p> <ul> <li>Updated Node build-time dependencies to fix vulnerabilities</li> <li>Updated Python dependency minimums and required Python 3.11</li> <li>Removed RSS from recommended dependencies</li> <li>Updated project status and maintenance links</li> <li>Updated CLI notice with end-of-life and migration guidance</li> <li>Removed redirects from recommended dependencies</li> </ul> <p>Previous dependency ranges allowed versions with known vulnerabilities. The new minimums cover core Python dependencies and the optional git and imaging extras, including GitPython 3.2.1 or newer for the git extra.</p> <p>Recent releases of mkdocs-rss-plugin and mkdocs-redirects depend on ProperDocs, a separate static site generator that Material for MkDocs does not require. Removing these plugins from the recommended extra keeps its dependency footprint smaller and leaves the choice of additional tools to each project. If your project uses RSS feeds or redirects, declare the relevant plugin explicitly in your own dependencies.</p> <p>The CLI notice now gives the May 5, 2027 end-of-life date and links to the Zensical migration guide: <a href="https://zensical.org/docs/compatibility/mkdocs/migration/">https://zensical.org/docs/compatibility/mkdocs/migration/</a></p> <p>It also clarifies that third-party ProperDocs migration notices do not represent a recommendation from the Material for MkDocs team. Package metadata now marks the project as inactive and includes maintenance and migration links.</p> <p>Selected Python security advisories addressed by the new minimums:</p> <p>Jinja2: affected &lt;=3.1.5; new minimum 3.1.6 (CVE-2025-27516) <a href="https://github.com/advisories/GHSA-cpwx-vrp4-4pq7">https://github.com/advisories/GHSA-cpwx-vrp4-4pq7</a></p> <p>Markdown: affected &lt;3.8.1; new minimum 3.8.1 (CVE-2025-69534) <a href="https://github.com/advisories/GHSA-5wmx-573v-2qwq">https://github.com/advisories/GHSA-5wmx-573v-2qwq</a></p> <p>Pygments: affected &lt;2.20.0; new minimum 2.20.0 (CVE-2026-4539) <a href="https://github.com/advisories/GHSA-5239-wwwm-4pmq">https://github.com/advisories/GHSA-5239-wwwm-4pmq</a></p> <p>PyMdown Extensions: affected &lt;=11.0.0; new minimum 11.0.1 (CVE-2026-67422) <a href="https://github.com/advisories/GHSA-gm37-52c6-37mw">https://github.com/advisories/GHSA-gm37-52c6-37mw</a></p> <p>Requests: affected &lt;2.33.0; new minimum 2.33.0 (CVE-2026-25645) <a href="https://github.com/advisories/GHSA-gc5v-m9x4-r6x2">https://github.com/advisories/GHSA-gc5v-m9x4-r6x2</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0f72ad68d1bee212f909f3b82e0189e221b06374"><code>0f72ad6</code></a> Merge pull request <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/8615">#8615</a> from squidfunk/fix/security</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/85a048db32339ebad55b67b905f2ffb3f15b8fa0"><code>85a048d</code></a> Documentation</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/10c572eb70d1aef456a11f1fe2b0663388d70876"><code>10c572e</code></a> Prepare 9.8.0 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/dd8a7ef00afd76d3c413b5b1eab3ca7685b3350e"><code>dd8a7ef</code></a> Cleaned up unused assets</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/8771cef607ca69727b4ce4b1a1e2b27375260325"><code>8771cef</code></a> Updated README</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/7c9a1ccee2c0305b7f26579b744e5a5d3b100495"><code>7c9a1cc</code></a> Updated changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/3ce93104a3efbc95a9aa3a6a8815296bf8127b24"><code>3ce9310</code></a> Removed redirects from recommended dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0b77e8f999b19502b927779c78d763fcf60bbfb8"><code>0b77e8f</code></a> Updated CLI notice with end-of-life and migration guidance</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/66e4f9c7d83ade9d565e9c712f4a49896101bc41"><code>66e4f9c</code></a> Updated project status and maintenance links</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/1ed13d25e2da6c790c26df8ec3c079df827b3a8d"><code>1ed13d2</code></a> Removed RSS from recommended dependencies</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.7.7...9.8.0">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 2.3.1 to 2.4.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h3>Mypy 2.4.1</h3> <ul> <li>Process overloads as a whole in two-phase type checking (Ivan Levkivskyi, PR <a href="https://redirect.github.com/python/mypy/pull/22231">22231</a>)</li> <li>Skip recursive setup for frame-private nested functions in mypyc (Piotr Sawicki, PR <a href="https://redirect.github.com/python/mypy/pull/22187">22187</a>)</li> </ul> <h3>Acknowledgements</h3> <p>Thanks to all mypy contributors who contributed to this release:</p> <ul> <li>A5rocks</li> <li>Adam Dangoor</li> <li>Alex Waygood</li> <li>Ali Hamdan</li> <li>Brian Helba</li> <li>Chad Dombrova</li> <li>David Foster</li> <li>dnwpark</li> <li>Edgar Ramírez Mondragón</li> <li>Giorgos Michas</li> <li>Ivan Levkivskyi</li> <li>Jelle Zijlstra</li> <li>Jukka Lehtosalo</li> <li>Marc Mueller</li> <li>Michael R. Crusoe</li> <li>NIYONSHUTI Emmanuel</li> <li>Piotr Sawicki</li> <li>Shantanu</li> <li>themylogin</li> <li>Vaggelis Danias</li> <li>Willy Bruns</li> </ul> <p>I'd also like to thank my employer, Dropbox, for supporting mypy development.</p> <h2>Mypy 2.3</h2> <p>We've just uploaded mypy 2.3.0 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h3>The Upcoming Switch to the New Native Parser</h3> <p>We are planning to enable the new native parser (<code>--native-parser</code>) by default soon. We recommend that you test the native parser in your projects and report any issues in the <a href="https://github.com/python/mypy/issues">mypy issue tracker</a>.</p> <h3>Mypyc Free-threading Memory Safety</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/ad02a35e623d105ab7340f75558716bc09f8242e"><code>ad02a35</code></a> Skip test for 2.4.1</li> <li><a href="https://github.com/python/mypy/commit/cad77940d17e71560baae17c104fc2cc4be77c12"><code>cad7794</code></a> Finalize version to 2.4.1</li> <li><a href="https://github.com/python/mypy/commit/d9cbcbc4a74a0485b991c3bd4bee90fa22d4ef4d"><code>d9cbcbc</code></a> Add changelog for Mypy 2.4.1 (<a href="https://redirect.github.com/python/mypy/issues/22310">#22310</a>)</li> <li><a href="https://github.com/python/mypy/commit/2860baa32522aa627f0dcc7dea5be91f3ffd3bb3"><code>2860baa</code></a> Process overloads as a whole in two-phase type-checking (<a href="https://redirect.github.com/python/mypy/issues/22231">#22231</a>)</li> <li><a href="https://github.com/python/mypy/commit/9b3e30731a9b4e40db18dd4ea9d08b6f027db197"><code>9b3e307</code></a> [mypyc] Skip recursive setup for frame-private nested functions (<a href="https://redirect.github.com/python/mypy/issues/22187">#22187</a>)</li> <li><a href="https://github.com/python/mypy/commit/10ad5f6508c3b23d97ccbf4f8797360f98dd8695"><code>10ad5f6</code></a> Bump ast-serialize to 0.12.1 (<a href="https://redirect.github.com/python/mypy/issues/22093">#22093</a>)</li> <li><a href="https://github.com/python/mypy/commit/350052f1d5a40652187603286ccda44ee1ba9592"><code>350052f</code></a> Bump ast-serialize to 0.12.0 (<a href="https://redirect.github.com/python/mypy/issues/22087">#22087</a>)</li> <li><a href="https://github.com/python/mypy/commit/f7d08cfa78f3b4026958c5d0ac6f4a92db81db73"><code>f7d08cf</code></a> Bump version to 2.4.1+dev</li> <li><a href="https://github.com/python/mypy/commit/935ba8afba7ceacca0651579450c74339f343016"><code>935ba8a</code></a> Bump version to 2.4.0</li> <li><a href="https://github.com/python/mypy/commit/334a678967dc6bcda3d3f8cb82e253dd61fa2be9"><code>334a678</code></a> Add link for PR 22066 in mypy 2.4 changelog (<a href="https://redirect.github.com/python/mypy/issues/22082">#22082</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v2.3.1...v2.4.1">compare view</a></li> </ul> </details> <br /> Updates `types-markdown` from 3.10.2.20260712 to 3.11.2.20261029 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `nox` from 2026.8.17 to 2026.10.20 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/wntrblm/nox/releases">nox's releases</a>.</em></p> <blockquote> <h2>2026.10.20 🐍</h2> <p>Parallel mode no longer prints an &quot;experimental&quot; banner, and sessions can check <code>session.parallel</code> to see if they run in a parallel worker. A new <code>rattler</code> backend uses py-rattler (install with the <code>nox[rattler]</code> extra), so you can request fast conda-style environments in a <code>/// script</code> block. Python versions read from classifiers now include free-threaded builds when the free-threading classifier is present, and are deduplicated. A single-argument <code>@nox.parametrize</code> now accepts ranges and other iterators, and the <code>rattler</code> backend loads config from the default locations. The GitHub Action now defaults to Python 3.11-3.15. This release also fixes several bugs in script mode, option handling, and <code>tox-to-nox</code>.</p> <p>We'd like to thank the following folks who contributed to this release:</p> <ul> <li><a href="https://github.com/henryiii"><code>@​henryiii</code></a></li> <li><a href="https://github.com/Himanshuagrawal4"><code>@​Himanshuagrawal4</code></a></li> <li><a href="https://github.com/Arthur031221"><code>@​Arthur031221</code></a> (first contribution)</li> <li><a href="https://github.com/devtechedge"><code>@​devtechedge</code></a> (first contribution)</li> <li><a href="https://github.com/dylanpulver"><code>@​dylanpulver</code></a> (first contribution)</li> <li><a href="https://github.com/leodevian"><code>@​leodevian</code></a> (first contribution)</li> <li><a href="https://github.com/muneikh"><code>@​muneikh</code></a> (first contribution)</li> <li><a href="https://github.com/nickita-khylkouski"><code>@​nickita-khylkouski</code></a> (first contribution)</li> <li><a href="https://github.com/pcbeingused333"><code>@​pcbeingused333</code></a> (first contribution)</li> <li><a href="https://github.com/r3wretrhy"><code>@​r3wretrhy</code></a> (first contribution)</li> <li><a href="https://github.com/Rodrigo-Palma"><code>@​Rodrigo-Palma</code></a> (first contribution)</li> <li><a href="https://github.com/xiehuanyi"><code>@​xiehuanyi</code></a> (first contribution)</li> </ul> <p>Features:</p> <ul> <li>Remove the experimental banner from <code>--parallel</code> by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1197">wntrblm/nox#1197</a></li> <li>Expose parallel execution state on sessions by <a href="https://github.com/nickita-khylkouski"><code>@​nickita-khylkouski</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1182">wntrblm/nox#1182</a></li> <li>Add py-rattler support by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1179">wntrblm/nox#1179</a></li> <li>Add free-threaded versions from classifiers by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1185">wntrblm/nox#1185</a></li> <li>Expand ranges and iterators in single-argument parametrization by <a href="https://github.com/muneikh"><code>@​muneikh</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1206">wntrblm/nox#1206</a></li> <li><code>rattler</code>: load config from default locations by <a href="https://github.com/leodevian"><code>@​leodevian</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1204">wntrblm/nox#1204</a></li> <li>GitHub Action: default to Python 3.11-3.15 by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1205">wntrblm/nox#1205</a></li> </ul> <p>Fixes:</p> <ul> <li>Respect directory boundaries when classifying external commands by <a href="https://github.com/xiehuanyi"><code>@​xiehuanyi</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1207">wntrblm/nox#1207</a></li> <li>Walk a dependency's mandatory requirements even without extras by <a href="https://github.com/Arthur031221"><code>@​Arthur031221</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1192">wntrblm/nox#1192</a></li> <li>Don't call <code>install()</code> when a script declares no dependencies by <a href="https://github.com/Rodrigo-Palma"><code>@​Rodrigo-Palma</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1188">wntrblm/nox#1188</a></li> <li>Read script metadata after a UTF-8 BOM by <a href="https://github.com/pcbeingused333"><code>@​pcbeingused333</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1211">wntrblm/nox#1211</a></li> <li>Deduplicate the python list of a session by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1187">wntrblm/nox#1187</a></li> <li>Accept tuples for list-valued options by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1176">wntrblm/nox#1176</a></li> <li>Fall back to ASCII for the parallel banner and status header by <a href="https://github.com/dylanpulver"><code>@​dylanpulver</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1180">wntrblm/nox#1180</a></li> <li><code>tox-to-nox</code>: drop env vars that tox 4.64.8+ lists in <code>set_env</code> by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1201">wntrblm/nox#1201</a></li> <li><code>tox-to-nox</code>: keep quoted paths when converting commands by <a href="https://github.com/r3wretrhy"><code>@​r3wretrhy</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1181">wntrblm/nox#1181</a></li> </ul> <p>Documentation:</p> <ul> <li>Clarify supported session Python versions by <a href="https://github.com/Himanshuagrawal4"><code>@​Himanshuagrawal4</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1171">wntrblm/nox#1171</a></li> </ul> <p>Internal changes:</p> <ul> <li>Isolate envdirs and relax duration checks to fix flaky CI by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1208">wntrblm/nox#1208</a></li> <li>Run test sessions in parallel steps in CI by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1200">wntrblm/nox#1200</a></li> <li>Give <code>test_interrupt_handled</code> child more time to exit by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1202">wntrblm/nox#1202</a></li> <li>Keep existing <code>PYTHONPATH</code> in <code>test_noxfile_script_mode</code> by <a href="https://github.com/devtechedge"><code>@​devtechedge</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1190">wntrblm/nox#1190</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/wntrblm/nox/blob/main/CHANGELOG.md">nox's changelog</a>.</em></p> <blockquote> <h2>2026.10.20</h2> <p>Parallel mode no longer prints an &quot;experimental&quot; banner, and sessions can check <code>session.parallel</code> to see if they run in a parallel worker. A new <code>rattler</code> backend uses py-rattler (install with the <code>nox[rattler]</code> extra), so you can request fast conda-style environments in a <code>/// script</code> block. Python versions read from classifiers now include free-threaded builds when the free-threading classifier is present, and are deduplicated. A single-argument <code>@nox.parametrize</code> now accepts ranges and other iterators, and the <code>rattler</code> backend loads config from the default locations. The GitHub Action now defaults to Python 3.11-3.15. This release also fixes several bugs in script mode, option handling, and <code>tox-to-nox</code>.</p> <p>We'd like to thank the following folks who contributed to this release:</p> <ul> <li><a href="https://github.com/henryiii"><code>@​henryiii</code></a></li> <li><a href="https://github.com/Himanshuagrawal4"><code>@​Himanshuagrawal4</code></a></li> <li><a href="https://github.com/Arthur031221"><code>@​Arthur031221</code></a> (first contribution)</li> <li><a href="https://github.com/devtechedge"><code>@​devtechedge</code></a> (first contribution)</li> <li><a href="https://github.com/dylanpulver"><code>@​dylanpulver</code></a> (first contribution)</li> <li><a href="https://github.com/leodevian"><code>@​leodevian</code></a> (first contribution)</li> <li><a href="https://github.com/muneikh"><code>@​muneikh</code></a> (first contribution)</li> <li><a href="https://github.com/nickita-khylkouski"><code>@​nickita-khylkouski</code></a> (first contribution)</li> <li><a href="https://github.com/pcbeingused333"><code>@​pcbeingused333</code></a> (first contribution)</li> <li><a href="https://github.com/r3wretrhy"><code>@​r3wretrhy</code></a> (first contribution)</li> <li><a href="https://github.com/Rodrigo-Palma"><code>@​Rodrigo-Palma</code></a> (first contribution)</li> <li><a href="https://github.com/xiehuanyi"><code>@​xiehuanyi</code></a> (first contribution)</li> </ul> <p>Features:</p> <ul> <li>Remove the experimental banner from <code>--parallel</code> by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1197">wntrblm/nox#1197</a></li> <li>Expose parallel execution state on sessions by <a href="https://github.com/nickita-khylkouski"><code>@​nickita-khylkouski</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1182">wntrblm/nox#1182</a></li> <li>Add py-rattler support by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1179">wntrblm/nox#1179</a></li> <li>Add free-threaded versions from classifiers by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1185">wntrblm/nox#1185</a></li> <li>Expand ranges and iterators in single-argument parametrization by <a href="https://github.com/muneikh"><code>@​muneikh</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1206">wntrblm/nox#1206</a></li> <li><code>rattler</code>: load config from default locations by <a href="https://github.com/leodevian"><code>@​leodevian</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1204">wntrblm/nox#1204</a></li> <li>GitHub Action: default to Python 3.11-3.15 by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1205">wntrblm/nox#1205</a></li> </ul> <p>Fixes:</p> <ul> <li>Respect directory boundaries when classifying external commands by <a href="https://github.com/xiehuanyi"><code>@​xiehuanyi</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1207">wntrblm/nox#1207</a></li> <li>Walk a dependency's mandatory requirements even without extras by <a href="https://github.com/Arthur031221"><code>@​Arthur031221</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1192">wntrblm/nox#1192</a></li> <li>Don't call <code>install()</code> when a script declares no dependencies by <a href="https://github.com/Rodrigo-Palma"><code>@​Rodrigo-Palma</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1188">wntrblm/nox#1188</a></li> <li>Read script metadata after a UTF-8 BOM by <a href="https://github.com/pcbeingused333"><code>@​pcbeingused333</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1211">wntrblm/nox#1211</a></li> <li>Deduplicate the python list of a session by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1187">wntrblm/nox#1187</a></li> <li>Accept tuples for list-valued options by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1176">wntrblm/nox#1176</a></li> <li>Fall back to ASCII for the parallel banner and status header by <a href="https://github.com/dylanpulver"><code>@​dylanpulver</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1180">wntrblm/nox#1180</a></li> <li><code>tox-to-nox</code>: drop env vars that tox 4.64.8+ lists in <code>set_env</code> by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1201">wntrblm/nox#1201</a></li> <li><code>tox-to-nox</code>: keep quoted paths when converting commands by <a href="https://github.com/r3wretrhy"><code>@​r3wretrhy</code></a> in <a href="https://redirect.github.com/wntrblm/nox/pull/1181">wntrblm/nox#1181</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/wntrblm/nox/commit/afa3983bbac3143bab5c8406244327581f76a3d7"><code>afa3983</code></a> docs: prepare 2026.10.13 release notes (<a href="https://redirect.github.com/wntrblm/nox/issues/1203">#1203</a>)</li> <li><a href="https://github.com/wntrblm/nox/commit/06784f1423d4b8f1dc45bb0de51f07a7836560d5"><code>06784f1</code></a> fix: read script metadata after a UTF-8 BOM (<a href="https://redirect.github.com/wntrblm/nox/issues/1211">#1211</a>)</li> <li><a href="https://github.com/wntrblm/nox/commit/c8e1d6f060724814887199d375f69b3e9c1e9d88"><code>c8e1d6f</code></a> test: fix flaky autospec of lazy-imported logger on 3.15 (<a href="https://redirect.github.com/wntrblm/nox/issues/1209">#1209</a>)</li> <li><a href="https://github.com/wntrblm/nox/commit/db686a0e52d32a29e8b7e25b9151e5e36e42edc1"><code>db686a0</code></a> feat: expand ranges and iterators in single-argument parametrization (<a href="https://redirect.github.com/wntrblm/nox/issues/1206">#1206</a>)</li> <li><a href="https://github.com/wntrblm/nox/commit/76aec97127c24fd9fa2341b388444272d634e4c8"><code>76aec97</code></a> test: isolate envdirs and relax duration checks to fix flaky CI (<a href="https://redirect.github.com/wntrblm/nox/issues/1208">#1208</a>)</li> <li><a href="https://github.com/wntrblm/nox/commit/2b9fea6fa210104b541dc4ae0d58145f26722589"><code>2b9fea6</code></a> feat(rattler): load config from default locations (<a href="https://redirect.github.com/wntrblm/nox/issues/1204">#1204</a>)</li> <li><a href="https://github.com/wntrblm/nox/commit/1c52fa7dd86e0dd95f141ff0f99b356631a5539e"><code>1c52fa7</code></a> fix: respect directory boundaries when classifying external commands (<a href="https://redirect.github.com/wntrblm/nox/issues/1207">#1207</a>)</li> <li><a href="https://github.com/wntrblm/nox/commit/7725663ecfee44116878dd6958dea2dae8eeb523"><code>7725663</code></a> feat(action): default to 3.11-3.15 (<a href="https://redirect.github.com/wntrblm/nox/issues/1205">#1205</a>)</li> <li><a href="https://github.com/wntrblm/nox/commit/f85c5ef45193b652f43f36af098c77c345152eb9"><code>f85c5ef</code></a> ci: run test sessions in parallel steps (<a href="https://redirect.github.com/wntrblm/nox/issues/1200">#1200</a>)</li> <li><a href="https://github.com/wntrblm/nox/commit/b3e56bae321e29e54dce5229738627a5290dd6d2"><code>b3e56ba</code></a> test: give test_interrupt_handled child more time to exit (<a href="https://redirect.github.com/wntrblm/nox/issues/1202">#1202</a>)</li> <li>Additional commits viewable in <a href="https://github.com/wntrblm/nox/compare/2026.08.17...2026.10.20">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 9.1.1 to 9.2.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>9.2.0</h2> <h1>pytest 9.2.0 (2026-10-27)</h1> <h2>Removals and backward incompatible breaking changes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/14716">#14716</a>: <code>-c</code> now raises a usage error for a path that does not exist, is a directory, or is in a format pytest has no loader for. Such paths were previously either ignored or reported as an unhandled <code>FileNotFoundError</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/8593">#8593</a>: The <code>indirect</code>, <code>ids</code> and <code>scope</code> arguments of <code>Metafunc.parametrize() &lt;pytest.Metafunc.parametrize&gt;</code> -- and therefore of <code>@pytest.mark.parametrize &lt;pytest.mark.parametrize ref&gt;</code> -- are now keyword-only.</p> <p>Passing them positionally was a common source of confusing errors, e.g. <code>parametrize(&quot;arg1&quot;, &quot;arg2&quot;, [(1, 2)])</code> made the argvalues land in <code>indirect</code> and failed with <code>indirect fixture '(1, 2)' doesn't exist</code>; such mistakes now fail with an understandable <code>TypeError</code>. The type annotations have always declared these arguments as keyword-only.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/993">#993</a>: Plugin import failures at startup are now reported and classified instead of escaping as a raw traceback with the accidental exit code <code>1</code>:</p> <ul> <li>a plugin that cannot be found -- via <code>-p</code>, <code>pytest_plugins</code> or <code>PYTEST_PLUGINS</code> -- exits with <code>pytest.ExitCode</code> <code>USAGE_ERROR</code> (<code>4</code>), like a <code>conftest.py</code> that fails to import;</li> <li>a plugin that is found but raises while importing -- including a broken <code>pytest11</code> entry point or a missing plugin dependency -- exits with <code>pytest.ExitCode</code> <code>INTERNAL_ERROR</code> (<code>3</code>), with the traceback preserved.</li> </ul> <p><code>pytest.main</code> now returns these codes instead of raising <code>ImportError</code>. Also fixed an <code>IndexError</code> from pytest's own internals when the plugin raised an exception with no arguments.</p> </li> </ul> <h2>Deprecations (removal in next major release)</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/14742">#14742</a>: The private <code>_pytest.python.CallSpec2</code> name has been renamed to <code>CallSpec</code>. The old <code>CallSpec2</code> alias remains available for now and will be removed in pytest 10 or 11.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/14755">#14755</a>: Schedule <em>yield_fixture</em> decorator for removal in pytest 10 or 11.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/14774">#14774</a>: Similarly to the deprecation of class-scoped fixtures defined as instance methods in pytest 9.1, <em>all</em> higher-scoped fixtures (<code>module</code>, <code>package</code>, and <code>session</code>) defined as instance methods are now deprecated.</p> <p>They suffer from the same issue the original deprecation only fixed for class-scoped fixtures, see <code>10819</code> and <code>14011</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/14808">#14808</a>: Passing a non-string value to a <code>string</code>-typed ini option now emits a <code>pytest.PytestRemovedIn10Warning</code>. This affects <code>[tool.pytest.ini_options]</code> in <code>pyproject.toml</code>. In pytest 10 this will raise a <code>TypeError</code>, matching the behavior of the corresponding TOML config path.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/7323">#7323</a>: Passing <code>bytes</code> to <code>TerminalReporter.write_line()</code> is now deprecated, pass a <code>str</code> instead.</p> </li> </ul> <h2>New features</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/14743">#14743</a>: <!-- raw HTML omitted -->Full diff:<!-- raw HTML omitted --> now contains a legend explaining the <!-- raw HTML omitted -->+<!-- raw HTML omitted --> &amp; <!-- raw HTML omitted -->-<!-- raw HTML omitted --> symbols in diff output.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/2781">#2781</a>: When <code>strict_markers</code> is enabled, marker names used in <code>-m</code> expressions are now validated against registered markers.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/6881">#6881</a>: Added the <code>parametrize_long_str_id_strategy</code> configuration option to control how long <code>str</code>/<code>bytes</code> parameter values are handled in auto-generated test IDs. Explicit IDs set via <code>ids=[...]</code> or <code>pytest.param(..., id=...)</code> are not affected. Available strategies: <code>short</code> (default, values over 100 chars fall back to <code>argname+index</code>), <code>sha256</code> (SHA-256 hex digest), <code>legacy</code> (keep full value), and <code>disallow</code> (error requesting explicit IDs).</li> </ul> <h2>Improvements in existing functionality</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/10745">#10745</a>: A <code>RecursionError</code> whose recursion origin cannot be located now shows only the first and last 10 stack frames, matching what pytest already did when locating the origin failed outright. Previously the full traceback -- often around a thousand near-identical frames -- was rendered, which was both slow and unreadable. Pass <code>--full-trace</code> to see every frame.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/ae1d0ff57b8bd4252da9ade7353523ac0ac73281"><code>ae1d0ff</code></a> Prepare release version 9.2.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/143ce31dea9b12ff2ab6add04361ee01ab114931"><code>143ce31</code></a> pre-commit: exclude codespell on generated release announcements</li> <li><a href="https://github.com/pytest-dev/pytest/commit/532dc5fc78f57de5115c5ecc9c6c29257787ada7"><code>532dc5f</code></a> tox: add attrs dependency to regen, needed in reportingdemo.rst</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a7b2446ee41a7298d3a0bc22c52f3b8bacae1566"><code>a7b2446</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/15245">#15245</a> from pytest-dev/claude/project-thread-9jcf91</li> <li><a href="https://github.com/pytest-dev/pytest/commit/679d09c6945156746e17e9ec0b1c8309bbde3ad3"><code>679d09c</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest/issues/15266">#15266</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/41d12cdbb4a35a7877768d93d8dc50a9117a8d8c"><code>41d12cd</code></a> docs: clarify typing for yield fixtures</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b9022ba04a33bfc76b5c9aefb8974755a80bf5ce"><code>b9022ba</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/15182">#15182</a> from 1871698/docs/improve-getting-started-description</li> <li><a href="https://github.com/pytest-dev/pytest/commit/16f87a7f364a7362fbfbb204c79a47ad567b4fbd"><code>16f87a7</code></a> docs: improve getting-started.rst test execution description</li> <li><a href="https://github.com/pytest-dev/pytest/commit/082ed70e314ee8e1ab117763d17fe801648f7508"><code>082ed70</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/15255">#15255</a> from pytest-dev/claude/project-thread-eoi3d6</li> <li><a href="https://github.com/pytest-dev/pytest/commit/ae37a013763e9c4a143245eda1acdc3c27961685"><code>ae37a01</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/15227">#15227</a> from pytest-dev/claude/project-thread-4etye4</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/9.1.1...9.2.0">compare view</a></li> </ul> </details> <br /> Updates `pylint` from 4.0.9 to 4.1.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pylint-dev/pylint/releases">pylint's releases</a>.</em></p> <blockquote> <h2>v4.1.3</h2> <h2>What's new in Pylint 4.1.3?</h2> <p>Release date: 2026-10-11</p> <h2>False Positives Fixed</h2> <ul> <li> <p>Fixed a false positive for <code>attribute-defined-outside-init</code> when an attribute is assigned inside the setter of an old-style, non-decorator <code>property(fget, fset)</code> call. The decorator form (<code>@property</code> / <code>@x.setter</code>) was already exempted by the fix for <a href="https://redirect.github.com/pylint-dev/pylint/issues/409">#409</a>; the classic call form was not.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/3325">#3325</a></p> </li> <li> <p>Fix a false positive for <code>used-before-assignment</code> when a name bound by an earlier target of the same assignment is used by a later target, as in <code>a = b[a] = 0</code>.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/5955">#5955</a></p> </li> <li> <p>Fix a <code>no-member</code> false positive in a comprehension inside a branch that cannot run, such as <code>if sys.platform == &quot;win32&quot;:</code> on Linux. Like the rest of the branch, the comprehension is no longer checked for missing members.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/7240">#7240</a></p> </li> <li> <p>Fix a false positive for <code>used-before-assignment</code> when a name bound by a tuple or list target of a <code>with</code> item is used by a later item of the same <code>with</code> statement.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/7545">#7545</a></p> </li> <li> <p>Fix false positives such as <code>not-callable</code>, <code>not-an-iterable</code>, <code>unpacking-non-sequence</code> and <code>no-member</code> on the result of a function whose body is only <code>...</code>, like <code>@overload</code> and <code>.pyi</code> stubs. Such calls were inferred as returning <code>None</code>. This affected <code>sqlalchemy.func</code>, <code>pydantic.Field</code>, and the <code>torch</code> functions wrapped by <code>_add_docstr</code>, such as <code>torch.linalg.qr</code>.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/8138">#8138</a> Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/9218">#9218</a> Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/9354">#9354</a> Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/10087">#10087</a></p> </li> <li> <p>Fix a false positive for <code>protected-access</code> when a subclass of a subscripted generic base, such as <code>class Child(Parent[T])</code>, accesses a protected member through that base, such as <code>Parent._foo(self)</code>.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/8600">#8600</a></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pylint-dev/pylint/commit/e75de10c69103381c875601f638d4b977ff0fcaf"><code>e75de10</code></a> Bump pylint to 4.1.3, update changelog (<a href="https://redirect.github.com/pylint-dev/pylint/issues/11637">#11637</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/591f6e2b9a258f3a069df9b9af56eb730bcea825"><code>591f6e2</code></a> [Backport maintenance/4.1.x] Fix protected-access false positive through a su...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/a537920085b9d92abd54000b674d941063e52030"><code>a537920</code></a> [Backport maintenance/4.1.x] Ignore discard variable type redefinitions (<a href="https://redirect.github.com/pylint-dev/pylint/issues/11635">#11635</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/4a8f61ca7c216f8cde5b98faca5590154487eb00"><code>4a8f61c</code></a> [Backport maintenance/4.1.x] Fix duplicate-code crash when min-similarity-lin...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/41fa1c4ccf7f24ff7e653846a76305500df9ae66"><code>41fa1c4</code></a> [Backport maintenance/4.1.x] [pyreverse] Fix hang/RecursionError with --all-a...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/a05e2f340808daab0fa775cbc39c3ce00e89f576"><code>a05e2f3</code></a> [Backport maintenance/4.1.x] Fix <code>used-before-assignment</code> false positive for ...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/ea7996b00280e3b8e5fcd9dc4e8e122466abff6a"><code>ea7996b</code></a> [Backport maintenance/4.1.x] Error when several output formats write to stdou...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/479c0379366e482cda6d842b5d4cca0a52370939"><code>479c037</code></a> [Backport maintenance/4.1.x] Fix IndexError when Enum <strong>init</strong> has no argumen...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/e6aa780ba6e393a517556000cc81961996585cad"><code>e6aa780</code></a> [Backport maintenance/4.1.x] Fix unreachable false positive for raising gener...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/fc58d0b4aa48eedc03776416998d70dda61dfe48"><code>fc58d0b</code></a> [Backport maintenance/4.1.x] Fix pyreverse crash on classes with EmptyNode in...</li> <li>Additional commits viewable in <a href="https://github.com/pylint-dev/pylint/compare/v4.0.9...v4.1.3">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.16.0 to 3.17.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-mock/releases">pytest-mock's releases</a>.</em></p> <blockquote> <h2>v3.17.0</h2> <p><em>2026-10-17</em></p> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/641">#641</a>: Failures of mock assertions such as <code>assert_called_with</code> are again reported only once, instead of two or three times with the original error from the <code>mock</code> module chained before them.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/642">#642</a>: Mock assertion failures no longer show misleading introspection when they are not about the arguments of the last call: <code>assert_called</code>, <code>assert_called_once</code>, <code>assert_not_called</code>, <code>assert_any_call</code>, their <code>await</code> counterparts, and <code>assert_called_once_with</code>/<code>assert_awaited_once_with</code> when the mock was not called (awaited) exactly once. The introspection also no longer reports arguments passed by position versus by keyword as different for autospecced mocks, and no longer shows empty <code>Args:</code>/<code>Kwargs:</code> sections when assertion rewriting is not available.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/643">#643</a>: <code>assert_has_calls</code> and <code>assert_has_awaits</code> failures no longer show pytest introspection, which compared the expected and actual calls position by position and so reported differences between unrelated calls. The mock's own message, listing the expected and actual calls, is still shown.</li> </ul> <h2>v3.16.1</h2> <p><em>2026-10-17</em></p> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/617">#617</a>: Fixed <code>assert_has_calls</code> raising <code>ValueError</code> instead of <code>AssertionError</code> (or showing misleading introspection) when the expected calls are plain tuples rather than <code>call(...)</code> objects, such as <code>(args, kwargs)</code> entries of another mock's <code>call_args_list</code>, <code>(args,)</code>, <code>(kwargs,)</code>, <code>(name, args)</code> or <code>(name, kwargs)</code>.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/621">#621</a>: Fixed <code>mocker.stop()</code> sometimes stopping the wrong mock, for example with mocks from <code>mocker.create_autospec</code>.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/621">#621</a>: <code>mocker.stop()</code> now undoes the most recent patch first when the same object is used in several patches.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/623">#623</a>: Fixed misleading introspection in <code>assert_has_awaits</code> failures, and <code>assert_has_calls</code>/<code>assert_has_awaits</code> raising <code>IndexError</code> instead of <code>AssertionError</code> when <code>calls</code> is passed by keyword.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/624">#624</a>: Clear <code>spy_return_iter</code> after a spied synchronous or asynchronous function raises, matching <code>spy_return</code>.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/627">#627</a>: Document <code>async_stub</code> await assertions and the distinction between call and await tracking.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/629">#629</a>: Fixed <code>mocker.resetall()</code> skipping the mocks patched with <code>mocker.patch.multiple()</code>, both the ones it creates and the ones passed explicitly.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/630">#630</a>: <code>mocker.resetall()</code> now also resets <code>spy_return</code> and <code>spy_exception</code> of spies, like it already did for <code>spy_return_list</code> and <code>spy_return_iter</code>, and no longer overwrites attributes with these names on mocks that are not spies.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/633">#633</a>: Fixed spies on <code>classmethod</code>, <code>staticmethod</code>, builtins and classes returning a <code>MagicMock</code> instead of calling the spied code after <code>mocker.resetall(side_effect=True)</code>. Resetting a spy's <code>side_effect</code> now goes back to calling the spied code, also clearing any <code>side_effect</code> set on the spy.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst">pytest-mock's changelog</a>.</em></p> <blockquote> <h2>3.17.0</h2> <p><em>2026-10-17</em></p> <ul> <li><code>[#641](https://github.com/pytest-dev/pytest-mock/issues/641) &lt;https://github.com/pytest-dev/pytest-mock/pull/641&gt;</code>_: Failures of mock assertions such as <code>assert_called_with</code> are again reported only once, instead of two or three times with the original error from the <code>mock</code> module chained before them.</li> <li><code>[#642](https://github.com/pytest-dev/pytest-mock/issues/642) &lt;https://github.com/pytest-dev/pytest-mock/pull/642&gt;</code>_: Mock assertion failures no longer show misleading introspection when they are not about the arguments of the last call: <code>assert_called</code>, <code>assert_called_once</code>, <code>assert_not_called</code>, <code>assert_any_call</code>, their <code>await</code> counterparts, and <code>assert_called_once_with</code>/<code>assert_awaited_once_with</code> when the mock was not called (awaited) exactly once. The introspection also no longer reports arguments passed by position versus by keyword as different for autospecced mocks, and no longer shows empty <code>Args:</code>/<code>Kwargs:</code> sections when assertion rewriting is not available.</li> <li><code>[#643](https://github.com/pytest-dev/pytest-mock/issues/643) &lt;https://github.com/pytest-dev/pytest-mock/pull/643&gt;</code>_: <code>assert_has_calls</code> and <code>assert_has_awaits</code> failures no longer show pytest introspection, which compared the expected and actual calls position by position and so reported differences between unrelated calls. The mock's own message, listing the expected and actual calls, is still shown.</li> </ul> <h2>3.16.1</h2> <p><em>2026-10-17</em>…
2 parents 2705647 + 8272539 commit ef518c0

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

‎pyproject.toml‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[build-system]
55
requires = [
66
"maturin>=1.9.6,<2.0",
7-
"setuptools == 84.0.0",
7+
"setuptools == 84.2.1",
88
"setuptools_scm[toml] == 10.3.4",
99
]
1010
build-backend = "maturin"
@@ -42,34 +42,34 @@ assets = [
4242
"frequenz-client-assets >= 0.1.0, < 0.7",
4343
]
4444
dev-flake8 = [
45-
"flake8 == 7.4.1",
45+
"flake8 == 7.5.0",
4646
"flake8-datetimez == 26.8.1",
4747
"flake8-docstrings == 1.7.0",
4848
"flake8-pyproject == 1.2.4", # For reading the flake8 config from pyproject.toml
4949
"pydoclint == 0.12.0",
5050
"pydocstyle == 6.3.0",
5151
]
52-
dev-formatting = ["black == 26.5.1", "isort == 9.0.2"]
52+
dev-formatting = ["black == 26.10.1", "isort == 9.0.2"]
5353
dev-mkdocs = [
5454
"Markdown == 3.11.2",
55-
"black == 26.5.1",
55+
"black == 26.10.1",
5656
"mike == 2.2.0",
5757
"mkdocs-gen-files == 0.6.1",
5858
"mkdocs-literate-nav == 0.6.3",
5959
"mkdocs-macros-plugin == 1.5.0",
60-
"mkdocs-material == 9.7.7",
60+
"mkdocs-material == 9.8.0",
6161
"mkdocstrings[python] == 1.0.8",
6262
"mkdocstrings-python == 2.0.10",
6363
"frequenz-repo-config[lib] == 0.19.0",
6464
]
6565
dev-mypy = [
66-
"mypy == 2.3.1",
67-
"types-Markdown == 3.10.2.20260712",
66+
"mypy == 2.4.1",
67+
"types-Markdown == 3.11.2.20261029",
6868
# For checking the noxfile, docs/ script, and tests
6969
"frequenz-microgrid-component-graph[dev-mkdocs,dev-noxfile,dev-pytest]",
7070
]
7171
dev-noxfile = [
72-
"nox == 2026.8.17",
72+
"nox == 2026.10.20",
7373
"frequenz-repo-config[lib] == 0.19.0",
7474
]
7575
dev-pylint = [
@@ -79,10 +79,10 @@ dev-pylint = [
7979
]
8080
dev-pytest = [
8181
"frequenz-microgrid-component-graph[microgrid]",
82-
"pytest == 9.1.1",
83-
"pylint == 4.0.9", # We need this to check for the examples
82+
"pytest == 9.2.0",
83+
"pylint == 4.1.3", # We need this to check for the examples
8484
"frequenz-repo-config[extra-lint-examples] == 0.19.0",
85-
"pytest-mock == 3.16.0",
85+
"pytest-mock == 3.17.0",
8686
"pytest-asyncio == 1.4.1",
8787
"async-solipsism == 0.9",
8888
]

0 commit comments

Comments
 (0)