From aa7f4aafeb76252b9b53989bfbce23b10f217f8f Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Fri, 12 Jul 2024 04:26:45 -0400 Subject: [PATCH] Migrate supervisor devcontainer from pip to uv (#5170) --- .devcontainer/devcontainer.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4071efdea..45bb7ffcc 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,6 +4,9 @@ "containerEnv": { "WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}" }, + "remoteEnv": { + "PATH": "${containerEnv:VIRTUAL_ENV}/bin:${containerEnv:PATH}" + }, "appPort": ["9123:8123", "7357:4357"], "postCreateCommand": "bash devcontainer_setup", "postStartCommand": "bash devcontainer_bootstrap", @@ -20,8 +23,8 @@ "GitHub.vscode-pull-request-github" ], "settings": { - "python.defaultInterpreterPath": "/usr/local/bin/python", - "python.pythonPath": "/usr/local/bin/python", + "python.defaultInterpreterPath": "/home/vscode/.local/ha-venv/bin/python", + "python.pythonPath": "/home/vscode/.local/ha-venv/bin/python", "python.terminal.activateEnvInCurrentTerminal": true, "python.testing.pytestArgs": ["--no-cov"], "pylint.importStrategy": "fromEnvironment",