Skip to content

chore(deps): update dependency pytest-rerunfailures to v16.5 - #2122

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ats-test-dependencies
Open

chore(deps): update dependency pytest-rerunfailures to v16.5#2122
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ats-test-dependencies

Conversation

@renovate

@renovate renovate Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pytest-rerunfailures ==16.3==16.5 age confidence

Release Notes

pytest-dev/pytest-rerunfailures (pytest-rerunfailures)

v16.5

Compare Source

Features
++++++++

  • Add --max-suite-reruns option to cap the total number of reruns across
    the entire test suite. Once the limit is reached, no further reruns occur
    regardless of per-test --reruns or @pytest.mark.flaky settings.
    (#&#8203;298 <https://github.com/pytest-dev/pytest-rerunfailures/issues/298>_)

Bug Fixes
+++++++++

  • Create a new test class instance for each rerun. Previously the instance of
    the failed attempt was reused, so state stored on self leaked into the
    rerun and broke test isolation. Fixtures cached at class scope or higher are
    still not re-executed. (#&#8203;268 <https://github.com/pytest-dev/pytest-rerunfailures/issues/268>_)
  • Prevent a rerun when a fixture teardown raises an error matching
    --rerun-except. Previously only the error from the current test stage was
    considered, so a --rerun-except-matching error raised during teardown was
    ignored and the test was rerun anyway. (#&#8203;270 <https://github.com/pytest-dev/pytest-rerunfailures/issues/270>_)

v16.4

Compare Source

Breaking changes
++++++++++++++++

  • Drop support for pytest 8.1. Minimum pytest version is now 8.2.

Features
++++++++

  • Add support for pytest 9.1.

  • Rerun tests with failed subtests. This feature is only available on pytest 9.0
    and later. The pytest-subtests plugin is not supported.
    Fixes #&#8203;315 <https://github.com/pytest-dev/pytest-rerunfailures/issues/315>_.

  • Add --reruns-delay-backoff-factor option (and the matching
    reruns_delay_backoff_factor marker kwarg / ini setting) to grow the rerun
    delay after each attempt for an exponential backoff. The delay before the
    n-th re-run is reruns_delay * reruns_delay_backoff_factor ** (n - 1).
    The default factor is 1.0, so existing behaviour (a constant delay) is
    unchanged.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner August 13, 2026 13:04
@renovate renovate Bot added dependencies Pull requests that update a dependency file renovate PR created by RenovateBot labels Aug 13, 2026
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 renovate PR created by RenovateBot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants