Pin grpc and gen task (#429)

This commit is contained in:
Jack Gerrits 2024-08-29 14:37:03 -04:00 committed by GitHub
parent 4f9626c447
commit 581cda0cfd
3 changed files with 7 additions and 4 deletions

View File

@ -19,8 +19,8 @@ dependencies = [
"aiohttp",
"typing-extensions",
"pydantic>=1.10,<3",
"grpcio",
"protobuf",
"grpcio~=1.66.0",
"protobuf~=5.27.0",
"tiktoken",
"azure-core"
]
@ -31,7 +31,6 @@ dev-dependencies = [
"aiofiles",
"chess",
"colorama",
"grpcio-tools",
"langgraph",
"langchain-openai",
"llama-index-readers-web",

View File

@ -5,7 +5,7 @@ import warnings
import agent_worker_pb2 as agent__worker__pb2
GRPC_GENERATED_VERSION = '1.66.0'
GRPC_GENERATED_VERSION = '1.66.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

View File

@ -15,6 +15,8 @@ dev-dependencies = [
"pytest_mock",
"poethepoet",
"packaging",
"grpcio-tools~=1.66.0",
"mypy-protobuf",
"cookiecutter"
]
@ -70,3 +72,5 @@ mypy = "python run_task_in_pkgs_if_exist.py mypy"
test = "python run_task_in_pkgs_if_exist.py test"
check = ["fmt", "lint", "pyright", "mypy", "test"]
gen-proto = "python -m grpc_tools.protoc --python_out=./packages/autogen-core/src/autogen_core/application/protos --grpc_python_out=./packages/autogen-core/src/autogen_core/application/protos --mypy_out=./packages/autogen-core/src/autogen_core/application/protos --mypy_grpc_out=./packages/autogen-core/src/autogen_core/application/protos --proto_path ../protos/ agent_worker.proto"