From 5cc67905759c3be8355e103f8bef9fe656236801 Mon Sep 17 00:00:00 2001 From: Liu Shilong Date: Fri, 22 Sep 2023 01:38:08 +0800 Subject: [PATCH] [build] Fix build issue in docker-ptf-sai caused by setuptools_scm new release (#16636) docker-ptf-sai build fails on setuptools_scm's new release on 09/20/2023. Use old version instead. --- dockers/docker-ptf-sai/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dockers/docker-ptf-sai/Dockerfile.j2 b/dockers/docker-ptf-sai/Dockerfile.j2 index f0af02169dc4..b10c1868d225 100644 --- a/dockers/docker-ptf-sai/Dockerfile.j2 +++ b/dockers/docker-ptf-sai/Dockerfile.j2 @@ -21,6 +21,9 @@ RUN pip3 install crc16 \ importlib-metadata \ xmlrunner +# 8.0.1 breaks build on 09/20/2023 +RUN pip3 install setuptools_scm==7.1.0 + COPY \ {% for deb in docker_ptf_sai_debs.split(' ') -%} debs/{{ deb }}{{' '}}