-
Notifications
You must be signed in to change notification settings - Fork 313
refactor: Separate protobuf dependencies into sensible extras #522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 5 commits
c3cef00
8ffaa43
0e23416
16ab7cc
9a8fe5d
66b42d1
b956806
965c371
285ff7a
09bb4f1
4be36ea
b7e2c71
5813558
30af48b
0ab72ba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,8 +11,6 @@ dependencies = [ | |
| "httpx>=0.28.1", | ||
| "httpx-sse>=0.4.0", | ||
| "pydantic>=2.11.3", | ||
| "protobuf>=5.29.5", | ||
| "google-api-core>=1.26.0", | ||
| ] | ||
|
|
||
| classifiers = [ | ||
|
|
@@ -29,9 +27,11 @@ classifiers = [ | |
| ] | ||
|
|
||
| [project.optional-dependencies] | ||
| http-server = ["fastapi>=0.115.2", "sse-starlette", "starlette"] | ||
| proto = ["protobuf>=5.29.5"] | ||
|
||
| jsonrpc-server = ["fastapi>=0.115.2", "sse-starlette", "starlette"] | ||
| http-server = ["a2a-sdk[jsonrpc-server]", "a2a-sdk[proto]"] | ||
| encryption = ["cryptography>=43.0.0"] | ||
| grpc = ["grpcio>=1.60", "grpcio-tools>=1.60", "grpcio_reflection>=1.7.0"] | ||
| grpc = ["grpcio>=1.60", "grpcio-tools>=1.60", "grpcio_reflection>=1.7.0", "google-api-core>=1.26.0", "a2a-sdk[proto]"] | ||
| telemetry = ["opentelemetry-api>=1.33.0", "opentelemetry-sdk>=1.33.0"] | ||
| postgresql = ["sqlalchemy[asyncio,postgresql-asyncpg]>=2.0.0"] | ||
| mysql = ["sqlalchemy[asyncio,aiomysql]>=2.0.0"] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why make changes to this file? It appears that entires were in an alphabetical order here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unclear. i think this came directly from the github action when updating readme. i can revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in fact I think this may have come from the Format script which must have a bug for capitalization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/a2aproject/a2a-python/pull/550### to address
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reran with ^ and applied. removed postres dup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we leave it as it was? I'm not entirely familiar with how this file is used and I worry that dependents may be case-sensitive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was intentionally left case-sensitive, because the case-insensitive sort wasn't always consistent.