Skip to content

(no bug): point devcontainer python interpreter at the correct path#7199

Merged
biancadanforth merged 1 commit into
mainfrom
devcontainer-fix
May 12, 2026
Merged

(no bug): point devcontainer python interpreter at the correct path#7199
biancadanforth merged 1 commit into
mainfrom
devcontainer-fix

Conversation

@biancadanforth
Copy link
Copy Markdown
Contributor

python.defaultInterpreterPath was set to ${containerWorkspaceFolder}/.venv, which is a directory. This worked fine for the previously installed Python extension, which looked for a python binary in the provided directory, but the newer ms-python.vscode-python-envs extension requires a more explicit path.

While I hit this because I use VS Code Insiders, this change doesn't break the path resolution for devs on regular VS Code. It's more explicit.

python.defaultInterpreterPath was set to ${containerWorkspaceFolder}/.venv,
which is a directory. This worked fine for the previously installed Python
extension, which looked for a python binary in the provided directory, but
the newer ms-python.vscode-python-envs extension requires a more explicit
path.

While I hit this because I use VS Code Insiders, this change doesn't break
the path resolution for devs on regular VS Code. It's more explicit.
@biancadanforth biancadanforth requested a review from a team as a code owner May 12, 2026 14:42
@biancadanforth biancadanforth added this pull request to the merge queue May 12, 2026
Merged via the queue into main with commit 20624b8 May 12, 2026
1 check passed
@biancadanforth biancadanforth deleted the devcontainer-fix branch May 12, 2026 15:09
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.

2 participants