Add Python version file (#154267)

This commit is contained in:
Paulus Schoutsen
2025-10-13 13:02:49 -04:00
committed by GitHub
parent dd6bc715d8
commit f0756af52d
3 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@@ -79,7 +79,6 @@ junit.xml
.project .project
.pydevproject .pydevproject
.python-version
.tool-versions .tool-versions
# emacs auto backups # emacs auto backups

1
.python-version Normal file
View File

@@ -0,0 +1 @@
3.13

View File

@@ -36,7 +36,7 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
USER vscode USER vscode
ENV UV_PYTHON=3.13.2 COPY .python-version ./
RUN uv python install RUN uv python install
ENV VIRTUAL_ENV="/home/vscode/.local/ha-venv" ENV VIRTUAL_ENV="/home/vscode/.local/ha-venv"