Skip to content

[BUG] Downstream venv path Sed transform points at the dead Debian /opt/venv path #706

Closed

Description

@c-vigo

Problem

scripts/manifest.toml:47 rewrites the workspace template's ${workspaceFolder}/.venv/bin/python3 → /opt/venv/bin/python3 (the decommissioned Debian image path). That value lands in assets/workspace/.vscode/settings.json:7, but the Nix image uses /root/assets/workspace/.venv (see assets/workspace/.devcontainer/devcontainer.json:21). Downstream projects get a broken IDE Python interpreter.

Recommendation

Update the manifest.toml transform target to the Nix venv path, regenerate, and confirm settings.json. Spot-check inside the built image that the interpreter resolves.

Context

Found during the state-of-the-repo review of #670 (epic #625).

Refs: #625

Activity

  1. added
    bug
    priority:high
    area:workspace
    semver:patch
    on Jun 25, 2026
  2. c-vigo commented on Jul 1, 2026

    @c-vigo
    ContributorAuthor

    Resolved on dev by PR #716 (fix(setup): point the workspace python interpreter at the workspace venv). The dead /opt/venv sed transform is gone — the scaffolded .vscode/settings.json now points at ${workspaceFolder}/.venv/bin/python3, with a regression guard in tests/test_transforms.py asserting the interpreter never resolves to /opt/venv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workspacebugpriority:highsemver:patch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions