Skip to content

Commit f19ec3e

Browse files
committed
build: Pin grpcio-tools to the gRPC v1.81.x train
The python client gRPC stubs are generated with grpcio-tools, which was installed unpinned and floated to the newest PyPI release (1.82.x) after the gRPC v1.81.1 third_party bump. The generated grpc_service_pb2_grpc.py then asserted grpcio>=1.82.1 at import time, while the runtime shipped an older grpcio — breaking every L0 test that imports tritonclient.grpc. Pin grpcio-tools to 1.81.x so the generated stubs track the same gRPC minor as the C++ library, keeping the whole stack on one deterministic train.
1 parent 61e5810 commit f19ec3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile.sdk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN apt-get update && \
8383
software-properties-common \
8484
vim \
8585
wget && \
86-
pip3 install --upgrade grpcio-tools cmake==4.0.3 auditwheel
86+
pip3 install --upgrade "grpcio-tools>=1.81.1,<1.82" cmake==4.0.3 auditwheel
8787

8888
ENV CMAKE_POLICY_MINIMUM_REQUIRED=3.5
8989

@@ -182,7 +182,7 @@ RUN apt-get update && \
182182
python3-wheel \
183183
vim \
184184
wget && \
185-
pip3 install "grpcio>=1.81.1" grpcio-tools && \
185+
pip3 install "grpcio>=1.81.1,<1.82" "grpcio-tools>=1.81.1,<1.82" && \
186186
apt-get clean && \
187187
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*;
188188

0 commit comments

Comments
 (0)