Skip to content

Commit 9d1b361

Browse files
57300carlescufi
authored andcommitted
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>
1 parent cbe5d98 commit 9d1b361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/python.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (WIN32)
1111
set(ENV{PYTHONIOENCODING} "utf-8")
1212
endif()
1313

14-
set(PYTHON_MINIMUM_REQUIRED 3.8)
14+
set(PYTHON_MINIMUM_REQUIRED 3.10)
1515

1616
find_package(Deprecated COMPONENTS PYTHON_PREFER)
1717

0 commit comments

Comments
 (0)