← Back to Pull requests

Bump the python-test-dependencies group across 1 directory with 2 updates #2092

Open
dependabot[bot] opened this pull request with 4 lines diff across 1 files
View on GitHub
dependabot[bot] dependabot[bot] commented on Nov 05, 2026 08:07 UTC
Author

Updates the requirements on pytest and setuptools to permit the latest version.
Updates pytest 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 setuptools to 84.2.1
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p>
<blockquote>
<h1>v84.2.1</h1>
<h2>Bugfixes</h2>
<ul>
<li>Changed wheel tags and stable-ABI validation to use sysconfig data. (<a href="https://redirect.github.com/pypa/setuptools/issues/5360">#5360</a>)</li>
<li>Fixed unimportable extensions on free-threaded Python 3.13 and 3.14 when
<code>Extension.py_limited_api</code> is enabled. These builds now use their
version-specific extension suffix instead of using the unsupported <code>.abi3t</code>
suffix. (<a href="https://redirect.github.com/pypa/setuptools/issues/5363">#5363</a>)</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li>Replaced broken link to Python Eggs documentation with an archived version from the Wayback Machine. (<a href="https://redirect.github.com/pypa/setuptools/issues/1929">#1929</a>)</li>
</ul>
<h1>v84.2.0</h1>
<h2>Features</h2>
<ul>
<li>Added support for building abi3t extensions and abi3.abi3t wheels on Python
3.15 and newer. See :pep:<code>803</code> and the <code>Python 3.15 &quot;What's New&quot; entry &lt;https://docs.python.org/3.15/whatsnew/3.15.html#pep-803-abi3t-stable-abi-for-free-threaded-builds&gt;</code>_
for more details. (<a href="https://redirect.github.com/pypa/setuptools/issues/5193">#5193</a>)</li>
<li>Updated vendored packaging version to 26.3, which adds support for the
<code>abi3t</code> tag from :pep:<code>803</code>. (<a href="https://redirect.github.com/pypa/setuptools/issues/5361">#5361</a>)</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Use target sysconfig data for stable-ABI extension filenames. (<a href="https://redirect.github.com/pypa/setuptools/issues/5351">#5351</a>)</li>
</ul>
<h1>v84.1.0</h1>
<h2>Features</h2>
<ul>
<li><code>setuptools.archive_util</code> now raises the new <code>UnsafeMember</code> exception when
an archive member would be extracted outside of the extraction directory,
where previously such a member was silently skipped. Aborting makes a
malicious or malformed archive visible to the caller instead of yielding a
quietly incomplete extraction, and matches the behavior of the standard</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pypa/setuptools/commit/3895f9829fc0e51882981773a823a658eb1d1636"><code>3895f98</code></a> Bump version: 84.2.0 → 84.2.1</li>
<li><a href="https://github.com/pypa/setuptools/commit/7c5cb7a14aaa61d5fec6144a4a08a3911257f0d2"><code>7c5cb7a</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/5362">#5362</a> from jameshilliard/fix/abi3t-target-config</li>
<li><a href="https://github.com/pypa/setuptools/commit/00595bf726c0b813c0f5e0945bf9e5e8a0033744"><code>00595bf</code></a> Use sysconfig data for wheel tags and stable-ABI validation</li>
<li><a href="https://github.com/pypa/setuptools/commit/873b29c064a6981cb9764c064f6c5fe0c56b0954"><code>873b29c</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/5363">#5363</a> from ngoldbaum/fix-3.14t</li>
<li><a href="https://github.com/pypa/setuptools/commit/d8bc01b24240f8d6418f6b2855e87a2c523f6ef4"><code>d8bc01b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/5330">#5330</a> from Topgearfanboy/main</li>
<li><a href="https://github.com/pypa/setuptools/commit/e27271e1b2dc4342b057c3a0ea489380ab6d5231"><code>e27271e</code></a> Apply review comments from <a href="https://github.com/jameshillard"><code>@​jameshillard</code></a></li>
<li><a href="https://github.com/pypa/setuptools/commit/aa98f8596d2bb45323d4838ff48daed0578668e3"><code>aa98f85</code></a> add newsfragment</li>
<li><a href="https://github.com/pypa/setuptools/commit/3301fa6500c3ea286581df83c038d80d8c5f9589"><code>3301fa6</code></a> Avoid .abi3t extension suffixes on Python 3.13t and 3.14t</li>
<li><a href="https://github.com/pypa/setuptools/commit/301e27a484f17e175acf6b692fccc634f9a20c49"><code>301e27a</code></a> Bump version: 84.1.0 → 84.2.0</li>
<li><a href="https://github.com/pypa/setuptools/commit/39a7c2ecd80bb1c393b3867d9673027d490322cb"><code>39a7c2e</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/5193">#5193</a> from ngoldbaum/abi3.abi3t</li>
<li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v84.0.0...v84.2.1">compare view</a></li>
</ul>
</details>
<br />

Diff: 4 lines (+2 / -2) across 1 files Reviewer: brettcannon Review duration: 30201m
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.13) × (1 − Review Confidence (0.70)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.13 · 4 lines diff across 1 files
0.13
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.54 · 1 substantive comment(s)
0.54
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
70%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.096
Real PR Conversation Timeline
3 items
azure-pipelines[bot] azure-pipelines[bot] commented on Nov 05, 2026 08:07 UTC
Bot

<!-- AzurePipelinesStatusComment -->
<samp>
Azure Pipelines:<br>
There may be pipelines that require an authorized user to comment /azp run to run.<br>

</samp>

brettcannon brettcannon approved these changes on Nov 12, 2026 17:57 UTC
Approved Reviewer

Approved these changes.

Reviewers
Assignees
dependabot[bot] dependabot[bot]
Labels
risk: low confidence: 70.1% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 12.6% (LOW) · Higher = larger blast radius
12.6%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 70.1% · Lower = rushed or shallow review
70.1%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 3.8% · Safe to merge
3.8%