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.

(cherry picked from commit 9d1b361)

Original-Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
GitOrigin-RevId: 9d1b361
Cr-Build-Id: 8736011314115091969
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8736011314115091969
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: I7a54b7e356a721685748866ac430c5dfe1100cc2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5881528
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Tested-by: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
57300 authored and Chromeos LUCI committed Oct 5, 2024
1 parent 5c44c49 commit 02126b5
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 02126b5

Please sign in to comment.