Skip to content

Document pytest-forked incompatibility - #384

Merged
icemac merged 1 commit into
pytest-dev:masterfrom
LouisDeconinck:issue-313-forked-docs
Sep 18, 2026
Merged

icemac merged 1 commit into
pytest-dev:masterfrom
LouisDeconinck:issue-313-forked-docs

Conversation

@LouisDeconinck

@LouisDeconinck LouisDeconinck commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Documents in the README's compatibility section that this plugin is not compatible with pytest-forked: both override pytest_runtest_protocol, and whichever runs first prevents the other from working, so tests are not re-run under --forked
  • A proper fix likely needs a per-attempt execution API shared between the plugins (see the discussion and investigation in the issue); until then users should know reruns silently do not happen

Refs #313

Test plan

  • Documentation-only change

Both plugins override pytest_runtest_protocol and whichever runs first
prevents the other from working, so tests are not re-run under --forked.
Document this in the compatibility section until a per-attempt API between
the plugins exists.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@icemac
icemac merged commit 6f843b6 into pytest-dev:master Sep 18, 2026
45 checks passed
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.

2 participants