build(deps-dev): bump pytest from 8.4.0 to 9.0.1
Bumps pytest from 8.4.0 to 9.0.1.
Release notes
Sourced from pytest's releases.
9.0.1
pytest 9.0.1 (2025-11-12)
Bug fixes
- #13895: Restore support for skipping tests via
raise unittest.SkipTest.- #13896: 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.
- #13904: Fixed the TOML type of the verbosity settings in the API reference from number to string.
- #13910: Fixed UserWarning: Do not expect file_or_dir on some earlier Python 3.12 and 3.13 point versions.
Packaging updates and notes for downstreams
- #13933: The tox configuration has been adjusted to make sure the desired version string can be passed into its
package_envthrough theSETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTESTenvironment variable as a part of the release process -- bywebknjaz.Contributor-facing changes
- #13891, #13942: The CI/CD part of the release automation is now capable of creating GitHub Releases without having a Git checkout on disk -- by
bluetechandwebknjaz.- #13933: The tox configuration has been adjusted to make sure the desired version string can be passed into its
package_envthrough theSETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTESTenvironment variable as a part of the release process -- bywebknjaz.9.0.0
pytest 9.0.0 (2025-11-05)
New features
#1367: Support for subtests has been added.
subtests <subtests>are an alternative to parametrization, useful in situations where the parametrization values are not all known at collection time.Example:
def contains_docstring(p: Path) -> bool: """Return True if the given Python file contains a top-level docstring.""" ... def test_py_files_contain_docstring(subtests: pytest.Subtests) -> None: for path in Path.cwd().glob("*.py"): with subtests.test(path=str(path)): assert contains_docstring(path)
... (truncated)
Commits
-
d1b64aaPrepare release version 9.0.1 -
0a497c7regendoc: remove CI environment variables (#13950) (#13951) -
a9f7e6e🧪 Rungh releasew/o Git in CI/CD (#13942) (#13947) -
2682a66Merge pull request #13944 from pytest-dev/patchback/backports/9.0.x/bef7d34f1... -
a999997Merge pull request #13941 from nicoddemus/min-pre-commit-version -
4bd63a0Merge pull request #13935 from pytest-dev/patchback/backports/9.0.x/ce8b8a7b4... -
15f93b3Merge pull request #13933 from webknjaz/maintenance/tox-pep517-env-setuptools... -
0fa11aeMerge pull request #13927 from pytest-dev/patchback/backports/9.0.x/3d8075743... -
fa45470Merge pull request #13926 from pytest-dev/patchback/backports/9.0.x/d587e0cf8... -
b4e3973Merge pull request #13922 from bluetech/fix-argparse-userwarning - Additional commits viewable in compare view