build(deps): update dependency pytest-rerunfailures to v16.4 (main)
Metadata
Current evaluation
Renovate PR merged: pytest-rerunfailures bumped 16.1 -> 16.4 in two dependency files (main), approved by 2 reviewers. The bump also raises the minimum pytest to 8.2.
Resolution: closed resolved
Reason: The PR was merged into main (state: merged, approved by 2 reviewers, no unresolved comments), landing the pytest-rerunfailures 16.1 to 16.4 upgrade across the two pinned dependency files. Upstream v16.4 includes the subtest reruns and backoff-delay features; some lint/OSV checks failed but were overridden and CI test jobs passed.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Renovate PR merged: pytest-rerunfailures bumped 16.1 -> 16.4 in two dependency files (main), approved by 2 reviewers. The bump also raises the minimum pytest to 8.2. | |
| stealth/space-bunny-alpha | — | closed resolved | Renovate PR #1117 was merged into main, upgrading pytest-rerunfailures from 16.1 to 16.4 in two dependency files after two approvals. | |
| 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 work
-
Related To:
canonical/craft-providers#540
(confidence 55%)
Same repo family and same package; earlier Renovate bump of pytest-rerunfailures to v14 in craft-providers.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #905 build(deps): update dependency pytest-rerunfailures to v16 (main) | craft-application | merged | Renovate PR #905 merged into main, upgrading pytest-rerunfailures from 15.1 to 16.1 in two dependency files. All CI checks passed and two reviewers approved. | |
| #833 build(deps): update dependency pytest-rerunfailures to v16 (main) | craft-providers | merged | Renovate dependency bump of pytest-rerunfailures from ~=14.0 to ~=16.0 was merged into main (commit 6fe1d55), updating pyproject.toml and uv.lock; all CI checks passed. | |
| #1166 build(deps): update dependency pytest-rerunfailures to v16.6 (main) | craft-application | merged | Renovate PR #1166 merged into main, bumping pytest-rerunfailures from ==16.4 to ==16.6 in pyproject.toml and uv.lock (+5/-5). Approved by 2 reviewers; all CI green except pre-existing snap-tests (openstack:). | |
| #1184 build(deps): update dependency pytest-rerunfailures to v16.7 (main) | craft-application | closed | Renovate PR #1184 bumping pytest-rerunfailures 16.6.1 → 16.7 (main) was approved and squash-merged as commit 7d9688f0; pyproject.toml and uv.lock now pin ==16.7. | |
| #847 build(deps): update dependency pytest-rerunfailures to v15 (main) | craft-application | merged | Renovate PR #847 bumping pytest-rerunfailures from14.0 to 15.1 was approved and merged into main via commit 6c7ae509 (pyproject.toml + uv.lock), all CI green; later superseded by v16 bumps. | |
| #635 build(deps): update dependency pytest to v8.3.2 | craft-providers | merged | Renovate PR merged as commit 13ef81c, bumping the dev pytest pin from ==8.2.0 to ==8.3.2 (1-line change, approved by 2 reviewers). Later superseded by pytest 9 bumps (#464, #524). | |
| #387 build(deps): update dependency pytest to v8.4.2 | craft-cli | merged | Renovate's PR #387 (pytest 8.3.3 -> 8.4.2) was approved and merged into main as commit 0f12869 "build(deps): update dependency pytest to v8.4.2 (#387)"; all CI checks passed. | |
| #906 build(deps): update dependency pytest to v8.4.2 (main) | craft-application | merged | Renovate PR merged (commit 39577174) into main, bumping pytest from 8.4.1 to 8.4.2 in pyproject.toml dev/docs groups; all CI checks green, 2 approvals. Later superseded by pytest v9 (#962) and v9.1.1 (#1108). | |
| #1178 build(deps): update bugfixes (main) | craft-application | merged | Renovate automerge landed in main as commit 49db275e "build(deps): update bugfixes (#1178)", bumping ruff-pre-commit v0.16.5→v0.16.6 and pytest-rerunfailures 16.6→16.6.1 (+6/-6, 3 files). | |
| #1948 build(deps): update dependency pytest-check to v2.4.1 (main) - autoclosed | charmcraft | merged | Renovate PR merged into main as commit e346ca0a, bumping pytest-check from 2.3.1 to 2.4.1 in the test dependency pin (approved by 2 reviewers, 1-line change). |