From ee9abd519d62b2683ff064c19364861ea5a77df7 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 26 Aug 2025 09:44:04 +0200 Subject: [PATCH 1/2] Default virtual environment location to .venv (#151181) --- .dockerignore | 3 ++- script/run-in-env.sh | 2 +- script/setup | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.dockerignore b/.dockerignore index cf975f4215f28..e2f89e2f79746 100644 --- a/.dockerignore +++ b/.dockerignore @@ -14,7 +14,8 @@ tests # Other virtualization methods venv +.venv .vagrant # Temporary files -**/__pycache__ \ No newline at end of file +**/__pycache__ diff --git a/script/run-in-env.sh b/script/run-in-env.sh index 1c7f76ccc1f1d..b64d311d8fe9b 100755 --- a/script/run-in-env.sh +++ b/script/run-in-env.sh @@ -19,7 +19,7 @@ else # other common virtualenvs my_path=$(git rev-parse --show-toplevel) - for venv in venv .venv .; do + for venv in .venv venv .; do if [ -f "${my_path}/${venv}/bin/activate" ]; then . "${my_path}/${venv}/bin/activate" break diff --git a/script/setup b/script/setup index 84ee074510aa7..a9b89e4ea69ef 100755 --- a/script/setup +++ b/script/setup @@ -18,11 +18,11 @@ mkdir -p config if [ ! -n "$VIRTUAL_ENV" ]; then if [ -x "$(command -v uv)" ]; then - uv venv venv + uv venv .venv else - python3 -m venv venv + python3 -m venv .venv fi - source venv/bin/activate + source .venv/bin/activate fi if ! [ -x "$(command -v uv)" ]; then @@ -37,7 +37,7 @@ python3 -m script.translations develop --all hass --script ensure_config -c config -if ! grep -R "logger" config/configuration.yaml >> /dev/null;then +if ! grep -R "logger" config/configuration.yaml >> /dev/null; then echo " logger: default: info From 4b5ab472ada044175a7cb1a1549a0f51d4487b04 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 26 Aug 2025 10:52:52 +0200 Subject: [PATCH 2/2] Bump qingping-ble to 1.0.1 (#151170) --- homeassistant/components/qingping/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/qingping/manifest.json b/homeassistant/components/qingping/manifest.json index e0317ab89b53b..11d408dab4281 100644 --- a/homeassistant/components/qingping/manifest.json +++ b/homeassistant/components/qingping/manifest.json @@ -20,5 +20,5 @@ "dependencies": ["bluetooth_adapters"], "documentation": "https://www.home-assistant.io/integrations/qingping", "iot_class": "local_push", - "requirements": ["qingping-ble==0.10.0"] + "requirements": ["qingping-ble==1.0.1"] } diff --git a/requirements_all.txt b/requirements_all.txt index d0461e22cf066..cefe1f55ea1b1 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2625,7 +2625,7 @@ qbittorrent-api==2024.9.67 qbusmqttapi==1.4.2 # homeassistant.components.qingping -qingping-ble==0.10.0 +qingping-ble==1.0.1 # homeassistant.components.qnap qnapstats==0.4.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 10dfe99bf8ede..0af37ec0c1650 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -2177,7 +2177,7 @@ qbittorrent-api==2024.9.67 qbusmqttapi==1.4.2 # homeassistant.components.qingping -qingping-ble==0.10.0 +qingping-ble==1.0.1 # homeassistant.components.qnap qnapstats==0.4.0