From 2b738c53fae3255cd34a01e42746f393a4f7fe1c Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:01:59 +0800 Subject: [PATCH] Fix the dependency grpcio-tools version (#16776) (#16810) --- 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 e35287765a..1010d7b546 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