From 006570890f2648e1721368284536a2ea9cf08163 Mon Sep 17 00:00:00 2001 From: Tim Niemueller Date: Mon, 4 Aug 2025 15:31:28 +0200 Subject: [PATCH] fix: relax protobuf dependency version requirement We want to use this in a project that requires `protobuf==6.31.1`. Version history indicates upgrading a2a-python to that version is not possible at the moment. Therefore, relax the required version to just be `>=5.29.5` (instead of `==`). This does print a warning when using a2a-python with a (major) newer version, but my tests show that it works just fine. Better to live with the warning than not being able to use a2a-python at all. This does not update the buf generation config as this would upgrade to newer proto requirements (and generate protos for newer versions). --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d287279e..a23058fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ dependencies = [ "pydantic>=2.11.3", "sse-starlette", "starlette", - "protobuf==5.29.5", + "protobuf>=5.29.5", "google-api-core>=1.26.0", ]