From 38924e194235fb6953f1ff18f922c7dd4c10d3ff Mon Sep 17 00:00:00 2001 From: Zhang Hua Date: Tue, 29 Sep 2026 12:47:41 +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 reads snap config via snaphelpers, 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 b5b57bb..c0e1742 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ "prettytable>=3.17.0", "pydantic>=2,<3", "pyroute2==0.7.11", - "snap-helpers @ git+https://github.com/albertodonato/snap-helpers@46803aa9d52cc0bb24f76df878dd1010fc08e6a0", + "snap-helpers @ git+https://github.com/albertodonato/snap-helpers@76f8166b640163c0f20887829e31b2cafbfdec11", ] [project.optional-dependencies] diff --git a/uv.lock b/uv.lock index 0ed77a0..adc9ad7 100644 --- a/uv.lock +++ b/uv.lock @@ -176,7 +176,7 @@ requires-dist = [ { name = "pytest", marker = "extra == 'dev'" }, { name = "pytest-mock", marker = "extra == 'dev'" }, { name = "ruff", marker = "extra == 'dev'" }, - { 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"] @@ -375,7 +375,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" }, ]