[Dependency Conflict] a2a-sdk<1.0 constraint in [extensibility] extra

Đang mở
#474 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

The conflict is in the packaging metadata of the sap-cloud-sdk [extensibility] extra, which pins a2a-sdk below 1.0; start in the project's pyproject.toml or setup metadata and find where that extra is declared. Check whether the MCP and A2A code paths actually need the old a2a-sdk API before changing the constraint. Done means the extra resolves alongside a2a-sdk 1.x in a clean install, with the existing extensibility tests still passing.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

The sap-cloud-sdk[extensibility] extra requires a2a-sdk<1.0, which creates an unresolvable dependency conflict for projects that need both:

  1. SAP Cloud SDK extensibility features
  2. A2A SDK 1.x (current protocol version)

This constraint blocks critical dependency upgrades, including security patches, and forces projects to choose between SAP integrations or modern dependency versions.

Impact

Currently blocking 2 of our PRs:

  • sap-cloud-sdk upgrade (0.59.0 → 0.66.1)
  • litellm security upgrade (1.99.0 → 1.109.1)

Dependency Conflict Chain

sap-internal-sdk >=0.9.2,<0.10.0
└─ sap-cloud-sdk[extensibility] >=0.55.2,<1
├─ a2a-sdk<1.0 ❌ Conflicts with a2a-sdk==1.3.0
└─ mcp>=1.1.0,<2 (v0.59.0) ❌ Blocks litellm 1.108.0+
OR
mcp>=1.1.0,<3 (v0.65.3+) ⚠️ Would allow mcp 2.x, BUT still blocked by a2a-sdk

Our project requirements:
├─ a2a-sdk[http-server]==1.3.0 (required for A2A protocol)
└─ litellm~=1.109.0 (needs mcp 2.x)

Why This Matters

  1. a2a-sdk 1.3.0 is current: Cannot downgrade to <1.0 without breaking A2A protocol compatibility
  2. sap-cloud-sdk 0.66.x allows mcp 2.x: Would unblock litellm upgrades, BUT requires a2a-sdk<1.0
  3. Security patches blocked:
  4. Dependency modernization blocked: Stuck on older versions of multiple packages

Requested Fix

Update sap-cloud-sdk[extensibility] to support a2a-sdk>=1.0

  • Most projects use A2A SDK 1.x (current protocol)
  • Allows both SAP integrations and modern dependencies

Workaround Attempted

  • ❌ Downgrade a2a-sdk to <1.0 (breaks A2A protocol)
  • ❌ Remove sap-internal-sdk (required for BTP integration)
  • ❌ Skip [extensibility] extra (automatically included by sap-internal-sdk)

thx for your support!

Ngôn ngữ chính
Python
Star
29
Fork
45
Merge trung bình
2 ngày 4 giờ
Pull request đã merge (30 ngày)
51

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SAP/cloud-sdk-python

Tất cả issue của SAP/cloud-sdk-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.