Skip to content

Commit 7359900

Browse files
authored
Merge branch 'main' into pre-commit-hooks
2 parents 4f6f6a8 + fad6601 commit 7359900

File tree

4 files changed

+619
-602
lines changed

4 files changed

+619
-602
lines changed

buf.gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ managed:
1919
plugins:
2020
# Generate python protobuf related code
2121
# Generates *_pb2.py files, one for each .proto
22-
- remote: buf.build/protocolbuffers/python
22+
- remote: buf.build/protocolbuffers/python:v29.3
2323
out: src/a2a/grpc
2424
# Generate python service code.
2525
# Generates *_pb2_grpc.py

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies = [
2020
"grpcio>=1.60",
2121
"grpcio-tools>=1.60",
2222
"grpcio_reflection>=1.7.0",
23-
"protobuf==6.31.1",
23+
"protobuf==5.29.5",
2424
]
2525

2626
classifiers = [
@@ -49,8 +49,11 @@ packages = ["src/a2a"]
4949
testpaths = ["tests"]
5050
python_files = "test_*.py"
5151
python_functions = "test_*"
52-
addopts = "--cov=src --cov-config=.coveragerc --cov-report term --cov-report xml:coverage.xml --cov-branch"
52+
addopts = "-ra --strict-markers"
5353
asyncio_mode = "strict"
54+
markers = [
55+
"asyncio: mark a test as a coroutine that should be run by pytest-asyncio",
56+
]
5457

5558
[build-system]
5659
requires = ["hatchling", "uv-dynamic-versioning"]

src/a2a/grpc/a2a_pb2.py

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)