[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
This commit is contained in:
parent
9864dfeaa1
commit
dc5258eed5
@ -18,6 +18,7 @@ RUN pip3 install crc16 \
|
|||||||
psutil \
|
psutil \
|
||||||
scapy_helper \
|
scapy_helper \
|
||||||
pysubnettree \
|
pysubnettree \
|
||||||
|
importlib-metadata \
|
||||||
xmlrunner
|
xmlrunner
|
||||||
|
|
||||||
COPY \
|
COPY \
|
||||||
|
Loading…
Reference in New Issue
Block a user