Skip to content

Commit 5ca45f7

Browse files
darkhanioppstephengoogle
authored andcommitted
chore(deps): Update python samples' optional deps (#191)
* 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 #190 * Add langchain-openai dep to the langgraph sample This issue was noted by the automated code review bot.
1 parent a29e17e commit 5ca45f7

File tree

8 files changed

+316
-8
lines changed

8 files changed

+316
-8
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: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ description = "HelloWorld agent example that only returns Messages"
55
readme = "README.md"
66
requires-python = ">=3.10"
77
dependencies = [
8-
"a2a-sdk>=0.2.16",
8+
"a2a-sdk>=0.2.16",
9+
"click>=8.1.8",
10+
"dotenv>=0.9.9",
11+
"httpx>=0.28.1",
12+
"langchain-google-genai>=2.1.4",
13+
"langgraph>=0.4.1",
14+
"pydantic>=2.11.4",
15+
"python-dotenv>=1.1.0",
16+
"sse-starlette>=2.3.5",
17+
"starlette>=0.46.2",
918
"uvicorn>=0.34.2",
1019
]
1120

samples/python/agents/helloworld/uv.lock

Lines changed: 18 additions & 0 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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ dependencies = [
1010
"httpx>=0.28.1",
1111
"langchain-google-genai>=2.0.10",
1212
"langgraph>=0.3.18",
13-
"langchain-openai >=0.1.0",
13+
"langchain-openai>=0.1.0",
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: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)