From e526a69243d3eb204de3168bb92ed889ca69fc06 Mon Sep 17 00:00:00 2001 From: Zhang Hua Date: Tue, 29 Sep 2026 12:46:02 +0800 Subject: [PATCH] fix: bump snap-helpers to fix SnapCtl pipe deadlock Update snap-helpers from 46803aa9 to 76f8166 to pull in the upstream fix for the SnapCtl.run() pipe deadlock (albertodonato/snap-helpers#26). The configure hook calls snap.config.get_options() and snap.services, which can deadlock when snapctl output exceeds the OS pipe buffer. Partial-bug: #2162621 Signed-off-by: Zhang Hua --- pyproject.toml | 2 +- uv.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 229315e..46eddb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ classifiers = [ ] dependencies = [ - "snap-helpers @ git+https://github.com/albertodonato/snap-helpers@46803aa9d52cc0bb24f76df878dd1010fc08e6a0", + "snap-helpers @ git+https://github.com/albertodonato/snap-helpers@76f8166b640163c0f20887829e31b2cafbfdec11", "jinja2", "netifaces", "pydantic", diff --git a/uv.lock b/uv.lock index 3359dca..d5530e6 100644 --- a/uv.lock +++ b/uv.lock @@ -346,7 +346,7 @@ requires-dist = [ { name = "pytest-mock", marker = "extra == 'dev'" }, { name = "python-novaclient", marker = "extra == 'dev'" }, { name = "python-novaclient", marker = "extra == 'tics'" }, - { name = "snap-helpers", git = "https://github.com/albertodonato/snap-helpers?rev=46803aa9d52cc0bb24f76df878dd1010fc08e6a0" }, + { name = "snap-helpers", git = "https://github.com/albertodonato/snap-helpers?rev=76f8166b640163c0f20887829e31b2cafbfdec11" }, ] provides-extras = ["dev", "tics"] @@ -666,7 +666,7 @@ wheels = [ [[package]] name = "snap-helpers" version = "0.4.2" -source = { git = "https://github.com/albertodonato/snap-helpers?rev=46803aa9d52cc0bb24f76df878dd1010fc08e6a0#46803aa9d52cc0bb24f76df878dd1010fc08e6a0" } +source = { git = "https://github.com/albertodonato/snap-helpers?rev=76f8166b640163c0f20887829e31b2cafbfdec11#76f8166b640163c0f20887829e31b2cafbfdec11" } dependencies = [ { name = "pyyaml" }, ]