[router][Fix] Include grpc reflection runtime dependency (#11419)

Co-authored-by: Chang Su <chang.s.su@oracle.com>
This commit is contained in:
ai-jz
2025-10-13 09:32:42 -07:00
committed by GitHub
parent b8c430f1ce
commit 9cc1e065f1
3 changed files with 5 additions and 4 deletions

View File

@@ -68,7 +68,8 @@ dependencies = [
"uvloop",
"xgrammar==0.1.25",
"grpcio==1.75.1", # keep it align with compile_proto.py
"grpcio-tools==1.75.1" # keep it align with compile_proto.py
"grpcio-tools==1.75.1", # keep it align with compile_proto.py
"grpcio-reflection==1.75.1", # required by srt/entrypoints/grpc_server.py
]
[project.optional-dependencies]

View File

@@ -16,7 +16,7 @@ Options:
--proto-file Specify proto file (default: sglang_scheduler.proto)
### Install Dependencies
pip install "grpcio==1.74.0" "grpcio-tools==1.74.0"
pip install "grpcio==1.75.1" "grpcio-tools==1.75.1"
### Run Script
cd python/sglang/srt/grpc
@@ -30,7 +30,7 @@ import sys
from importlib.metadata import version
from pathlib import Path
GRPC_VERSION = "1.74.0"
GRPC_VERSION = "1.75.1"
def get_file_mtime(path: Path) -> float:

View File

@@ -8,7 +8,7 @@ import warnings
from . import sglang_scheduler_pb2 as sglang__scheduler__pb2
GRPC_GENERATED_VERSION = '1.74.0'
GRPC_GENERATED_VERSION = '1.75.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False