Skip to content

Commit

Permalink
cmake: Require Python >= 3.10
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
57300 authored and carlescufi committed Sep 23, 2024
1 parent cbe5d98 commit 9d1b361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/python.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9d1b361

Please sign in to comment.