Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
west.cmake: make MIN_WEST_VERSION catch up with requirements-base.txt
Also add a comment in each file reminding to keep them the same. Fixes 251f269 ("west: v0.14.0 is required now (and soon, v1.1") Confusing error message before this commit: ``` -- Found west (found suitable version 0.13.1, minimum required is 0.7.1) CMake Error at SOF/zephyr/cmake/modules/zephyr_module.cmake:77 (message): Traceback (most recent call last): File "SOF/zephyr/scripts/zephyr_module.py", line 733, in <module> main() File "SOF/zephyr/scripts/zephyr_module.py", line 678, in main west_projs = west_projects() ^^^^^^^^^^^^^^^ File "SOF/zephyr/scripts/zephyr_module.py", line 536, in west_projects from west.configuration import MalformedConfig ImportError: cannot import name 'MalformedConfig' from 'west.configuration' (west/src/west/configuration.py) ``` Clearer error message after this commit: ``` CMake Error at SOF/zephyr/cmake/modules/west.cmake:68 (message): The detected west version, 0.13.1, is unsupported. The minimum supported version is 0.14.0. Please upgrade with: /usr/bin/python3.11 -m pip install --upgrade west ``` Signed-off-by: Marc Herbert <[email protected]>
- Loading branch information