build(deps): update dependency pytest-rerunfailures to v16.6 (main)
Metadata
Current evaluation
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.
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.4` → `==16.6` |  |  |
---
### Release Notes
<details>
<summary>pytest-dev/pytest-rerunfailures (pytest-rerunfailures)</summary>
### [`v16.6`](https://redirect.github.com/pytest-dev/pytest-rerunfailures/blob/HEAD/CHANGES.rst#166-2026-08-17)
[Compare Source](https://redirect.github.com/pytest-dev/pytest-rerunfailures/compare/16.5...16.6)
Features
++++++++
- Add a repeatable `--rerun-exclude-path` option to exclude test files or
directories from reruns. (`#​232 <https://github.com/pytest-dev/pytest-rerunfailures/issues/232>`\_)
Bug Fixes
+++++++++
- Fix a regression in version 16.5 which made `--pdb` unusable even when no
reruns were configured. (`#​342 <https://github.com/pytest-dev/pytest-rerunfailures/issues/342>`\_)
### [`v16.5`](https://redirect.github.com/pytest-dev/pytest-rerunfailures/blob/HEAD/CHANGES.rst#165-2026-08-13)
[Compare Source](https://redirect.github.com/pytest-dev/pytest-rerunfailures/compare/16.4...16.5)
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.
(`#​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. (`#​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. (`#​270 <https://github.com/pytest-dev/pytest-rerunfailures/issues/270>`\_)
</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:eyJjcmVhdGVkSW5WZXIiOiI0NC4zOS4wIiwidXBkYXRlZEluVmVyIjoiNDQuMzkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUFI6IERlcGVuZGVuY2llcyJdfQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
5
Confidence:
90
|
needs review | Updates pytest-rerunfailures from 16.4 to 16.6, adding new CLI options and bug fixes. Approved by two reviewers, CI mostly passing, ready for maintainer merge. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
0
Complexity:
5
Confidence:
95
|
needs review | Updates pytest-rerunfailures from 16.4 to 16.6, including bug fixes and new features. Approved by one reviewer, CI passing, ready for merge. |
Update history
| Date | Change |
|---|---|
| updated | |
| updated | |
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1117 build(deps): update dependency pytest-rerunfailures to v16.4 (main) | craft-application | merged | Merged dependency update for pytest-rerunfailures from v16.1 to v16.4. Approved by two reviewers and passed CI checks before merging into main. | |
| #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. | |
| #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. | |
| #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. | |
| #918 build(deps): update dependency pytest-cov to v6.3.0 (main) | craft-application | merged | Merged automated dependency update upgrading pytest-cov from v6.2.1 to v6.3.0. Approved by two reviewers, passed all CI checks, and merged into main. | |
| #319 build(deps): update dependency pytest-cov to v6.3.0 (main) | craft-store | merged | Merged automated dependency update upgrading pytest-cov from v6.0.0 to v6.3.0. Passed all CI checks and received approval from two reviewers before merging into the main branch. | |
| #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. | |
| #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. | |
| #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. | |
| #67 build(deps): update dependency pytest-cov to v6 | craft-grammar | merged | Merged automated dependency update upgrading pytest-cov from v5 to v6. Approved by one reviewer, passed CI checks, and integrated into main. |