Skip to content

cloud-sdk 0.40.1 is incompatible with a2a-sdk #266

Description

@theta682

Describe the Bug

The update of protobuf to >=7.0.0 breaks compatibility with a2a-sdk, which requires protobuf to be <7. See https://github.com/a2aproject/a2a-python/blob/main/pyproject.toml#L13
The bug has been introduced in #259

Steps to Reproduce

Include both sap-cloud-sdk and a2a-sdk in a project's dependencies.

Expected Behavior

uv fails to resolve dependencies

Screenshots

No response

Used Versions

  • Python version via python --version: 3.13
  • SAP Cloud SDK for Python version: 0.40.1
  • Framework version (if applicable, e.g., Flask, FastAPI): a2a-sdk
Installed packages via pip list or uv pip list
Package list here

Code Examples

# Your code here

Stack Trace

Command failed: uv lock --upgrade-package sap-cloud-sdk
Using CPython 3.13.14 interpreter at: /opt/containerbase/tools/python/3.13.14/bin/python3
  × No solution found when resolving dependencies for split (markers:
  │ python_full_version == '3.13.*'):
  ╰─▶ Because sap-cloud-sdk>=0.43.0 depends on protobuf>=7.0.0 and
      a2a-sdk>=1.1.2 depends on protobuf>=5.29.5,<7, we can conclude that
      a2a-sdk>=1.1.2 and sap-cloud-sdk>=0.43.0 are incompatible.
      And because your project depends on a2a-sdk[all]==1.1.2 and
      sap-cloud-sdk==0.43.0, we can conclude that your project's requirements
      are unsatisfiable.

Log File

Log file ...

Affected Development Phase

Release

Impact

Blocked

Timeline

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions