Skip to content

Commit

Permalink
fix(hass): Suppress venv creation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bjw-s committed Jan 7, 2025
1 parent e696427 commit 056e584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/home-assistant/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ unset UV_SYSTEM_PYTHON
mkdir -p "${VENV_FOLDER}"

# Create venv if required.
uv venv --system-site-packages --allow-existing "${VENV_FOLDER}"
uv venv --system-site-packages --link-mode=copy --allow-existing "${VENV_FOLDER}"
# Activate the venv
source "${VENV_FOLDER}/bin/activate"
# Install uv into the venv if required. This is needed for home-assistant to properly invoke uv to install additional deps.
Expand Down

0 comments on commit 056e584

Please sign in to comment.