From efe5ca8c49b27197baf15ba6ff48f65603d09568 Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Mon, 9 Oct 2023 19:02:12 +0800 Subject: [PATCH] Fix the dependency grpcio-tools version (#16776) (#16809) --- 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 3d031d99f2..f50ac7e9a3 100644 --- a/sonic-slave-bullseye/Dockerfile.j2 +++ b/sonic-slave-bullseye/Dockerfile.j2 @@ -492,6 +492,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