Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2025

Bumps pytest from 8.4.2 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_env through the SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST environment variable as a part of the release process -- by webknjaz.

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 bluetech and webknjaz.
  • #13933: The tox configuration has been adjusted to make sure the desired version string can be passed into its package_env through the SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST environment variable as a part of the release process -- by webknjaz.

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
  • d1b64aa Prepare release version 9.0.1
  • 0a497c7 regendoc: remove CI environment variables (#13950) (#13951)
  • a9f7e6e 🧪 Run gh release w/o Git in CI/CD (#13942) (#13947)
  • 2682a66 Merge pull request #13944 from pytest-dev/patchback/backports/9.0.x/bef7d34f1...
  • a999997 Merge pull request #13941 from nicoddemus/min-pre-commit-version
  • 4bd63a0 Merge pull request #13935 from pytest-dev/patchback/backports/9.0.x/ce8b8a7b4...
  • 15f93b3 Merge pull request #13933 from webknjaz/maintenance/tox-pep517-env-setuptools...
  • 0fa11ae Merge pull request #13927 from pytest-dev/patchback/backports/9.0.x/3d8075743...
  • fa45470 Merge pull request #13926 from pytest-dev/patchback/backports/9.0.x/d587e0cf8...
  • b4e3973 Merge pull request #13922 from bluetech/fix-argparse-userwarning
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.2 to 9.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.4.2...9.0.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 24, 2025
@dagshub
Copy link

dagshub bot commented Nov 24, 2025

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/diffannotator
   __init__.py00100% 
   annotate.py83414682%75–76, 85, 92, 108–111, 113–115, 117, 446–447, 451–452, 454, 505, 507–509, 511, 513–515, 517–518, 520–522, 631, 634, 637–638, 693, 870, 906, 959–961, 965, 1005, 1017, 1019–1026, 1097, 1365, 1379–1382, 1384, 1388–1391, 1393, 1573, 1576, 1794, 1796, 1843, 1868–1869, 1978, 1981, 2121–2122, 2124, 2149, 2200–2201, 2220–2221, 2224, 2239, 2254–2255, 2296, 2365, 2376, 2402, 2412, 2414, 2423–2427, 2431–2435, 2437, 2472, 2568, 2581–2582, 2585, 2588–2589, 2591–2593, 2595, 2597–2599, 2601–2602, 2604, 2606, 2620, 2623, 2638–2640, 2646, 2659, 2668, 2676, 2679, 2749, 2755, 2757–2758, 2771, 2780–2785, 2899–2900, 2903–2904, 2908, 2953
   config.py50786%55–59, 61, 104
   gather_data.py3425284%87, 91, 93, 101, 106, 108, 121, 129, 162, 240–241, 244–245, 248, 251, 262, 280–286, 318–319, 342–343, 366, 390, 415–416, 618, 622, 655, 790, 803, 805, 808, 812, 814, 852, 882–883, 949, 1001, 1187, 1219–1223, 1227
   generate_patches.py38392%102, 104, 126
   languages.py1011684%186, 189, 192, 195, 198, 202, 233–234, 246, 265, 277, 279–280, 283, 289, 327
   lexer.py29293%102–103
src/diffannotator/utils
   __init__.py00100% 
   git.py5298484%120, 271, 361, 363, 366–367, 369, 371–374, 376–378, 380–382, 387–388, 392, 394–395, 399–401, 403–404, 406–407, 409–411, 413, 572, 621, 631, 634–636, 642, 673, 677, 684, 764, 777, 840, 922, 937, 992, 999, 1084, 1086, 1206–1208, 1319, 1323, 1400, 1405, 1407, 1410–1411, 1413, 1495, 1509, 1546–1547, 1550–1554, 1582–1583, 1716, 1718, 1746–1747, 1759, 1761, 1778–1779, 1819, 1833
TOTAL192331083% 

Tests Skipped Failures Errors Time
90 8 💤 2 ❌ 0 🔥 11.493s ⏱️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant