From b70bbbe318aa9e7a230781766db7ef4609693c8d Mon Sep 17 00:00:00 2001 From: Liu Shilong Date: Thu, 12 Jan 2023 13:18:29 +0800 Subject: [PATCH] [build] Fix sonic-host-services dependency deepdiff version issue (#13337) Why I did it sonic_host_services depends on deepdiff. But latest deepdiff version has error. How I did it pin deepdiff to previous version. How to verify it --- sonic-slave-buster/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sonic-slave-buster/Dockerfile.j2 b/sonic-slave-buster/Dockerfile.j2 index 0aee500000..de5f9911b6 100644 --- a/sonic-slave-buster/Dockerfile.j2 +++ b/sonic-slave-buster/Dockerfile.j2 @@ -475,6 +475,9 @@ RUN pip3 install pyang==2.4.0 RUN pip2 install mmh3==2.5.1 RUN pip3 install mmh3==2.5.1 +# For latest version error, use previous version +RUN pip3 install deepdiff==6.2.2 + RUN apt-get install -y xsltproc # Install dependencies for isc-dhcp-relay build