Skip to content

Allow patched pytest-rerunfailures releases - #606

Merged
pjbull merged 2 commits into
drivendataorg:masterfrom
terminalchai:test/unpin-rerunfailures
Oct 17, 2026
Merged

pjbull merged 2 commits into
drivendataorg:masterfrom
terminalchai:test/unpin-rerunfailures

Conversation

@terminalchai

Copy link
Copy Markdown
Contributor

Replace the broad pytest-rerunfailures<16.0 development dependency cap with pytest-rerunfailures!=16.0. This permits patched and current releases while continuing to exclude the release that caused the distributed-test crash in #528.

The upstream changelog records that 16.0.1 reverted the error-report attributes responsible for the xdist incompatibility. An isolated probe using this project's pytest-cases provider rigs reproduces the exact can't serialize ExceptionInfo internal error with 16.0. The same probe passes with 16.0.1, 16.7 and the previously allowed 15.1: each completes 20 tests and 20 intentional reruns, covering both setup and call failures across all ten rigs. The temporary validation probe is not included in the commit.

Closes #528.

Validation on Windows/Python 3.11:

  • Full mocked/local suite with pytest-rerunfailures 16.7: 2,165 passed, 127 skipped.
  • Full requirements resolution constrained to 16.7 fails before this change and succeeds after it. Resolution also succeeds for target Python 3.10 and 3.15; these are resolution checks, not runtime test runs.
  • Black, flake8, mypy on 31 source files, source/wheel builds, MkDocs and git diff --check pass. Existing documentation link warnings remain.
  • Codex reviewed the supplied diff and compatibility evidence and found no actionable defects.
  • Plugin versions were installed into separate target directories; the shared development environment was not upgraded. No runtime dependency or library code changes.
  • Live cloud backends were not tested locally. Upstream fork CI may require maintainer approval.

Contributor checklist:

  • Read and understood CONTRIBUTING.md
  • Existing maintainer-filed issue; Closes Unpin pytest-rerunfailures #528 in summary
  • Based on latest master
  • Failure-before / success-after evidence
  • Provider-agnostic change
  • Manual live cloud backend testing
  • Existing suite plus distributed retry compatibility probe validated
  • Lint passes
  • Tests pass
  • Updated HISTORY.md under UNRELEASED

Prepared with AI assistance; the diff and verification results were reviewed before submission.

@terminalchai
terminalchai deployed to reviewed-live-cloud October 16, 2026 21:22 — with GitHub Actions Active
@terminalchai
terminalchai deployed to reviewed-live-cloud October 16, 2026 21:22 — with GitHub Actions Active
@terminalchai
terminalchai deployed to reviewed-live-cloud October 16, 2026 21:22 — with GitHub Actions Active
@terminalchai
terminalchai deployed to reviewed-live-cloud October 16, 2026 21:22 — with GitHub Actions Active
@terminalchai
terminalchai deployed to reviewed-live-cloud October 16, 2026 21:22 — with GitHub Actions Active
@codecov

codecov Bot commented Oct 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.3%. Comparing base (1f95095) to head (42fb9aa).

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #606     +/-   ##
========================================
- Coverage    96.1%   95.3%   -0.8%     
========================================
  Files          30      30             
  Lines        2977    2977             
========================================
- Hits         2861    2839     -22     
- Misses        116     138     +22     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pjbull
pjbull merged commit b00435d into drivendataorg:master Oct 17, 2026
34 checks passed

This branch was successfully deployed

1 active deployment
reviewed-live-cloud — 42fb9aae Deployed Oct 16, 2026 by terminalchai via Live Tests (gs) #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unpin pytest-rerunfailures

2 participants