Commit 043bb584 authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Benjamin Cabé
Browse files

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: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent b9bfff29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ if (WIN32)
  set(ENV{PYTHONIOENCODING} "utf-8")
endif()

set(PYTHON_MINIMUM_REQUIRED 3.10)
set(PYTHON_MINIMUM_REQUIRED 3.12)

if(NOT DEFINED Python3_EXECUTABLE AND DEFINED WEST_PYTHON)
  set(Python3_EXECUTABLE "${WEST_PYTHON}")
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ The current minimum required version for the main dependencies are:
     - 3.20.5

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

   * - `Devicetree compiler <https://www.devicetree.org/>`_
     - 1.4.6
+5 −0
Original line number Diff line number Diff line
@@ -20,6 +20,11 @@ the :ref:`release notes<zephyr_4.2>`.
    :local:
    :depth: 2

Common
******

* The minimum required Python version is now 3.12 (from 3.10).

Build System
************

+386 −415

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -1901,7 +1901,7 @@ class PythonCompatCheck(ComplianceTest):
    name = "PythonCompat"
    doc = "Check that Python files are compatible with Zephyr minimum supported Python version."

    MAX_VERSION = (3, 10)
    MAX_VERSION = (3, 12)
    MAX_VERSION_STR = f"{MAX_VERSION[0]}.{MAX_VERSION[1]}"

    def run(self):
Loading