Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PYTHON3_SWSSCOMMON as build time dependency to Mellanox platform …
…API (#13847) - 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
- Loading branch information