Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [{ name = "Google LLC", email = "googleapis-packages@google.com" }]
requires-python = ">=3.10"
keywords = ["A2A", "A2A SDK", "A2A Protocol", "Agent2Agent", "Agent 2 Agent"]
dependencies = [
"fastapi>=0.116.1",
"fastapi>=0.95.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Lowering the FastAPI version is a good goal for compatibility, but fastapi<0.100.0 is not compatible with Pydantic v2. This project requires pydantic>=2.11.3, and the codebase uses Pydantic v2 features (e.g., model_json_schema in src/a2a/server/apps/jsonrpc/fastapi_app.py).

FastAPI introduced support for Pydantic v2 in version 0.100.0. Using a version lower than that will cause dependency resolution issues or runtime errors.

To ensure compatibility, the minimum version of FastAPI should be at least 0.100.0. This still significantly lowers the version requirement from 0.116.1 while ensuring the project remains functional.

  "fastapi>=0.100.0",

"httpx>=0.28.1",
"httpx-sse>=0.4.0",
"pydantic>=2.11.3",
Expand Down
Loading