From c74b55ca6c1d25d063a6a46a87811db2c9744b5f Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Wed, 4 Oct 2023 16:07:51 -0700 Subject: [PATCH] Fix the dependency grpcio-tools version (#16776) #### Why I did it Fix the build break of marvell-armhf/sonic-ycabled --- sonic-slave-bullseye/Dockerfile.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sonic-slave-bullseye/Dockerfile.j2 b/sonic-slave-bullseye/Dockerfile.j2 index e35287765a0..1010d7b546e 100644 --- a/sonic-slave-bullseye/Dockerfile.j2 +++ b/sonic-slave-bullseye/Dockerfile.j2 @@ -490,6 +490,11 @@ RUN patch -p1 -i /disable-non-manylinux.patch /usr/local/lib/python3.9/dist-pack # For building sonic-utilities RUN pip3 install fastentrypoints mock +# For building sonic_ycabled +# Note: upstream build breaks with old version of setuptools +# ref: https://github.com/grpc/grpc/issues/34569 +RUN pip3 install grpcio==1.58.0 grpcio-tools==1.58.0 + # For running Python unit tests RUN pip3 install pytest-runner==5.2 RUN pip3 install nose==1.3.7