Skip to content

Commit 927f6f1

Browse files
authored
Bump pytest from 8.4.2 to 9.0.1 (#251)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.2 to 9.0.1. <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.0.1</h2> <h1>pytest 9.0.1 (2025-11-12)</h1> <h2>Bug fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13895">#13895</a>: Restore support for skipping tests via <code>raise unittest.SkipTest</code>.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13896">#13896</a>: The terminal progress plugin added in pytest 9.0 is now automatically disabled when iTerm2 is detected, it generated desktop notifications instead of the desired functionality.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13904">#13904</a>: Fixed the TOML type of the verbosity settings in the API reference from number to string.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13910">#13910</a>: Fixed <!-- raw HTML omitted -->UserWarning: Do not expect file_or_dir<!-- raw HTML omitted --> on some earlier Python 3.12 and 3.13 point versions.</li> </ul> <h2>Packaging updates and notes for downstreams</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13933">#13933</a>: The tox configuration has been adjusted to make sure the desired version string can be passed into its <code>package_env</code> through the <code>SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST</code> environment variable as a part of the release process -- by <code>webknjaz</code>.</li> </ul> <h2>Contributor-facing changes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13891">#13891</a>, <a href="https://redirect.github.com/pytest-dev/pytest/issues/13942">#13942</a>: The CI/CD part of the release automation is now capable of creating GitHub Releases without having a Git checkout on disk -- by <code>bluetech</code> and <code>webknjaz</code>.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13933">#13933</a>: The tox configuration has been adjusted to make sure the desired version string can be passed into its <code>package_env</code> through the <code>SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST</code> environment variable as a part of the release process -- by <code>webknjaz</code>.</li> </ul> <h2>9.0.0</h2> <h1>pytest 9.0.0 (2025-11-05)</h1> <h2>New features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/1367">#1367</a>: <strong>Support for subtests</strong> has been added.</p> <p><code>subtests &lt;subtests&gt;</code> are an alternative to parametrization, useful in situations where the parametrization values are not all known at collection time.</p> <p>Example:</p> <pre lang="python"><code>def contains_docstring(p: Path) -&gt; bool: &quot;&quot;&quot;Return True if the given Python file contains a top-level docstring.&quot;&quot;&quot; ... <p>def test_py_files_contain_docstring(subtests: pytest.Subtests) -&gt; None:<br /> for path in Path.cwd().glob(&quot;*.py&quot;):<br /> with subtests.test(path=str(path)):<br /> assert contains_docstring(path)<br /> </code></pre></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/d1b64aa60b9e1a0fcfaf03af7ebeb185f1024a87"><code>d1b64aa</code></a> Prepare release version 9.0.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a497c7b213ea950821319fd80dce219b0033f32"><code>0a497c7</code></a> regendoc: remove CI environment variables (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13950">#13950</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13951">#13951</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a9f7e6ed579b8844e302067b7f05122b82993355"><code>a9f7e6e</code></a> 🧪 Run <code>gh release</code> w/o Git in CI/CD (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13942">#13942</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13947">#13947</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/2682a6607304f1f5bb5a2140340003cdf5121bc4"><code>2682a66</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13944">#13944</a> from pytest-dev/patchback/backports/9.0.x/bef7d34f1...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a999997e36c53d189ecded3369bf35bfe2be96ad"><code>a999997</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13941">#13941</a> from nicoddemus/min-pre-commit-version</li> <li><a href="https://github.com/pytest-dev/pytest/commit/4bd63a0ead81d740aa767a4384d3b0b4c18f2ef2"><code>4bd63a0</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13935">#13935</a> from pytest-dev/patchback/backports/9.0.x/ce8b8a7b4...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15f93b332c1c3ec9c200c0ad3d55af5a2158e0db"><code>15f93b3</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13933">#13933</a> from webknjaz/maintenance/tox-pep517-env-setuptools...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0fa11ae3f79d06dc9e2f1f7c81ade4a1126d9ef3"><code>0fa11ae</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13927">#13927</a> from pytest-dev/patchback/backports/9.0.x/3d8075743...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/fa454700133c7b2cc960cba3b1cd09cc048c25a0"><code>fa45470</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13926">#13926</a> from pytest-dev/patchback/backports/9.0.x/d587e0cf8...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b4e3973505a2b7a2caa17ccc392d91a6ad73e122"><code>b4e3973</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13922">#13922</a> from bluetech/fix-argparse-userwarning</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.4.2...9.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=8.4.2&new-version=9.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 parents 608aeea + 68d49b9 commit 927f6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ dev-pylint = [
8383
"pandas >= 2, < 3", # Only required for example
8484
]
8585
dev-pytest = [
86-
"pytest == 8.4.2",
86+
"pytest == 9.0.1",
8787
"frequenz-repo-config[extra-lint-examples] == 0.13.7",
8888
"pytest-mock == 3.15.1",
8989
"pytest-asyncio == 1.3.0",

0 commit comments

Comments
 (0)