Skip to content

Commit dadc2ce

Browse files
committed
chore(ci): disable tox .venv redirect file
tox 4.65 writes a PEP 832 `.venv` redirect file pointing at a tox environment. The CI coverage step then runs `uv run`, which expects `.venv` to be a directory and fails with "expected directory but found a file". This broke the Python 3.14 jobs. Turn the redirect off. AI disclosure: diagnosed and changed with Claude Code (Claude Opus 5.5, claude-opus-5-5). The model compared the CI logs of passing and failing jobs, reproduced the `.venv` file locally with tox 4.65.4, found the `venv_redirect` option in the tox source, and checked that setting it to false stops the file being written. Prompted by the maintainer asking why the 3.14 jobs failed. Assistant-model: Claude Code
1 parent 6990282 commit dadc2ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tox.ini‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[tox]
22
isolated_build = true
3+
venv_redirect = false
34
requires =
45
tox>=4.2
56
env_list =

0 commit comments

Comments
 (0)