Skip to content

Commit 0f55f55

Browse files
authored
fix: relax protobuf dependency version requirement (#381)
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).
1 parent 760697f commit 0f55f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = [
1414
"pydantic>=2.11.3",
1515
"sse-starlette",
1616
"starlette",
17-
"protobuf==5.29.5",
17+
"protobuf>=5.29.5",
1818
"google-api-core>=1.26.0",
1919
]
2020

0 commit comments

Comments
 (0)