Skip to content

Commit 826f5a1

Browse files
xumiamssonicbld
authored andcommitted
[Build] Fix the python module importlib.metadata not found issue (#15800)
Why I did it It is to fix the docker-ptf-sai build failure. https://dev.azure.com/mssonic/build/_build/results?buildId=311315&view=logs&j=cef3d8a9-152e-5193-620b-567dc18af272&t=cf595088-5c84-5cf1-9d7e-03331f31d795 2023-07-09T13:53:19.9025355Z �[91mTraceback (most recent call last): 2023-07-09T13:53:19.9025715Z File "/root/ptf/.eggs/setuptools_scm-7.1.0-py3.7.egg/setuptools_scm/_entrypoints.py", line 74, in <module> 2023-07-09T13:53:19.9025933Z from importlib.metadata import entry_points # type: ignore 2023-07-09T13:53:19.9026167Z ModuleNotFoundError: No module named 'importlib.metadata' Work item tracking Microsoft ADO (number only): 24513583 How I did it How to verify it
1 parent 8c83dc8 commit 826f5a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dockers/docker-ptf-sai/Dockerfile.j2

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN pip3 install crc16 \
1818
psutil \
1919
scapy_helper \
2020
pysubnettree \
21+
importlib-metadata \
2122
xmlrunner
2223

2324
COPY \

0 commit comments

Comments
 (0)