这是indexloc提供的服务,不要输入任何密码
Skip to content

[Bug]: Missing dependencies for A2AClient (googleapis-common-protos, grpcio, protobuf) #892

@RubberGoose246

Description

@RubberGoose246

What happened?

Starting from version 0.2.14, it seems that the dependencies required for using A2AClient - namely googleapis-common-protos, grpcio, and protobuf — are no longer installed automatically.

As a result, importing A2AClient now causes ModuleNotFoundError unless these packages are installed manually.

These dependencies may need to be added back to the installation requirements.

Relevant log output

(.venv_a2a_0_2_14) C:\path\to>python file.py
Traceback (most recent call last):
  File "C:\path\to\file.py", line 8, in <module>
    from a2a.client import A2AClient
  File "C:\path\to\.venv_a2a_0_2_14\Lib\site-packages\a2a\client\__init__.py", line 15, in <module>
    from a2a.client.grpc_client import A2AGrpcClient
  File "C:\path\to\.venv_a2a_0_2_14\Lib\site-packages\a2a\client\grpc_client.py", line 5, in <module>
    import grpc
ModuleNotFoundError: No module named 'grpc'


(.venv_a2a_0_2_14) C:\path\to>pip show a2a-sdk
Name: a2a-sdk
Version: 0.2.14
Summary: A2A Python SDK
Home-page: https://a2a-protocol.org/
Author:
Author-email: Google LLC <googleapis-packages@google.com>
License:
Location: C:\path\to\.venv_a2a_0_2_14\Lib\site-packages
Requires: fastapi, httpx, httpx-sse, opentelemetry-api, opentelemetry-sdk, pydantic, sse-starlette, starlette
Required-by:


(.venv_a2a_0_2_14) C:\path\to>python --version
Python 3.12.7


(.venv_a2a_0_2_13) C:\path\to>pip show a2a_sdk
Name: a2a-sdk
Version: 0.2.13
Summary: A2A Python SDK
Home-page: https://a2a-protocol.org/
Author:
Author-email: Google LLC <googleapis-packages@google.com>
License:
Location: C:\path\to\.venv_a2a_0_2_13\Lib\site-packages
Requires: fastapi, google-api-core, grpcio, grpcio-reflection, grpcio-tools, httpx, httpx-sse, opentelemetry-api, opentelemetry-sdk, protobuf, pydantic, sse-starlette, starlette
Required-by:

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions