build(deps): update dependency pytest-rerunfailures to v16.4 (main)
Metadata
Current evaluation
Merged dependency update for pytest-rerunfailures from v16.1 to v16.4. Approved by two reviewers and passed CI checks before merging into main.
Suggested action: —
No scores available.
Issue body
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [pytest-rerunfailures](https://redirect.github.com/pytest-dev/pytest-rerunfailures) | `==16.1` → `==16.4` |  |  |
---
### Release Notes
<details>
<summary>pytest-dev/pytest-rerunfailures (pytest-rerunfailures)</summary>
### [`v16.4`](https://redirect.github.com/pytest-dev/pytest-rerunfailures/blob/HEAD/CHANGES.rst#164-2026-07-01)
[Compare Source](https://redirect.github.com/pytest-dev/pytest-rerunfailures/compare/16.3...16.4)
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 `#​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.
### [`v16.3`](https://redirect.github.com/pytest-dev/pytest-rerunfailures/blob/HEAD/CHANGES.rst#163-2026-05-22)
[Compare Source](https://redirect.github.com/pytest-dev/pytest-rerunfailures/compare/16.2...16.3)
Features
++++++++
- Add `--reruns-mode` option (`strict` or `append`). With `append`,
marker reruns and the global `--reruns` / `reruns` ini setting are summed
instead of the marker taking strict priority. Default is `strict` so
existing behaviour is unchanged.
Fixes `#​321 <https://github.com/pytest-dev/pytest-rerunfailures/issues/321>`\_.
- Add `--rerun-show-tracebacks` option to display tracebacks from failed
attempts that were retried, including tests that eventually passed. The
rerun summary section is emitted automatically when the flag is set, so
`-rR` is no longer required to see the tracebacks.
Fixes `#​156 <https://github.com/pytest-dev/pytest-rerunfailures/issues/156>`\_.
### [`v16.2`](https://redirect.github.com/pytest-dev/pytest-rerunfailures/blob/HEAD/CHANGES.rst#162-2026-05-13)
[Compare Source](https://redirect.github.com/pytest-dev/pytest-rerunfailures/compare/16.1...16.2)
Breaking changes
++++++++++++++++
- Drop support for pytest 8.0. Minimum pytest version is now 8.1.
Features
++++++++
- Add support for pytest 9.0.
Bug fixes
+++++++++
- Fix missing teardown for session and module scoped fixtures when fixture teardown fails.
Fixes `#​314 <https://github.com/pytest-dev/pytest-rerunfailures/issues/314>`\_.
- Clear fixture finalizers when removing cached results from failed fixtures
to fix compatibility with pytest >= 9, which asserts that `_finalizers` is
empty before executing a fixture.
Fixes `#​323 <https://github.com/pytest-dev/pytest-rerunfailures/issues/323>`\_.
- Accept exception classes (not only regex strings) in the `only_rerun` and
`rerun_except` marker keyword arguments instead of crashing with an
internal error.
Fixes `#​275 <https://github.com/pytest-dev/pytest-rerunfailures/issues/275>`\_.
</details>
---
### Configuration
📅 **Schedule**: (in timezone Etc/UTC)
- Branch creation
- "every weekend"
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/craft-application).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDIuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJQUjogRGVwZW5kZW5jaWVzIl19-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged dependency update for pytest-rerunfailures from v16.1 to v16.4. Approved by two reviewers and passed CI checks before merging into main. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
5
Confidence:
90
|
needs review | Updates pytest-rerunfailures from v16.1 to v16.4 with minor features and bug fixes. Automerge is disabled. Awaiting maintainer review or manual merge. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
5
Confidence:
90
|
needs review | Updates pytest-rerunfailures from 16.1 to 16.4, adding features, bug fixes, and dropping pytest 8.1 support. Currently awaiting manual review as automerge is disabled. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #905 build(deps): update dependency pytest-rerunfailures to v16 (main) | craft-application | merged | Merged automated dependency update upgrading pytest-rerunfailures from v15.1 to v16.1. Approved by two reviewers, passed all CI checks, and merged into main. Changes span two files with a minimal diff. | |
| #1166 build(deps): update dependency pytest-rerunfailures to v16.6 (main) | craft-application | merged | Merged automated dependency update upgrading pytest-rerunfailures from v16.4 to v16.6 on main. The update adds rerun exclusion options and fixes test isolation and pdb compatibility regressions. All required CI checks passed prior to merge. | |
| #847 build(deps): update dependency pytest-rerunfailures to v15 (main) | craft-application | merged | Merged automated dependency update for pytest-rerunfailures from v14.0 to v15.1. Approved by two reviewers and passed all CI checks before merging into main. | |
| #906 build(deps): update dependency pytest to v8.4.2 (main) | craft-application | merged | Merged automated dependency update upgrading pytest from v8.4.1 to v8.4.2 on main. Approved by two reviewers with all CI checks passing. Generated by the Renovate bot. | |
| #811 build(deps): update dependency pytest to v8.4.1 (main) | craft-application | merged | Merged automated dependency update upgrading pytest from 8.3.5 to 8.4.1. The change passed CI checks, received reviewer approval, and was successfully merged to the main branch. | |
| #301 build(deps): update dependency pytest to v8.4.1 (main) | craft-store | merged | Merged automated dependency update upgrading pytest from 8.3.3 to 8.4.1 on the main branch. The change passed CI checks and reviewer approval. | |
| #387 build(deps): update dependency pytest to v8.4.2 | craft-cli | merged | Automated dependency update upgrading pytest from v8.3.3 to v8.4.2. Approved by two reviewers, passed all CI checks, and merged. | |
| #1116 build(deps): update dependency pytest-subprocess to ~=1.6.0 (main) | craft-application | merged | Merged into main. Updated pytest-subprocess from ~=1.5.2 to ~=1.6.0. The Renovate-generated update passed CI checks and received reviewer approval before being merged. | |
| #1024 build(deps): update dependency pytest-check to v2.7.6 (main) | craft-application | merged | Merged automated dependency update upgrading pytest-check from v2.6.2 to v2.7.6. Approved by reviewers and passed CI checks before merging into the main branch. | |
| #948 build(deps): update dependency pytest-check to v2.6.0 (main) | craft-application | merged | Merged an automated dependency update upgrading pytest-check from v2.5.3 to v2.6.0. The change passed all CI checks, received two approvals, and was successfully integrated into the main branch. |