cac95c2b4a
- Why I did it Add PYTHON3_SWSSCOMMON as build time dependency to Mellanox platform API to avoid issue like: 19:34:11 ImportError while loading conftest '/sonic/platform/mellanox/mlnx-platform-api/tests/conftest.py'. 19:34:11 tests/conftest.py:28: in <module> 19:34:11 from sonic_platform import utils 19:34:11 sonic_platform/__init__.py:18: in <module> 19:34:11 from sonic_platform import * 19:34:11 sonic_platform/platform.py:28: in <module> 19:34:11 raise ImportError(str(e) + "- required module not found") 19:34:11 E ImportError: No module named 'swsscommon'- required module not found- required module not found 19:34:11 [ FAIL LOG END ] [ target/python-wheels/bullseye/mlnx_platform_api-1.0-py3-none-any.whl ] The issue only happens when calling below command: make target/python-wheels/bullseye/mlnx_platform_api-1.0-py3-none-any.whl - How I did it Add PYTHON3_SWSSCOMMON as build time dependency to Mellanox platform API - How to verify it Run build |
||
---|---|---|
.. | ||
barefoot | ||
broadcom | ||
cavium | ||
centec | ||
centec-arm64 | ||
checkout | ||
components | ||
generic | ||
innovium | ||
marvell | ||
marvell-arm64 | ||
marvell-armhf | ||
mellanox | ||
nephos | ||
p4 | ||
pddf | ||
s3ip-sysfs | ||
template | ||
vs |