Skip to content

refactor: Separate protobuf dependencies into sensible extras#522

Draft
vinoo999 wants to merge 15 commits intoa2aproject:mainfrom
vinoo999:split_proto_deps
Draft

refactor: Separate protobuf dependencies into sensible extras#522
vinoo999 wants to merge 15 commits intoa2aproject:mainfrom
vinoo999:split_proto_deps

Conversation

@vinoo999
Copy link
Contributor

@vinoo999 vinoo999 commented Oct 24, 2025

Description

This introduces a proto extra into the package. The core library itself has no direct dependency on protobuf and only rest server and clients require a2a. google-api-core is only a dependency for grpc. Refactor accordingly to reduce dependency mangling introduced by proto for non grpc/rest servers. Assuming a CI regenerates the uv.lock file but can regenerate it otherwise.

This does not follow the runtime validation pattern in #217 as proto dependencies are localized in proto_utils.py.

  • Follow the CONTRIBUTING Guide.
  • Make your Pull Request title in the https://www.conventionalcommits.org/ specification.
    • Important Prefixes for release-please:
      • fix: which represents bug fixes, and correlates to a SemVer patch.
      • feat: represents a new feature, and correlates to a SemVer minor.
      • feat!:, or fix!:, refactor!:, etc., which represent a breaking change (indicated by the !) and will result in a SemVer major.
  • Ensure the tests and linter pass (Run bash scripts/format.sh from the repository root to format)
  • Appropriate docs were updated (if necessary)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants