From c68d0b9630c43bf3fd9a4668954a56227e1c9711 Mon Sep 17 00:00:00 2001 From: Tu Nguyen Van Date: Wed, 25 Jun 2025 15:31:50 +0700 Subject: [PATCH] doc: correct python minimum required Fixes #92059 Update getting started guide, migration-guide and python.cmake to use Python 3.12.1 as minimum supported version Signed-off-by: Tu Nguyen Van --- cmake/modules/python.cmake | 2 +- doc/develop/getting_started/index.rst | 2 +- doc/releases/migration-guide-4.2.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/modules/python.cmake b/cmake/modules/python.cmake index 1438c3fcdaa..856becd2d2b 100644 --- a/cmake/modules/python.cmake +++ b/cmake/modules/python.cmake @@ -11,7 +11,7 @@ if (WIN32) set(ENV{PYTHONIOENCODING} "utf-8") endif() -set(PYTHON_MINIMUM_REQUIRED 3.12) +set(PYTHON_MINIMUM_REQUIRED 3.12.1) if(NOT DEFINED Python3_EXECUTABLE AND DEFINED WEST_PYTHON) set(Python3_EXECUTABLE "${WEST_PYTHON}") diff --git a/doc/develop/getting_started/index.rst b/doc/develop/getting_started/index.rst index 5ba0d070fca..89992b0c926 100644 --- a/doc/develop/getting_started/index.rst +++ b/doc/develop/getting_started/index.rst @@ -62,7 +62,7 @@ The current minimum required version for the main dependencies are: - 3.20.5 * - `Python `_ - - 3.12 + - 3.12.1 * - `Devicetree compiler `_ - 1.4.6 diff --git a/doc/releases/migration-guide-4.2.rst b/doc/releases/migration-guide-4.2.rst index c8d0e115d92..d1340c0b6f9 100644 --- a/doc/releases/migration-guide-4.2.rst +++ b/doc/releases/migration-guide-4.2.rst @@ -23,7 +23,7 @@ the :ref:`release notes`. Common ****** -* The minimum required Python version is now 3.12 (from 3.10). +* The minimum required Python version is now 3.12.1 (from 3.10). Build System ************