Commit f672cb72 authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Daniel DeGrasse
Browse files

Revert "doc: ci: Zephyr now requires Python 3.12 or higher"



This reverts commit 043bb584.

Note that  scripts/requirements-actions.txt might not be 100% the same
as what was pinned prior to the revert due to it being difficult to
restore previous versions while also accounting for the new dependencies
that were added in the meantime.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 33d6061f
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.12)
set(PYTHON_MINIMUM_REQUIRED 3.10)

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.12
     - 3.10

   * - `Devicetree compiler <https://www.devicetree.org/>`_
     - 1.4.6
+0 −5
Original line number Diff line number Diff line
@@ -20,11 +20,6 @@ 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
************

+172 −150

File changed.

Preview size limit exceeded, changes collapsed.

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

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

    def run(self):
Loading