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
Commit 67ba0a4
Browse filesBrowse the repository at this point in the historyBrowse files
Removes the protobuf/types-protobuf < 7 upper bound so the SDK and makes
the code type-check cleanly against the protobuf 7 stubs.
__Context:__
The <7 cap was added in a2aproject#1019 because protobuf 7 removed
FieldDescriptor.label, crashing validate_proto_required_fields(). a2aproject#1158
already made the runtime version-agnostic ("is_repeated" with a "label"
fallback), so the ceiling is no longer needed.
__Changes:__
- pyproject.toml: drop <7 from protobuf + drop <7 from types-protobuf.
- re-locked uv.lock
- Static-typing fixes for the stricter types-protobuf 7 stubs (all
runtime
behavior unchanged; full test suite passes)
- field.is_repeated usage fixed in
src/a2a/server/routes/_proto_schema.py
__Validation:__
- Full test suite passes on protobuf 5.29.5, 6.33.6, 7.36.2
- `ty check`, `ruff check` all pass
0 commit comments