Repository navigation
chore(ci): disable tox .venv redirect file - #17
Merged
Merged
Conversation
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
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the Python 3.14 CI failures seen on #16.
tox 4.65 writes a PEP 832
.venvredirect file (e.g..tox/py314-django60) after a run. The next CI step,uv run coverage combine, expects.venvto be a directory, so it fails:Only the 3.14 jobs were affected because the redirect points at the first
env_listentry,py314-django60. The tests themselves passed.This sets
venv_redirect = falseintox.ini. I checked locally with tox 4.65.4 that no.venvfile is written anymore.AI disclosure
Diagnosed and changed with Claude Code (Claude Opus 5.5,
claude-opus-5-5), following pycalendar's AI policy. Details are in the commit message.