Skip to content

Commit b46dd13

Browse files
google-genai-botcopybara-github
authored andcommitted
feat: enable a2a-sdk 1.x by widening the dependency constraint
Widen the a2a-sdk dependency constraint to >=0.3.4,<2 (both the a2a and test extras) and re-lock so the ADK A2A integration resolves to a2a-sdk 1.x by default while still supporting 0.3.x. The dual-version CI added in the parent change keeps the compatibility shim verified against both SDK majors. PiperOrigin-RevId: 945017973
1 parent 38587d7 commit b46dd13

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies = [
5757
"websockets>=15.0.1,<16",
5858
]
5959
optional-dependencies.a2a = [
60-
"a2a-sdk>=0.3.4,<0.4",
60+
"a2a-sdk>=0.3.4,<2",
6161
]
6262
optional-dependencies.agent-identity = [
6363
"google-cloud-agentidentitycredentials>=0.1,<0.2",
@@ -198,7 +198,7 @@ optional-dependencies.otel-gcp = [
198198
]
199199
optional-dependencies.slack = [ "slack-bolt>=1.22" ]
200200
optional-dependencies.test = [
201-
"a2a-sdk>=0.3,<0.4",
201+
"a2a-sdk>=0.3.4,<2",
202202
"anthropic>=0.78", # For anthropic model tests; 0.78 introduced ThinkingConfigAdaptiveParam (required for Claude Opus 4.7).
203203
"anyio>=4.9,<5",
204204
"beautifulsoup4>=3.2.2",

0 commit comments

Comments
 (0)