Skip to content

Commit 419c4e7

Browse files
committed
chore(deps): Update python samples' optional deps
In future versions of a2a-sdk, HTTP server packages may become optional. See a2aproject/a2a-python/pull/217 for details. This PR ensures that agents in `samples/python/agents/` continue to work with the future versions on a2a-sdk. Refs a2aproject#190
1 parent e9857f1 commit 419c4e7

File tree

8 files changed

+616
-68
lines changed

8 files changed

+616
-68
lines changed

samples/python/agents/analytics/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ dependencies = [
99
"matplotlib>=3.8.0",
1010
"pandas>=2.1.0",
1111
"a2a-sdk>=0.2.5",
12+
"sse-starlette>=2.3.6",
13+
"starlette>=0.46.2",
1214
]

samples/python/agents/analytics/uv.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/python/agents/azureaifoundry_sdk/azurefoundryagent/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ dependencies = [
1414
"python-dotenv>=1.0.0",
1515
"starlette>=0.35.0",
1616
"httpx>=0.25.0",
17+
"sse-starlette>=2.3.5",
1718
]

samples/python/agents/azureaifoundry_sdk/azurefoundryagent/uv.lock

Lines changed: 274 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/python/agents/helloworld/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ dependencies = [
1313
"langgraph>=0.4.1",
1414
"pydantic>=2.11.4",
1515
"python-dotenv>=1.1.0",
16+
"sse-starlette>=2.3.5",
17+
"starlette>=0.46.2",
1618
"uvicorn>=0.34.2",
1719
]
1820

samples/python/agents/helloworld/uv.lock

Lines changed: 155 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/python/agents/langgraph/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ dependencies = [
1414
"pydantic>=2.10.6",
1515
"python-dotenv>=1.1.0",
1616
"uvicorn>=0.34.2",
17+
"sse-starlette>=2.3.6",
18+
"starlette>=0.46.2",
1719
]
1820

1921
[tool.hatch.build.targets.wheel]

samples/python/agents/langgraph/uv.lock

Lines changed: 176 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)