All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Set max supported Python version
@ 2024-12-24 22:16 Javier Tia
  2024-12-24 22:54 ` [docs] " Richard Purdie
  0 siblings, 1 reply; 9+ messages in thread
From: Javier Tia @ 2024-12-24 22:16 UTC (permalink / raw)
  To: docs; +Cc: Mikko Rapeli, Ilias Apalodimas

When Bitbake is used with Python 3.13, it generates numerous build
issues that do not occur with Python 3.12. The documentation is clear
for the supported Linux distributions, but not for the supported Python
versions.

Signed-off-by: Javier Tia <javier.tia@linaro.org>
---
 documentation/brief-yoctoprojectqs/index.rst     | 2 +-
 documentation/dev-manual/start.rst               | 6 +++---
 documentation/poky.yaml.in                       | 1 +
 documentation/ref-manual/system-requirements.rst | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
index 3d249eefa..ed40f93d2 100644
--- a/documentation/brief-yoctoprojectqs/index.rst
+++ b/documentation/brief-yoctoprojectqs/index.rst
@@ -61,7 +61,7 @@ following requirements:
 
    -  Git &MIN_GIT_VERSION; or greater
    -  tar &MIN_TAR_VERSION; or greater
-   -  Python &MIN_PYTHON_VERSION; or greater.
+   -  Python &MIN_PYTHON_VERSION; - &MAX_PYTHON_VERSION;
    -  gcc &MIN_GCC_VERSION; or greater.
    -  GNU make &MIN_MAKE_VERSION; or greater
 
diff --git a/documentation/dev-manual/start.rst b/documentation/dev-manual/start.rst
index 05827610b..877d51f1b 100644
--- a/documentation/dev-manual/start.rst
+++ b/documentation/dev-manual/start.rst
@@ -304,7 +304,7 @@ Project Build Host:
 
    -  tar &MIN_TAR_VERSION; or greater
 
-   -  Python &MIN_PYTHON_VERSION; or greater.
+   -  Python &MIN_PYTHON_VERSION; - &MAX_PYTHON_VERSION;
 
    -  gcc &MIN_GCC_VERSION; or greater.
 
@@ -860,7 +860,7 @@ Initializing the Build Environment
 Before you can use Yocto you need to setup the build environment.
 From within the ``poky`` directory, source the :ref:`ref-manual/structure:\`\`oe-init-build-env\`\`` environment
 setup script to define Yocto Project's build environment on your build host::
-    
-    $ source oe-init-build-env 
+
+    $ source oe-init-build-env
 
 Note, that this step will have to be repeated every time you open a new shell.
diff --git a/documentation/poky.yaml.in b/documentation/poky.yaml.in
index 0933cbbd3..7532d8138 100644
--- a/documentation/poky.yaml.in
+++ b/documentation/poky.yaml.in
@@ -15,6 +15,7 @@ YOCTO_DL_URL : "https://downloads.yoctoproject.org"
 YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
 YOCTO_RELEASE_DL_URL : "&YOCTO_DL_URL;/releases/yocto/yocto-&DISTRO;"
 MIN_PYTHON_VERSION : "3.8.0"
+MAX_PYTHON_VERSION : "3.12.z"
 MIN_TAR_VERSION : "1.28"
 MIN_GIT_VERSION : "1.8.3.1"
 MIN_GCC_VERSION : "8.0"
diff --git a/documentation/ref-manual/system-requirements.rst b/documentation/ref-manual/system-requirements.rst
index b087d374d..1f5918e89 100644
--- a/documentation/ref-manual/system-requirements.rst
+++ b/documentation/ref-manual/system-requirements.rst
@@ -290,7 +290,7 @@ the following version requirements for Git, tar, and Python:
 
 -  tar &MIN_TAR_VERSION; or greater
 
--  Python &MIN_PYTHON_VERSION; or greater
+-  Python &MIN_PYTHON_VERSION; - &MAX_PYTHON_VERSION;
 
 -  GNU make &MIN_MAKE_VERSION; or greater
 
-- 
2.47.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-12-25  1:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-24 22:16 [PATCH] Set max supported Python version Javier Tia
2024-12-24 22:54 ` [docs] " Richard Purdie
2024-12-24 23:13   ` Javier Tia
2024-12-24 23:22     ` Richard Purdie
2024-12-24 23:34       ` Martin Jansa
2024-12-24 23:38         ` Javier Tia
2024-12-24 23:47           ` Martin Jansa
2024-12-25  0:56             ` Javier Tia
2024-12-25  1:02       ` Javier Tia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.