From 56eb24280c5e31414936068b7cede6895e3b1126 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 30 May 2023 10:07:10 +0930 Subject: [PATCH] pyln-testing: allow protobuf v4 I need to update gprcio-tools, but it needs protobuf v4. Christian added this restriction in a99509db36188bac5b8008e6005404cc96dd29ab to "Update protobuf dependency to silence dependabot", but perhaps it's time to actually update? ``` $ poetry update Updating dependencies Resolving dependencies... (1.0s) Because pyln-testing (23.05rc2) @ file:///home/rusty/devel/cvs/lightning/contrib/pyln-testing depends on protobuf (>=3.20.3,<4) and grpcio-tools (1.54.0) depends on protobuf (>=4.21.6,<5.0dev), pyln-testing (23.05rc2) @ file:///home/rusty/devel/cvs/lightning/contrib/pyln-testing is incompatible with grpcio-tools (1.54.0). So, because cln-meta-project depends on both grpcio-tools (1.54.0) and pyln-testing (23.05rc2) @ file:///home/rusty/devel/cvs/lightning/contrib/pyln-testing, version solving failed. ``` Signed-off-by: Rusty Russell --- contrib/pyln-testing/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/pyln-testing/pyproject.toml b/contrib/pyln-testing/pyproject.toml index 04739676c..f9c3ebea5 100644 --- a/contrib/pyln-testing/pyproject.toml +++ b/contrib/pyln-testing/pyproject.toml @@ -22,7 +22,7 @@ Flask = "^2.0.3" cheroot = "^8.6.0" psutil = "^5.9.0" grpcio = ">=1.47" -protobuf = ">=3.20.3,<4" +protobuf = ">=3.20.3" [tool.poetry.dev-dependencies] pyln-client = { path = "../pyln-client", develop = true}