From d5e3b586dd5d8e4a28cff7f21aa7146c6c90a18e Mon Sep 17 00:00:00 2001 From: Santiago Date: Wed, 20 May 2026 10:22:26 -0300 Subject: [PATCH] fix(python): require protobuf >=7.34.1 to match generated gencode The utxorpc-spec generated _pb2.py files are stamped with protobuf gencode 7.34.1, but pyproject.toml declared protobuf >=6.32,<7. Protobuf requires the runtime to be no older than the linked gencode, so 'import utxorpc_spec' fails at runtime with a VersionError, and downstream SDKs cannot resolve a compatible protobuf. Align the dependency bound with the gencode. --- gen/python/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/python/pyproject.toml b/gen/python/pyproject.toml index 91442b2..f89adfe 100644 --- a/gen/python/pyproject.toml +++ b/gen/python/pyproject.toml @@ -16,7 +16,7 @@ include = ["utxorpc_spec/**/*.py", "utxorpc_spec/**/*.pyi"] [tool.poetry.dependencies] # https://python-poetry.org/docs/dependency-specification/ python = ">=3.9,<4.0" grpcio = ">=1.74,<2" -protobuf = ">=6.32,<7" +protobuf = ">=7.34.1,<8" grpc-stubs = "^1.53.0.6" [[tool.poetry.source]]