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 (sonic-net#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 Sep 21, 2023
1 parent 27a0aab commit bfa05c8
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 bfa05c8

Please sign in to comment.