dependabot[bot] opened a new pull request, #546:
URL: https://github.com/apache/airflow-steward/pull/546

   Bumps the python-deps group with 3 updates in the / directory: 
[prek](https://github.com/j178/prek), [ruff](https://github.com/astral-sh/ruff) 
and [pytest](https://github.com/pytest-dev/pytest).
   
   Updates `prek` from 0.4.3 to 0.4.5
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/j178/prek/releases";>prek's 
releases</a>.</em></p>
   <blockquote>
   <h2>0.4.5</h2>
   <h2>Release Notes</h2>
   <p>Released on 2026-06-15.</p>
   <h3>✨Highlights</h3>
   <p>0.4.5 completes <code>prek</code>'s pre-commit language coverage. With R, 
Conda, Perl,
   and coursier now supported, <code>prek</code> supports every language 
available in
   pre-commit, plus <code>prek</code>-only modern languages such as Bun and 
Deno.</p>
   <p>This is full feature parity with pre-commit. The last major compatibility 
gap
   is closed, and <code>prek</code> is now on the path to 1.0.</p>
   <h3>💚 Sponsorship</h3>
   <p>If <code>prek</code> saves time for you or your team, please consider 
sponsoring the
   project on <a href="https://github.com/sponsors/j178";>GitHub Sponsors</a>. 
It helps keep
   new features, performance work, and maintenance moving.</p>
   <h3>Enhancements</h3>
   <ul>
   <li>Add <code>Perl</code> language support (<a 
href="https://redirect.github.com/j178/prek/pull/2201";>#2201</a>)</li>
   <li>Add <code>R</code> language support (<a 
href="https://redirect.github.com/j178/prek/pull/2206";>#2206</a>)</li>
   <li>Add <code>Conda</code> language support (<a 
href="https://redirect.github.com/j178/prek/pull/2203";>#2203</a>)</li>
   <li>Add <code>coursier</code> language support (<a 
href="https://redirect.github.com/j178/prek/pull/2194";>#2194</a>)</li>
   <li>Add group filters to list (<a 
href="https://redirect.github.com/j178/prek/pull/2152";>#2152</a>)</li>
   <li>Remove legacy repo path support (<a 
href="https://redirect.github.com/j178/prek/pull/2150";>#2150</a>)</li>
   <li>Skip cloning fully filtered remote repos (<a 
href="https://redirect.github.com/j178/prek/pull/2151";>#2151</a>)</li>
   </ul>
   <h3>Performance</h3>
   <ul>
   <li>Avoid building JSON trees in syntax hooks (<a 
href="https://redirect.github.com/j178/prek/pull/2156";>#2156</a>)</li>
   <li>Scan mixed line endings without line vector (<a 
href="https://redirect.github.com/j178/prek/pull/2160";>#2160</a>)</li>
   <li>Skip file scan for always-run no-filename hooks (<a 
href="https://redirect.github.com/j178/prek/pull/2155";>#2155</a>)</li>
   <li>Use fixed buffer for EOF scan (<a 
href="https://redirect.github.com/j178/prek/pull/2163";>#2163</a>)</li>
   <li>Use fixed buffer for private key scan (<a 
href="https://redirect.github.com/j178/prek/pull/2164";>#2164</a>)</li>
   </ul>
   <h3>Bug fixes</h3>
   <ul>
   <li>Fix pretty-format-json CRLF handling (<a 
href="https://redirect.github.com/j178/prek/pull/2210";>#2210</a>)</li>
   <li>Handle missing blobs in diff snapshots (<a 
href="https://redirect.github.com/j178/prek/pull/2211";>#2211</a>)</li>
   <li>Ignore coursier channel from working repo (<a 
href="https://redirect.github.com/j178/prek/pull/2202";>#2202</a>)</li>
   </ul>
   <h3>Contributors</h3>
   <ul>
   <li><a href="https://github.com/j178";><code>@​j178</code></a></li>
   </ul>
   <h2>Install prek 0.4.5</h2>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/j178/prek/blob/master/CHANGELOG.md";>prek's 
changelog</a>.</em></p>
   <blockquote>
   <h2>0.4.5</h2>
   <p>Released on 2026-06-15.</p>
   <h3>✨Highlights</h3>
   <p>0.4.5 completes <code>prek</code>'s pre-commit language coverage. With R, 
Conda, Perl,
   and coursier now supported, <code>prek</code> supports every language 
available in
   pre-commit, plus <code>prek</code>-only modern languages such as Bun and 
Deno.</p>
   <p>This is full feature parity with pre-commit. The last major compatibility 
gap
   is closed, and <code>prek</code> is now on the path to 1.0.</p>
   <h3>💚 Sponsorship</h3>
   <p>If <code>prek</code> saves time for you or your team, please consider 
sponsoring the
   project on <a href="https://github.com/sponsors/j178";>GitHub Sponsors</a>. 
It helps keep
   new features, performance work, and maintenance moving.</p>
   <h3>Enhancements</h3>
   <ul>
   <li>Add <code>Perl</code> language support (<a 
href="https://redirect.github.com/j178/prek/pull/2201";>#2201</a>)</li>
   <li>Add <code>R</code> language support (<a 
href="https://redirect.github.com/j178/prek/pull/2206";>#2206</a>)</li>
   <li>Add <code>Conda</code> language support (<a 
href="https://redirect.github.com/j178/prek/pull/2203";>#2203</a>)</li>
   <li>Add <code>coursier</code> language support (<a 
href="https://redirect.github.com/j178/prek/pull/2194";>#2194</a>)</li>
   <li>Add group filters to list (<a 
href="https://redirect.github.com/j178/prek/pull/2152";>#2152</a>)</li>
   <li>Remove legacy repo path support (<a 
href="https://redirect.github.com/j178/prek/pull/2150";>#2150</a>)</li>
   <li>Skip cloning fully filtered remote repos (<a 
href="https://redirect.github.com/j178/prek/pull/2151";>#2151</a>)</li>
   </ul>
   <h3>Performance</h3>
   <ul>
   <li>Avoid building JSON trees in syntax hooks (<a 
href="https://redirect.github.com/j178/prek/pull/2156";>#2156</a>)</li>
   <li>Scan mixed line endings without line vector (<a 
href="https://redirect.github.com/j178/prek/pull/2160";>#2160</a>)</li>
   <li>Skip file scan for always-run no-filename hooks (<a 
href="https://redirect.github.com/j178/prek/pull/2155";>#2155</a>)</li>
   <li>Use fixed buffer for EOF scan (<a 
href="https://redirect.github.com/j178/prek/pull/2163";>#2163</a>)</li>
   <li>Use fixed buffer for private key scan (<a 
href="https://redirect.github.com/j178/prek/pull/2164";>#2164</a>)</li>
   </ul>
   <h3>Bug fixes</h3>
   <ul>
   <li>Fix pretty-format-json CRLF handling (<a 
href="https://redirect.github.com/j178/prek/pull/2210";>#2210</a>)</li>
   <li>Handle missing blobs in diff snapshots (<a 
href="https://redirect.github.com/j178/prek/pull/2211";>#2211</a>)</li>
   <li>Ignore coursier channel from working repo (<a 
href="https://redirect.github.com/j178/prek/pull/2202";>#2202</a>)</li>
   </ul>
   <h3>Contributors</h3>
   <ul>
   <li><a href="https://github.com/j178";><code>@​j178</code></a></li>
   </ul>
   <h2>0.4.4</h2>
   <p>Released on 2026-06-04.</p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/j178/prek/commit/bb3108283fd4aab0d9eb59f23098e0c05a96cdbe";><code>bb31082</code></a>
 Update README.md</li>
   <li><a 
href="https://github.com/j178/prek/commit/fa4e2dc060eccac3c2521ec7bf4af1272c5d6205";><code>fa4e2dc</code></a>
 Bump version to 0.4.5 (<a 
href="https://redirect.github.com/j178/prek/issues/2221";>#2221</a>)</li>
   <li><a 
href="https://github.com/j178/prek/commit/e9336fa724b8a99b3a21fd60eb0849cd731153ef";><code>e9336fa</code></a>
 Add R language support (<a 
href="https://redirect.github.com/j178/prek/issues/2206";>#2206</a>)</li>
   <li><a 
href="https://github.com/j178/prek/commit/97a5a15701d3691287e4f969a2a2f421d1501a46";><code>97a5a15</code></a>
 Update Rust crate which to v8.0.3 (<a 
href="https://redirect.github.com/j178/prek/issues/2219";>#2219</a>)</li>
   <li><a 
href="https://github.com/j178/prek/commit/20a519aa2aa4add7e70dfbb2ff743cd1f35e25f3";><code>20a519a</code></a>
 Update Rust crate ignore to v0.4.26 (<a 
href="https://redirect.github.com/j178/prek/issues/2218";>#2218</a>)</li>
   <li><a 
href="https://github.com/j178/prek/commit/88f0e2bd8a7d02be7fb19fcd17e1e8db79b8b0bc";><code>88f0e2b</code></a>
 Update dependency uv to v0.11.19 (<a 
href="https://redirect.github.com/j178/prek/issues/2214";>#2214</a>)</li>
   <li><a 
href="https://github.com/j178/prek/commit/7bd43000679b33e2b947f453436237dae062af70";><code>7bd4300</code></a>
 Update GitHub Actions to v7 (<a 
href="https://redirect.github.com/j178/prek/issues/2220";>#2220</a>)</li>
   <li><a 
href="https://github.com/j178/prek/commit/48ed5cc2838066d71278dd887dee595c32085be2";><code>48ed5cc</code></a>
 Update Rust crate async_zip to 0.0.18 (<a 
href="https://redirect.github.com/j178/prek/issues/2217";>#2217</a>)</li>
   <li><a 
href="https://github.com/j178/prek/commit/257e98a429e96f89a4d965ad28568cba77ca33c2";><code>257e98a</code></a>
 Update pre-commit to v1.47.2 (<a 
href="https://redirect.github.com/j178/prek/issues/2216";>#2216</a>)</li>
   <li><a 
href="https://github.com/j178/prek/commit/0c0460241a13b9ac519e1abd3a0a8a3ad60d4d2f";><code>0c04602</code></a>
 Update GitHub Actions (<a 
href="https://redirect.github.com/j178/prek/issues/2215";>#2215</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/j178/prek/compare/v0.4.3...v0.4.5";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   Updates `ruff` from 0.15.15 to 0.15.17
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/astral-sh/ruff/releases";>ruff's releases</a>.</em></p>
   <blockquote>
   <h2>0.15.17</h2>
   <h2>Release Notes</h2>
   <p>Released on 2026-06-11.</p>
   <h3>Preview features</h3>
   <ul>
   <li>Allow human-readable names in suppression comments (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25614";>#25614</a>)</li>
   <li>Fix handling of <code>ignore</code> comments within a 
<code>disable</code>/<code>enable</code> pair (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25845";>#25845</a>)</li>
   <li>Prioritize human-readable names in CLI output (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25869";>#25869</a>)</li>
   <li>Respect diagnostic start and parent ranges and trailing comments in 
<code>ruff:ignore</code> suppressions (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25673";>#25673</a>)</li>
   <li>[<code>flake8-async</code>] Add <code>trio.as_safe_channel</code> to 
safe decorators (<code>ASYNC119</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25775";>#25775</a>)</li>
   <li>[<code>flake8-pytest-style</code>] Also check 
<code>pytest_asyncio</code> fixtures (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25375";>#25375</a>)</li>
   <li>[<code>ruff</code>] Ban <code>pytest</code> autouse fixtures 
(<code>RUF076</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25477";>#25477</a>)</li>
   <li>[<code>pyupgrade</code>] Add <code>from __future__ import 
annotations</code> automatically (<code>UP007</code>, <code>UP045</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/23259";>#23259</a>)</li>
   </ul>
   <h3>Bug fixes</h3>
   <ul>
   <li>Fix diagnostic when <code>ruff:enable</code> or 
<code>ruff:disable</code> appears where <code>ruff:ignore</code> is expected 
(<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25700";>#25700</a>)</li>
   <li>[<code>pyupgrade</code>] Preserve leading empty literals to avoid syntax 
errors (<code>UP032</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25491";>#25491</a>)</li>
   </ul>
   <h3>Rule changes</h3>
   <ul>
   <li>[<code>flake8-pytest-style</code>] Clarify diagnostic message for single 
parameters (<code>PT007</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25592";>#25592</a>)</li>
   <li>[<code>numpy</code>] Drop autofix for <code>np.in1d</code> 
(<code>NPY201</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25612";>#25612</a>)</li>
   <li>[<code>pylint</code>] Exempt Python version comparisons 
(<code>PLR2004</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25743";>#25743</a>)</li>
   </ul>
   <h3>Performance</h3>
   <ul>
   <li>Reserve AST <code>Vec</code>s with correct capacity for common cases (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25451";>#25451</a>)</li>
   </ul>
   <h3>Formatter</h3>
   <ul>
   <li>Preserve whitespace for Quarto cell option comments (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25641";>#25641</a>)</li>
   </ul>
   <h3>CLI</h3>
   <ul>
   <li>Allow rule names in <code>ruff rule</code> (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25640";>#25640</a>)</li>
   </ul>
   <h3>Other changes</h3>
   <ul>
   <li>Fix playground diagnostics scrollbars (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25642";>#25642</a>)</li>
   </ul>
   <h3>Contributors</h3>
   <ul>
   <li><a 
href="https://github.com/SuryanshSS1011";><code>@​SuryanshSS1011</code></a></li>
   <li><a 
href="https://github.com/anishgirianish";><code>@​anishgirianish</code></a></li>
   <li><a 
href="https://github.com/romero-deshaw";><code>@​romero-deshaw</code></a></li>
   <li><a href="https://github.com/karlhillx";><code>@​karlhillx</code></a></li>
   <li><a href="https://github.com/carljm";><code>@​carljm</code></a></li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md";>ruff's 
changelog</a>.</em></p>
   <blockquote>
   <h2>0.15.17</h2>
   <p>Released on 2026-06-11.</p>
   <h3>Preview features</h3>
   <ul>
   <li>Allow human-readable names in suppression comments (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25614";>#25614</a>)</li>
   <li>Fix handling of <code>ignore</code> comments within a 
<code>disable</code>/<code>enable</code> pair (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25845";>#25845</a>)</li>
   <li>Prioritize human-readable names in CLI output (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25869";>#25869</a>)</li>
   <li>Respect diagnostic start and parent ranges and trailing comments in 
<code>ruff:ignore</code> suppressions (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25673";>#25673</a>)</li>
   <li>[<code>flake8-async</code>] Add <code>trio.as_safe_channel</code> to 
safe decorators (<code>ASYNC119</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25775";>#25775</a>)</li>
   <li>[<code>flake8-pytest-style</code>] Also check 
<code>pytest_asyncio</code> fixtures (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25375";>#25375</a>)</li>
   <li>[<code>ruff</code>] Ban <code>pytest</code> autouse fixtures 
(<code>RUF076</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25477";>#25477</a>)</li>
   <li>[<code>pyupgrade</code>] Add <code>from __future__ import 
annotations</code> automatically (<code>UP007</code>, <code>UP045</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/23259";>#23259</a>)</li>
   </ul>
   <h3>Bug fixes</h3>
   <ul>
   <li>Fix diagnostic when <code>ruff:enable</code> or 
<code>ruff:disable</code> appears where <code>ruff:ignore</code> is expected 
(<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25700";>#25700</a>)</li>
   <li>[<code>pyupgrade</code>] Preserve leading empty literals to avoid syntax 
errors (<code>UP032</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25491";>#25491</a>)</li>
   </ul>
   <h3>Rule changes</h3>
   <ul>
   <li>[<code>flake8-pytest-style</code>] Clarify diagnostic message for single 
parameters (<code>PT007</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25592";>#25592</a>)</li>
   <li>[<code>numpy</code>] Drop autofix for <code>np.in1d</code> 
(<code>NPY201</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25612";>#25612</a>)</li>
   <li>[<code>pylint</code>] Exempt Python version comparisons 
(<code>PLR2004</code>) (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25743";>#25743</a>)</li>
   </ul>
   <h3>Performance</h3>
   <ul>
   <li>Reserve AST <code>Vec</code>s with correct capacity for common cases (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25451";>#25451</a>)</li>
   </ul>
   <h3>Formatter</h3>
   <ul>
   <li>Preserve whitespace for Quarto cell option comments (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25641";>#25641</a>)</li>
   </ul>
   <h3>CLI</h3>
   <ul>
   <li>Allow rule names in <code>ruff rule</code> (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25640";>#25640</a>)</li>
   </ul>
   <h3>Other changes</h3>
   <ul>
   <li>Fix playground diagnostics scrollbars (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/25642";>#25642</a>)</li>
   </ul>
   <h3>Contributors</h3>
   <ul>
   <li><a 
href="https://github.com/SuryanshSS1011";><code>@​SuryanshSS1011</code></a></li>
   <li><a 
href="https://github.com/anishgirianish";><code>@​anishgirianish</code></a></li>
   <li><a 
href="https://github.com/romero-deshaw";><code>@​romero-deshaw</code></a></li>
   <li><a href="https://github.com/karlhillx";><code>@​karlhillx</code></a></li>
   <li><a href="https://github.com/carljm";><code>@​carljm</code></a></li>
   <li><a href="https://github.com/ntBre";><code>@​ntBre</code></a></li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/7c645a9a1be8258b9f9e005208a55a0b7e8e18f0";><code>7c645a9</code></a>
 Bump 0.15.17 (<a 
href="https://redirect.github.com/astral-sh/ruff/issues/25872";>#25872</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/f381eb1d54997cfbfa6f63c15dd2d760f70e85e1";><code>f381eb1</code></a>
 Prioritize human-readable names in CLI output (<a 
href="https://redirect.github.com/astral-sh/ruff/issues/25869";>#25869</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/b9b4546ad27d8fd12acc979e312a3ee25ef8ac4f";><code>b9b4546</code></a>
 Minor workflow simplification (<a 
href="https://redirect.github.com/astral-sh/ruff/issues/25870";>#25870</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/1e77ba02570bbe4952f7cf0e4ebb97b8b4e6e58d";><code>1e77ba0</code></a>
 [ty] Move <code>PreformattedBlockScanner</code> to format-agnostic location. 
(<a 
href="https://redirect.github.com/astral-sh/ruff/issues/25856";>#25856</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/6f2b772285aa478e8aee3f4b54dfa9ce903a0ce1";><code>6f2b772</code></a>
 [ty] Preserve nominal type of enum.property instances (<a 
href="https://redirect.github.com/astral-sh/ruff/issues/25849";>#25849</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/be4777c8766a38d405a69948989cdfa2674adaae";><code>be4777c</code></a>
 [ty] Fix site-package error when multiple versions of pythons are installed 
i...</li>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/53f6ff7200983a67778fcba7106019d2615846f0";><code>53f6ff7</code></a>
 Allow human-readable names in suppression comments (<a 
href="https://redirect.github.com/astral-sh/ruff/issues/25614";>#25614</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/67403254192f3541bd7e1027c8f1805cf7a9c2be";><code>6740325</code></a>
 [ty] Restrict uncached raw signature access (<a 
href="https://redirect.github.com/astral-sh/ruff/issues/25866";>#25866</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/970b1bf4a4d83359c9e28cad5f127ebbd6769682";><code>970b1bf</code></a>
 Auto-update snapshots when syncing typeshed (<a 
href="https://redirect.github.com/astral-sh/ruff/issues/25841";>#25841</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ruff/commit/0785793750fd6c74124a189259822f1a28eb5c13";><code>0785793</code></a>
 Fix handling of <code>ignore</code> comments within a 
<code>disable</code>/<code>enable</code> pair (<a 
href="https://redirect.github.com/astral-sh/ruff/issues/25845";>#25845</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/astral-sh/ruff/compare/0.15.15...0.15.17";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   Updates `pytest` from 9.0.3 to 9.1.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.1.0</h2>
   <h1>pytest 9.1.0 (2026-06-13)</h1>
   <h2>Removals and backward incompatible breaking changes</h2>
   <ul>
   <li>
   <p><a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14533";>#14533</a>: 
When using <code>--doctest-modules</code>, autouse fixtures with 
<code>module</code>, <code>package</code> or <code>session</code> scope that 
are defined inline in Python test modules (not plugins or conftests) will now 
possibly execute twice.</p>
   <p>If this is undesirable, move the fixture definition to a 
<code>conftest.py</code> file if possible.</p>
   <p>Technical explanation for those interested:
   When using <!-- raw HTML omitted -->--doctest-modules<!-- raw HTML omitted 
-->, pytest possibly collects Python modules twice, once as 
<code>pytest.Module</code> and once as a <code>DoctestModule</code> (depending 
on the configuration).
   Due to improvements in pytest's fixture implementation, if e.g. the 
<code>DoctestModule</code> collects a fixture, it is now visible to it only, 
and not to the <code>Module</code>.
   This means that both need to register the fixtures independently.</p>
   </li>
   </ul>
   <h2>Deprecations (removal in next major release)</h2>
   <ul>
   <li>
   <p><a 
href="https://redirect.github.com/pytest-dev/pytest/issues/10819";>#10819</a>: 
Added a deprecation warning for class-scoped fixtures defined as instance 
methods (without <code>@classmethod</code>). Such fixtures set attributes on a 
different instance than the test methods use, leading to unexpected behavior. 
Use <code>@classmethod</code> decorator instead -- by <code>yastcher</code>.</p>
   <p>See <code>10819</code> and <code>14011</code>.</p>
   </li>
   <li>
   <p><a 
href="https://redirect.github.com/pytest-dev/pytest/issues/12882";>#12882</a>: 
Calling <code>request.getfixturevalue() 
&lt;pytest.FixtureRequest.getfixturevalue&gt;</code> during teardown to request 
a fixture that was not already requested is now deprecated and will become an 
error in pytest 10.</p>
   <p>See <code>dynamic-fixture-request-during-teardown</code> for details.</p>
   </li>
   <li>
   <p><a 
href="https://redirect.github.com/pytest-dev/pytest/issues/13409";>#13409</a>: 
Using non-<code>~collections.abc.Collection</code> iterables (such as 
generators, iterators, or custom iterable objects) for the 
<code>argvalues</code> parameter in <code>@pytest.mark.parametrize 
&lt;pytest.mark.parametrize ref&gt;</code> and <code>metafunc.parametrize 
&lt;pytest.Metafunc.parametrize&gt;</code> is now deprecated.</p>
   <p>These iterables get exhausted after the first iteration,
   leading to tests getting unexpectedly skipped in cases such as running 
<code>pytest.main()</code> multiple times,
   using class-level parametrize decorators,
   or collecting tests multiple times.</p>
   <p>See <code>parametrize-iterators</code> for details and suggestions.</p>
   </li>
   <li>
   <p><a 
href="https://redirect.github.com/pytest-dev/pytest/issues/13946";>#13946</a>: 
The private <code>config.inicfg</code> attribute is now deprecated.
   Use <code>config.getini() &lt;pytest.Config.getini&gt;</code> to access 
configuration values instead.</p>
   <p>See <code>config-inicfg</code> for more details.</p>
   </li>
   <li>
   <p><a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14004";>#14004</a>: 
Passing <code>baseid</code> to <code>~pytest.FixtureDef</code> or 
<code>nodeid</code> strings to fixture registration APIs is now deprecated. 
These are internal pytest APIs that are used by some plugins.</p>
   <p>Use the <code>node</code> parameter instead for fixture scoping. This 
enables more robust node-based
   matching instead of string prefix matching.
   If you've used <code>nodeid=None</code>, pass <code>node=session</code> 
instead.</p>
   <p>This will be removed in pytest 10.</p>
   </li>
   <li>
   <p><a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14335";>#14335</a>: 
The method of configuring hooks using markers, deprecated since pytest 7.2, is 
now scheduled to be removed in pytest 10.
   See <code>hook-markers</code> for more details.</p>
   </li>
   <li>
   <p><a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14434";>#14434</a>: 
The <code>--pastebin</code> option is now deprecated.</p>
   </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/b2522cf0b11fb33ecc1f4895fa1dffbb9252a63d";><code>b2522cf</code></a>
 Prepare release version 9.1.0</li>
   <li><a 
href="https://github.com/pytest-dev/pytest/commit/368d2fca78e86ac79ec269bb078fcb1259a94fed";><code>368d2fc</code></a>
 [refactor] Tighten <code>SetComparisonFunction</code> to 
<code>Iterator[str]</code> (<a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14587";>#14587</a>)</li>
   <li><a 
href="https://github.com/pytest-dev/pytest/commit/ff77cd8b66b43a88c26ca54384bbcab72d079497";><code>ff77cd8</code></a>
 [refactor] Make base assertion comparisons return an iterator instead of a 
li...</li>
   <li><a 
href="https://github.com/pytest-dev/pytest/commit/0d8491a4ecf971800de0479ef55c7f5292c54937";><code>0d8491a</code></a>
 build(deps): Bump actions/stale from 10.2.0 to 10.3.0</li>
   <li><a 
href="https://github.com/pytest-dev/pytest/commit/4a809d9c892f6abb5ba92b77b06f1dd878f4660a";><code>4a809d9</code></a>
 Merge pull request <a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14568";>#14568</a> 
from pytest-dev/register-fixture</li>
   <li><a 
href="https://github.com/pytest-dev/pytest/commit/5dfa38541becfb77d0f52cac4cc8cce71849ab61";><code>5dfa385</code></a>
 Fix recursion traceback test to cover all styles (<a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14582";>#14582</a>)</li>
   <li><a 
href="https://github.com/pytest-dev/pytest/commit/f52ff0c1778c15038cf2bbb00b7668dac674cc26";><code>f52ff0c</code></a>
 Add <code>pytest.register_fixture</code></li>
   <li><a 
href="https://github.com/pytest-dev/pytest/commit/a8ac094e80df788aec844794170b126eab0be7a4";><code>a8ac094</code></a>
 Merge pull request <a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14567";>#14567</a> 
from pytest-dev/more-visibility-deprecate</li>
   <li><a 
href="https://github.com/pytest-dev/pytest/commit/e5620cd21ec62f5a5f9a5141a3c76fb3953729b6";><code>e5620cd</code></a>
 [pre-commit.ci] pre-commit autoupdate (<a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14577";>#14577</a>)</li>
   <li><a 
href="https://github.com/pytest-dev/pytest/commit/2ce9c6d94eb691ea4da7f91f330602cbb67a6daf";><code>2ce9c6d</code></a>
 Merge pull request <a 
href="https://redirect.github.com/pytest-dev/pytest/issues/14540";>#14540</a> 
from minbang930/fix-14533-doctest-module-fixtures</li>
   <li>Additional commits viewable in <a 
href="https://github.com/pytest-dev/pytest/compare/9.0.3...9.1.0";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   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 <dependency name> major version` will close this group 
update PR and stop Dependabot creating any more for the specific dependency's 
major version (unless you unignore this specific dependency's major version or 
upgrade to it yourself)
   - `@dependabot ignore <dependency name> minor version` will close this group 
update PR and stop Dependabot creating any more for the specific dependency's 
minor version (unless you unignore this specific dependency's minor version or 
upgrade to it yourself)
   - `@dependabot ignore <dependency name>` will close this group update PR and 
stop Dependabot creating any more for the specific dependency (unless you 
unignore this specific dependency or upgrade to it yourself)
   - `@dependabot unignore <dependency name>` will remove all of the ignore 
conditions of the specified dependency
   - `@dependabot unignore <dependency name> <ignore condition>` will remove 
the ignore condition of the specified dependency and ignore conditions
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to