Skip to content

Commit

Permalink
[build] Fix build issue in docker-ptf-sai caused by setuptools_scm ne…
Browse files Browse the repository at this point in the history
…w release (#16636)

docker-ptf-sai build fails on setuptools_scm's new release on 09/20/2023.
Use old version instead.
  • Loading branch information
liushilongbuaa authored and mssonicbld committed Sep 25, 2023
1 parent 5b6fcb7 commit 5cc6790
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockers/docker-ptf-sai/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}{{' '}}
Expand Down

0 comments on commit 5cc6790

Please sign in to comment.