SAP / SAP/cloud-sdk-python

sap-cloud-sdk 0.52.2+ requires protobuf>=7.36.0,<8, conflicting with a2a-sdk (protobuf<7)

Open
#331 1 comment 0 reactions 1 assignee View on GitHub

@ArthurTonial is already working on this.

Since Sep 14, 2026.

bug question
Dominant language
Python
Stars
28
Forks
42
Avg merge
2d 13h
Merged PRs (30d)
35

Description

Describe the Bug

sap-cloud-sdk 0.52.2 and above requires protobuf>=7.36.0,<8, but a2a-sdk requires protobuf>=5.29.5,<7 (as of version 1.1.4).
So sap-cloud-sdk 0.52.2 and above are incompatible with recent versions of the a2a-sdk.

Resolver output (uv):

Because a2a-sdk==1.1.2 depends on protobuf>=5.29.5,<7 and
sap-cloud-sdk==0.53.0 depends on protobuf>=7.36.0,<8, we can conclude
[that] your requirements are unsatisfiable.

Any project using sap-cloud-sdk>=0.52.2 and an a2a-sdk release that still caps protobuf<7 cannot resolve.

Steps to Reproduce
  1. Create an a2a agent that requires a2a-sdk 1.1.4 and sap-cloud-sdk 0.53.0 and attempt to resolve the dependencies
Expected Behavior

It needs to be possible to use a2a-sdk in combination with the sap-cloud-sdk without dependency conflicts.

Screenshots

No response

Used Versions
  • Python version via python --version: Python 3.13.13
  • SAP Cloud SDK for Python version: 0.53.0
  • Framework version (if applicable, e.g., Flask, FastAPI): Starlette 1.6.0 / uvicorn 0.52.4 (A2A agent server, via a2a-sdk 1.1.2)
Installed packages via pip list or uv pip list

This is the resolved set with sap-cloud-sdk==0.52.0 (the working baseline —
0.53.0 is unsatisfiable, see below). Key packages:

a2a-sdk==1.1.2
grpcio==1.83.1
httpx==0.28.1
langchain==1.4.0
langchain-core==1.6.3
langchain-litellm==0.7.1
litellm==1.96.0
protobuf==6.33.6
sap-cloud-sdk==0.52.0
starlette==1.6.0
uvicorn==0.52.4

With sap-cloud-sdk==0.53.0 the set does NOT resolve:

Because a2a-sdk==1.1.2 depends on protobuf>=5.29.5,<7 and
sap-cloud-sdk==0.53.0 depends on protobuf>=7.36.0,<8, we can conclude
that your requirements are unsatisfiable.

(Resolved with uv pip compile --python-version 3.13, 175 packages total.)

Code Examples
Stack Trace

No response

Log File
Log file ...
Affected Development Phase

Getting Started

Impact

No Impact

Timeline

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.