You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Missing dependencies for A2AClient (googleapis-common-protos, grpcio, protobuf) #326
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.
Update: I was able to reproduce and resolve the issue. #322 made the grpc imports optional, but didn't add proper handling on the client side to prevent these import errors when not using grpc.
#330 added the handling on the client side, which was released in 0.2.15 I will be yanking the 0.2.14 release.
NOTE: to use the grpc client/server, you will still need to install using pip install "a2a-sdk[grpc]"
Activity
holtskinner commentedon Jul 21, 2025
This was an intentional change for grpc use cases.
These now need to be installed with
pip install "a2a-sdk[grpc]"See https://github.com/a2aproject/a2a-python/releases/tag/v0.2.14Are you experiencing this even when you're not trying to use gRPC?
fix: Prevent import grpc issues after making dependencies optional
fix: Prevent import grpc issues for Client after making dependencies …
chore(main): release 0.2.15 (#329)
holtskinner commentedon Jul 21, 2025
Update: I was able to reproduce and resolve the issue. #322 made the grpc imports optional, but didn't add proper handling on the client side to prevent these import errors when not using grpc.
#330 added the handling on the client side, which was released in
0.2.15I will be yanking the0.2.14release.NOTE: to use the grpc client/server, you will still need to install using
pip install "a2a-sdk[grpc]"Thanks for notifying us of the issue.