Skip to content

fix(python): materialize typed timeout adapter - #203

Merged
AntoineToussaint merged 1 commit into
mainfrom
fix/python-runtime-timeout
Aug 9, 2026
Merged

fix(python): materialize typed timeout adapter#203
AntoineToussaint merged 1 commit into
mainfrom
fix/python-runtime-timeout

Conversation

@AntoineToussaint

Copy link
Copy Markdown
Contributor

Closes #202.

A typed Runtime Test timeout currently becomes pytest --timeout=..., but that flag belongs to pytest-timeout and fails as an unknown argument when the project does not declare the plugin. The Python runtime adapter now materializes the real pytest-timeout dependency in uv’s isolated execution environment whenever the typed timeout is set. Project dependencies and source trees remain unchanged.

Verification:

  • real uv + pytest regression with no pytest-timeout project dependency
  • go test ./runners/python -count=1
  • go vet ./...
  • go test ./... -count=1

@AntoineToussaint
AntoineToussaint merged commit 059fcd0 into main Aug 9, 2026
1 check passed
@AntoineToussaint
AntoineToussaint deleted the fix/python-runtime-timeout branch August 9, 2026 13:49
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.

Materialize pytest-timeout for typed Python test timeouts

1 participant