Repository navigation
fix(setup): point the workspace python interpreter at the workspace venv - #716
Merged
c-vigo merged 4 commits intoJun 25, 2026
Merged
Conversation
The .vscode/settings.json manifest entry rewrote the interpreter path to
/opt/venv/bin/python3, the decommissioned Debian image path. The Nix image
has no /opt/venv, so downstream projects got a broken VS Code interpreter.
Remove the Sed transform so the workspace-relative
${workspaceFolder}/.venv/bin/python3 (resolved against the opened project,
where uv creates .venv) passes through unchanged, and regenerate the synced
workspace asset.
Refs: #706
c-vigo
force-pushed
the
bugfix/706-downstream-venv-path
branch
from
June 25, 2026 12:31
de01993 to
c0b5f5d
Compare
The added TestWorkspaceInterpreterPath was committed via an env workaround that bypassed ruff-format; CI's flake-sourced ruff (0.15.x) flags it. Refs: #706
This was referenced Jul 1, 2026
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.
/opt/venvis the decommissioned Debian image path; the Nix image has no such directory. The.vscode/settings.jsonmanifest entry rewrotepython.defaultInterpreterPathto/opt/venv/bin/python3, shipping a broken VS Code interpreter to downstream projects.This removes the Sed transform so the source's workspace-relative
${workspaceFolder}/.venv/bin/python3passes through unchanged (VS Code resolves${workspaceFolder}to the opened project, whereuvcreates.venv), and regenerates the synced workspace asset.Added a behavioral test that runs the real manifest sync and asserts the interpreter path is workspace-relative and never
/opt/venv.Closes #706