From e69d22a8d647b2fad06973fafc30aaeac349a6ba Mon Sep 17 00:00:00 2001 From: Jean Scherf Date: Tue, 25 Aug 2026 12:43:19 -0300 Subject: [PATCH] fix: relax protobuf lower bound to restore a2a-sdk compatibility Lowers the protobuf requirement from >=7.0.0 back to >=5.29.5 so that projects depending on both sap-cloud-sdk and a2a-sdk can resolve dependencies. a2a-sdk 1.x requires protobuf>=5.29.5,<7; the >=7.0.0 lower bound introduced in #259 made the two packages incompatible. Also bumps protovalidate to >=0.14.1, the first version that accepts protobuf>=5 without an upper bound. Fixes #266 --- pyproject.toml | 4 ++-- uv.lock | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fd556aea..414693e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,8 +21,8 @@ dependencies = [ "opentelemetry-instrumentation-langchain>=0.61.0", "httpx>=0.27.0", "PyJWT>=2.13.0", - "protobuf>=7.0.0", - "protovalidate>=0.13.0", + "protobuf>=5.29.5", + "protovalidate>=0.14.1", "grpcio>=1.60.0", "opentelemetry-api>=1.43.0", "opentelemetry-sdk>=1.43.0", diff --git a/uv.lock b/uv.lock index 2c98946e..1e9f7903 100644 --- a/uv.lock +++ b/uv.lock @@ -3925,7 +3925,7 @@ wheels = [ [[package]] name = "sap-cloud-sdk" -version = "0.45.0" +version = "0.45.3" source = { editable = "." } dependencies = [ { name = "cryptography" }, @@ -4042,8 +4042,8 @@ requires-dist = [ { name = "opentelemetry-instrumentation-sqlalchemy", specifier = "~=0.64b0" }, { name = "opentelemetry-instrumentation-starlette", specifier = "~=0.64b0" }, { name = "opentelemetry-sdk", specifier = ">=1.43.0" }, - { name = "protobuf", specifier = ">=7.0.0" }, - { name = "protovalidate", specifier = ">=0.13.0" }, + { name = "protobuf", specifier = ">=5.29.5" }, + { name = "protovalidate", specifier = ">=0.14.1" }, { name = "pydantic", specifier = "~=2.12.3" }, { name = "pyjwt", specifier = ">=2.13.0" }, { name = "requests", specifier = ">=2.33.0" },