Skip to content

Commit 3d07feb

Browse files
kartbennordicjm
authored andcommitted
[nrf fromtree] doc: ci: Zephyr now requires Python 3.12 or higher
Update getting started guide, release notes, CI actions and Python version compliance check to use Python 3.12 as minimum supported version. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 043bb58)
1 parent dea8f87 commit 3d07feb

File tree

6 files changed

+415
-453
lines changed

6 files changed

+415
-453
lines changed

cmake/modules/python.cmake

Lines changed: 1 addition & 1 deletion
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.10)
14+
set(PYTHON_MINIMUM_REQUIRED 3.12)
1515

1616
if(NOT DEFINED Python3_EXECUTABLE AND DEFINED WEST_PYTHON)
1717
set(Python3_EXECUTABLE "${WEST_PYTHON}")

doc/develop/getting_started/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The current minimum required version for the main dependencies are:
6262
- 3.20.5
6363

6464
* - `Python <https://www.python.org/>`_
65-
- 3.10
65+
- 3.12
6666

6767
* - `Devicetree compiler <https://www.devicetree.org/>`_
6868
- 1.4.6

doc/releases/migration-guide-4.2.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ the :ref:`release notes<zephyr_4.2>`.
2020
:local:
2121
:depth: 2
2222

23+
Common
24+
******
25+
26+
* The minimum required Python version is now 3.12 (from 3.10).
27+
2328
Build System
2429
************
2530

0 commit comments

Comments
 (0)