mirror of https://github.com/microsoft/autogen.git
Pin grpc and gen task (#429)
This commit is contained in:
parent
4f9626c447
commit
581cda0cfd
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue