[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.
This commit is contained in:
Liu Shilong 2023-09-22 01:38:08 +08:00 committed by GitHub
parent 27a0aab6bb
commit bfa05c8349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,9 @@ RUN pip3 install crc16 \
importlib-metadata \ importlib-metadata \
xmlrunner xmlrunner
# 8.0.1 breaks build on 09/20/2023
RUN pip3 install setuptools_scm==7.1.0
COPY \ COPY \
{% for deb in docker_ptf_sai_debs.split(' ') -%} {% for deb in docker_ptf_sai_debs.split(' ') -%}
debs/{{ deb }}{{' '}} debs/{{ deb }}{{' '}}