1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Fix devcontainer mistakenly using Python 3.14 (#154046)

This commit is contained in:
Felipe Santos
2025-10-09 12:25:59 -03:00
committed by GitHub
parent a3b641e53d
commit 250e562caf

View File

@@ -34,9 +34,10 @@ WORKDIR /usr/src
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
USER vscode
RUN uv python install 3.13.2
USER vscode
ENV VIRTUAL_ENV="/home/vscode/.local/ha-venv"
RUN uv venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"