home-assistant-custom-components.blueprints-updater: 2.4.0 -> 2.7.2

Diff: https://github.com/luuquangvu/blueprints-updater/compare/2.4.0...2.7.2

Changelog: https://github.com/luuquangvu/blueprints-updater/releases/tag/2.7.2
This commit is contained in:
Sandro Jäckel
2026-06-05 00:18:52 +02:00
parent e3da29882d
commit 108255da78
2 changed files with 13 additions and 14 deletions
@@ -1,12 +1,11 @@
diff --git a/custom_components/blueprints_updater/coordinator.py b/custom_components/blueprints_updater/coordinator.py
index 9cbbe32..92a5ab5 100644
index 441b870..54551d1 100644
--- a/custom_components/blueprints_updater/coordinator.py
+++ b/custom_components/blueprints_updater/coordinator.py
@@ -3234,21 +3234,6 @@ def scan_blueprints(
continue
@@ -3731,19 +3731,6 @@ def scan_blueprints(
full_path = os.path.join(root, file)
- real_full_path = os.path.realpath(full_path)
real_full_path = os.path.realpath(full_path)
- try:
- if (
- os.path.commonpath([real_full_path, real_blueprint_path])
@@ -20,7 +19,6 @@ index 9cbbe32..92a5ab5 100644
- except (ValueError, OSError):
- _LOGGER.warning("Skipping blueprint with invalid path: %s", full_path)
- continue
-
if relative_path := get_blueprint_relative_path(hass, full_path):
try:
with open(full_path, encoding="utf-8") as f:
@@ -13,13 +13,13 @@
buildHomeAssistantComponent rec {
owner = "luuquangvu";
domain = "blueprints_updater";
version = "2.4.0";
version = "2.7.2";
src = fetchFromGitHub {
inherit owner;
repo = "blueprints-updater";
tag = version;
hash = "sha256-O5HGjnj9fz+RrCq6sgdYlU1r9qFJhmUdfYWdFrwFngw=";
hash = "sha256-qWWb4n20wFiunvjYUFWXnze3kqYF4n2GCNy5Q34+7ao=";
};
patches = [
@@ -31,10 +31,12 @@ buildHomeAssistantComponent rec {
postPatch = ''
# avoid dependency on rather big pytest-timeout
substituteInPlace pyproject.toml \
--replace-fail '"--timeout=60"' ""
--replace-fail '"--timeout=60",' ""
'';
dependencies = [
# Uncodumented, but otherwise the home-assistant helpers/httpx_client.py fails like:
# ImportError: Using http2=True, but the 'h2' package is not installed. Make sure to install httpx using `pip install httpx[http2]`.
h2
];
@@ -46,12 +48,11 @@ buildHomeAssistantComponent rec {
pytestCheckHook
];
disabledTests = [
disabledTestPaths = [
# pytest-homeassistant-custom-component tries to create temporary directories inside the nix store
"test_async_fetch_content_forum_invalid_json_sets_fetch_error"
"test_full_update_lifecycle"
"test_restore_blueprint_service"
"test_update_all_service"
"tests/integration/test_init.py::test_full_update_lifecycle"
"tests/integration/test_services.py::test_restore_blueprint_service"
"tests/integration/test_services.py::test_update_all_service"
];
meta = {