cmake: Require Python >= 3.10
The minimum Python version was bumped for Zephyr LTSv3, but only in the documentation and CI. The build system would still accept Python 3.8, yet some scripts in tree have already broken support with that version. Incompatibility errors should be prevented early. Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
This commit is contained in:
parent
cbe5d9833b
commit
9d1b361265
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ if (WIN32)
|
|||
set(ENV{PYTHONIOENCODING} "utf-8")
|
||||
endif()
|
||||
|
||||
set(PYTHON_MINIMUM_REQUIRED 3.8)
|
||||
set(PYTHON_MINIMUM_REQUIRED 3.10)
|
||||
|
||||
find_package(Deprecated COMPONENTS PYTHON_PREFER)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue