package/python3: bump version to 3.14.2
v2 cover package/python3: bump version to 3.14.2
Hi,
this series includes the remaining version bumps and two build fixes to bump python3 to 3.14.2.
Regards, Bernd
v2: removed BR2_arceb from numpy bump (Julien)
Bernd Kuhls (5):
package/python-scipy: bump version to 1.16.3 package/python-web2py: bump version to 3.1.1 package/python-aiohttp-sse: fix build with python 3.14 package/python-html5lib: fix build with python 3.14 package/python3: bump version to 3.14.2
James Hilliard (1):
package/python-numpy: bump version to 2.4.0
package/opencv4/opencv4.mk | 2 +- .../0001-Fix-build-with-python-3.14.patch | 35 +++++++++ ...y-fix-version-parsing-on-Python-3.14.patch | 42 ++++++++++ .../0001-MNT-do-not-use-long-type.patch | 34 --------- package/python-numpy/Config.in | 6 ++ package/python-numpy/python-numpy.hash | 13 ++-- package/python-numpy/python-numpy.mk | 76 ++++++++++++++++--- package/python-scipy/python-scipy.hash | 8 +- package/python-scipy/python-scipy.mk | 8 +- package/python-web2py/python-web2py.hash | 2 +- package/python-web2py/python-web2py.mk | 2 +- ...e-the-build-of-pyc-files-conditional.patch | 14 ++-- .../0002-Add-an-option-to-disable-pydoc.patch | 18 +++-- .../0003-Add-an-option-to-disable-IDLE.patch | 18 +++-- ...move-PY_STDLIB_MOD_SET_NA-further-up.patch | 12 +-- ...option-to-disable-the-sqlite3-module.patch | 16 ++-- ...d-an-option-to-disable-the-tk-module.patch | 28 +++---- ...-option-to-disable-the-curses-module.patch | 16 ++-- .../0008-Add-an-option-to-disable-expat.patch | 14 ++-- package/python3/python3.hash | 8 +- package/python3/python3.mk | 4 +- 21 files changed, 248 insertions(+), 128 deletions(-) create mode 100644 package/python-aiohttp-sse/0001-Fix-build-with-python-3.14.patch create mode 100644 package/python-html5lib/0001-setup.py-fix-version-parsing-on-Python-3.14.patch delete mode 100644 package/python-numpy/0001-MNT-do-not-use-long-type.patch
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/6 package/python-numpy: bump version to 2.4.0
From: James Hilliard <[email protected]>
Release notes: https://numpy.org/news/
Add new supported architectures.
License hash changed due to date update:
https://github.com/numpy/numpy/commit/c1ffdbc0c29d48ece717acb5bfbf811c935b41f6
We need to build python-numpy with its vendored version of meson as it currently relies on features that are not yet upstream. To do this we can simply set the PYTHONPATH with the vendored meson path before the normal PYTHON3_PATH so that the vendored version will have precedence. We need to set this for both host and target numpy.
We also need to set the architecture specific longdouble_format property as numpy is unable to determine the value for this without being able to execute target binaries.
[Bernd:
Bumped to 2.4.0
Removed patch which is included in this release.
Updated license hashes due to upstream commits:
- copyright year bumps:
https://github.com/numpy/numpy/commits/v2.4.0/LICENSE.txt
- file move
tools/npy_tempita/license.txt -> numpy/_build_utils/tempita/LICENSE.txt
https://github.com/numpy/numpy/commit/63a1fee8d1c1e442aa8ca08ac7cefb195f99b2a9
https://github.com/numpy/numpy/commit/86940987a9d8d54c860d8c862d5d96c51b339f23
- directory move core -> _core and various code updates
https://github.com/numpy/numpy/commits/v2.4.0/numpy/_core/src/multiarray/dragon4.c
- directory move core -> _core
https://github.com/numpy/numpy/commits/v2.4.0/numpy/_core/include/numpy/libdivide/LICENSE.txt
Following Romain's review
https://lists.buildroot.org/pipermail/buildroot/2024-November/767739.html
host-python-numpy was switched back to host-python-package to install the f2py script needed by the upcoming bump of python-scipy. A dependency to host-python-meson-python is also needed.
Removed PYTHON_NUMPY_LONGDOUBLE_FORMAT configure option for BR2_arceb after this arch was removed from buildroot.
Changed path in PYTHON_NUMPY_FIXUP_NPY_PKG_CONFIG_FILES following upstream commit
https://github.com/numpy/numpy/commit/923f219077c8aa3ad7d3792d8c06cba010b70252
and updated opencv4 as well]
--- package/opencv4/opencv4.mk | 2 +- .../0001-MNT-do-not-use-long-type.patch | 34 --------- package/python-numpy/Config.in | 6 ++ package/python-numpy/python-numpy.hash | 13 ++-- package/python-numpy/python-numpy.mk | 76 ++++++++++++++++--- 5 files changed, 80 insertions(+), 51 deletions(-) delete mode 100644 package/python-numpy/0001-MNT-do-not-use-long-type.patch
package/opencv4/opencv4.mk +1 -1
@@ -400,7 +400,7 @@ OPENCV4_CONF_OPTS += \ -DPYTHON3_EXECUTABLE=$(HOST_DIR)/bin/python3 \ -DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ -DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR).so \ - -DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include \ + -DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/_core/include \ -DPYTHON3_PACKAGES_PATH=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ -DPYTHON3_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION) OPENCV4_DEPENDENCIES += python3
package/python-numpy/0001-MNT-do-not-use-long-type.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 6dc2fd31f8a5a4ef502cb7734f004f5bce94e671 Mon Sep 17 00:00:00 2001 -From: Thomas A Caswell <[email protected]> -Date: Sat, 18 Nov 2023 16:46:52 -0500 -Subject: [PATCH] MNT: do not use `long` type -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Removed as type at language level 3 in ed7e95912b6ed7d20e190fbf1aecb9f2a997d479 -in cython - -Upstream: https://github.com/numpy/numpy/commit/6dc2fd31f8a5a4ef502cb7734f004f5bce94e671 - -Signed-off-by: Sébastien Szymanski <[email protected]> ---- - numpy/random/_generator.pyx | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx -index d067e795eb5c..ae481d69d696 100644 ---- a/numpy/random/_generator.pyx -+++ b/numpy/random/_generator.pyx -@@ -3757,7 +3757,7 @@ def multivariate_normal(self, mean, cov, size=None, check_valid='warn', - - if size is None: - shape = [] -- elif isinstance(size, (int, long, np.integer)): -+ elif isinstance(size, (int, np.integer)): - shape = [size] - else: - shape = size --- -2.49.1 -
package/python-numpy/Config.in +6 -0
@@ -3,15 +3,21 @@ config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # Numpy has some CPU specific code default y if BR2_arc default y if BR2_aarch64 + default y if BR2_aarch64_be default y if BR2_arm default y if BR2_armeb default y if BR2_i386 + default y if BR2_m68k default y if BR2_mips default y if BR2_mipsel + default y if BR2_or1k default y if BR2_powerpc default y if BR2_powerpc64 + default y if BR2_powerpc64le default y if BR2_riscv default y if BR2_sh + default y if BR2_sparc + default y if BR2_sparc64 default y if BR2_x86_64 config BR2_PACKAGE_PYTHON_NUMPY
package/python-numpy/python-numpy.hash +7 -6
@@ -1,8 +1,9 @@ -# Copied from https://github.com/numpy/numpy/releases/tag/v1.25.0 -sha256 f1accae9a28dc3cda46a91de86acf69de0d1b5f4edd44a9b0c3ceb8036dfff19 numpy-1.25.0.tar.gz +# md5, sha256 from https://pypi.org/pypi/numpy/json +md5 828b6c6df0b6f89b5cf799314d4ee2b6 numpy-2.4.0.tar.gz +sha256 6e504f7b16118198f138ef31ba24d985b124c2c469fe8467007cf30fd992f934 numpy-2.4.0.tar.gz # License files, locally calculated -sha256 1034d3bd61783f3b5e7ec3e7ca818f4da4135132323a0ef99f4c0edb3c7f6bd2 LICENSE.txt -sha256 c27d0a8026bdb8876562b720ab24d1688e3827a89f6083cd6e7e8caa9584aba3 numpy/core/src/multiarray/dragon4.c -sha256 fbc539f47d0cf83bc61378080fb873d5c14630126cacbfe754035c3926daa5ec numpy/core/include/numpy/libdivide/LICENSE.txt +sha256 1be1df33863f97a7bc1c4d67980bd6c69c9a6fef0a5ee76e6ad6cb91e56e8491 LICENSE.txt +sha256 743b0f4a0087fe3607167113fffab6f2ca069c8da321763697ab5d0d8411634a numpy/_build_utils/tempita/LICENSE.txt +sha256 e09cfef237f1c47fec6c11926e23ed2222404d1e4357b5d65e65a2daf9d83949 numpy/_core/src/multiarray/dragon4.c +sha256 fbc539f47d0cf83bc61378080fb873d5c14630126cacbfe754035c3926daa5ec numpy/_core/include/numpy/libdivide/LICENSE.txt sha256 a14cc25e10d40a3aa705b7de2fb764a6535d8ee9b2db4e1724900585457dfd55 numpy/linalg/lapack_lite/LICENSE.txt -sha256 badf51c7e3e7de9c7630bd069780f5c197b846ef7660b342a1e58d5553592d8e tools/npy_tempita/license.txt
package/python-numpy/python-numpy.mk +66 -10
108 lines not on this page · raw message
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 2/6 package/python-scipy: bump version to 1.16.3
In reply to Bernd KuhlsDepends on python-numpy >= 2.0.0:
https://github.com/scipy/scipy/blob/v1.16.3/pyproject.toml#L41
https://github.com/scipy/scipy/commit/a3e2bb639b156b01964cda1edca971521c6f39ff
Updated license hash due to copyright year bumps:
https://github.com/scipy/scipy/commits/v1.16.3/LICENSE.txt
qhull license file was moved upstream:
https://github.com/scipy/scipy/commit/6d699dded4423e4ff9ac97eff9f4912ed24964fa
https://github.com/scipy/scipy/commit/96423e5279a4cdf698eedea6f0795ab57cf5a860
Updated numpy path in PYTHON_SCIPY_MESON_EXTRA_PROPERTIES following upstream commit:
https://github.com/numpy/numpy/commit/923f219077c8aa3ad7d3792d8c06cba010b70252
Test was successful:
$ utils/docker-run support/testing/run-tests -j33 -k -d dl -o output_folder tests.package.test_python_scipy.TestPythonPy3SciPy 09:59:22 TestPythonPy3SciPy Starting 09:59:23 TestPythonPy3SciPy Building 10:10:09 TestPythonPy3SciPy Building done Downloading to /home/bernd/buildroot/dl/tmpw1frnmf9 Renaming from /home/bernd/buildroot/dl/tmpw1frnmf9 to /home/bernd/buildroot/dl/kernel-versatile-5.10.202 Downloading to /home/bernd/buildroot/dl/tmpiip1lach Renaming from /home/bernd/buildroot/dl/tmpiip1lach to /home/bernd/buildroot/dl/versatile-pb-5.10.202.dtb 10:10:24 TestPythonPy3SciPy Cleaning up . ---------------------------------------------------------------------- Ran 1 test in 661.922s
OK
--- package/python-scipy/python-scipy.hash | 8 ++++---- package/python-scipy/python-scipy.mk | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-)
package/python-scipy/python-scipy.hash +4 -4
@@ -1,10 +1,10 @@ # md5, sha256 from https://pypi.org/pypi/scipy/json -md5 0e8eea0f7c4fe7d8102366230c96d66d scipy-1.11.4.tar.gz -sha256 90a2b78e7f5733b9de748f589f09225013685f9b218275257f8a8168ededaeaa scipy-1.11.4.tar.gz +md5 db334c9cae4eeb9f306c342b3744d653 scipy-1.16.3.tar.gz +sha256 01e87659402762f43bd2fee13370553a17ada367d42e7487800bf2916535aecb scipy-1.16.3.tar.gz # Locally computed sha256 checksums -sha256 5517022426a56179540ee6eace15fd723ef8fdb83b2900fed2152dd2e2f972a2 LICENSE.txt +sha256 221e59f5e910fd7f94e44f0dac77436a11338c285c6346232e4a850a50da0e94 LICENSE.txt sha256 606209a000716c5f66e33e180ce08434b96ed17db4975ab9723c6b5fbcc89609 scipy/ndimage/LICENSE.txt sha256 3df9207af2fdb861af0ae3b22026f163b9bcfab4e525dc4943afe2ffa3f77624 scipy/optimize/tnc/LICENSE sha256 f0cedf52503b2d42b83411a0a16e6fefac346dfad8fddc66f50050150123470c scipy/sparse/linalg/_dsolve/SuperLU/License.txt sha256 0926566f9f406178d1214f8cc796e166b1213dd7c05e0c5b461a8b8ac9e50bbe scipy/sparse/linalg/_eigen/arpack/ARPACK/COPYING -sha256 34db0c0c4f931861d720555c9cd7a2e228d1290ba29af0f2ee80c41bb2038afb scipy/spatial/qhull_src/COPYING.txt +sha256 106d55c931fd6a84822e5345d900273d059f1c27310d02567ccb313c5d18c55d scipy/spatial/COPYING_QHULL.txt
package/python-scipy/python-scipy.mk +4 -4
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SCIPY_VERSION = 1.11.4 +PYTHON_SCIPY_VERSION = 1.16.3 PYTHON_SCIPY_SOURCE = scipy-$(PYTHON_SCIPY_VERSION).tar.gz -PYTHON_SCIPY_SITE = https://files.pythonhosted.org/packages/6e/1f/91144ba78dccea567a6466262922786ffc97be1e9b06ed9574ef0edc11e1 +PYTHON_SCIPY_SITE = https://files.pythonhosted.org/packages/0a/ca/d8ace4f98322d01abcd52d381134344bf7b431eba7ed8b42bdea5a3c2ac9 PYTHON_SCIPY_LICENSE = \ BSD-3-Clause, \ BSD-2-Clause, \
@@ -20,7 +20,7 @@ PYTHON_SCIPY_LICENSE_FILES = \ scipy/optimize/tnc/LICENSE \ scipy/sparse/linalg/_dsolve/SuperLU/License.txt \ scipy/sparse/linalg/_eigen/arpack/ARPACK/COPYING \ - scipy/spatial/qhull_src/COPYING.txt + scipy/spatial/COPYING_QHULL.txt PYTHON_SCIPY_CPE_ID_VENDOR = scipy PYTHON_SCIPY_CPE_ID_PRODUCT = scipy PYTHON_SCIPY_DEPENDENCIES += \
@@ -42,6 +42,6 @@ PYTHON_SCIPY_CONF_ENV += \ PYTHON_SCIPY_CONF_OPTS = -Dblas=openblas -Dlapack=lapack PYTHON_SCIPY_MESON_EXTRA_PROPERTIES = \ - numpy-include-dir='$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include' + numpy-include-dir='$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/_core/include' $(eval $(meson-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 3/6 package/python-web2py: bump version to 3.1.1
In reply to Bernd Kuhls--- package/python-web2py/python-web2py.hash | 2 +- package/python-web2py/python-web2py.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/python-web2py/python-web2py.hash +1 -1
@@ -1,3 +1,3 @@ # sha256 locally computed -sha256 12669396396044f68a3f0ae9c44137f1a3b327c26e963f52b5e8b2bb20c51561 python-web2py-v3.0.11-git4.tar.gz +sha256 b22b5c2db862cdef9e0feace1c8841741a14eb5e735b674d6ce2bd5c7f4cac64 python-web2py-v3.1.1-git4.tar.gz sha256 2aae96826184a492bc799add49aed7b29036e7aba2d2294fb65053bd30fe55fe LICENSE.web2py.txt
package/python-web2py/python-web2py.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -PYTHON_WEB2PY_VERSION = v3.0.11 +PYTHON_WEB2PY_VERSION = v3.1.1 PYTHON_WEB2PY_SITE = https://github.com/web2py/web2py.git PYTHON_WEB2PY_SITE_METHOD = git PYTHON_WEB2PY_GIT_SUBMODULES = YES
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 4/6 package/python-aiohttp-sse: fix build with python 3.14
In reply to Bernd Kuhls--- .../0001-Fix-build-with-python-3.14.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/python-aiohttp-sse/0001-Fix-build-with-python-3.14.patch
package/python-aiohttp-sse/0001-Fix-build-with-python-3.14.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 7a649de6561ec181208a9c4fa712aed614a224d4 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Mon, 8 Dec 2025 18:03:03 +0100 +Subject: [PATCH] Fix build with python 3.14 + +ast.Str was deprecated in python 3.12 and removed in 3.14. It inherited +from ast.Constant, `Str.s` was equivalent to `Constant.value`, so we can +use the latter on both old and newer python versions. + +Patch was inspired by +https://hg-edge.mozilla.org/mozilla-central/rev/dbf9702ed87e + +Upstream: https://github.com/aio-libs/aiohttp-sse/commit/9eec5f5b0355bb3853d0e4f2af6486c9a5887e38 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 6843260..fa41025 100644 +--- a/setup.py ++++ b/setup.py +@@ -25,7 +25,7 @@ class VersionFinder(ast.NodeVisitor): + def visit_Assign(self, node): + if not self.version: + if node.targets[0].id == "__version__": +- self.version = node.value.s ++ self.version = node.value.value + + + def read_version(): +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 5/6 package/python-html5lib: fix build with python 3.14
In reply to Bernd Kuhls--- ...y-fix-version-parsing-on-Python-3.14.patch | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 package/python-html5lib/0001-setup.py-fix-version-parsing-on-Python-3.14.patch
package/python-html5lib/0001-setup.py-fix-version-parsing-on-Python-3.14.patch new file +42 -0
@@ -0,0 +1,42 @@ +From b90dafff1bf342d34d539098013d0b9f318c7641 Mon Sep 17 00:00:00 2001 +From: Andrew Sukach <[email protected]> +Date: Fri, 12 Sep 2025 21:53:31 -0700 +Subject: [PATCH] `setup.py`: fix version parsing on Python 3.14 (ast.Str + removed) + +Python 3.14 removes the ast.Str node type. String literals now appear +as ast.Constant(value=str). +Update the AST check to accept both ast.Str (for older Pythons) and +ast.Constant with a string value (for Python 3.8+), allowing html5lib to +build successfully on Python 3.14 while remaining compatible with older +version. + +Upstream: https://github.com/html5lib/html5lib-python/pull/589 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + setup.py | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +diff --git a/setup.py b/setup.py +index 30ee0575..42ab6f67 100644 +--- a/setup.py ++++ b/setup.py +@@ -92,9 +92,14 @@ def default_environment(): + for a in assignments: + if (len(a.targets) == 1 and + isinstance(a.targets[0], ast.Name) and +- a.targets[0].id == "__version__" and +- isinstance(a.value, ast.Str)): +- version = a.value.s ++ a.targets[0].id == "__version__"): ++ if hasattr(ast, "Str") and isinstance(a.value, ast.Str): ++ version = a.value.s ++ elif (hasattr(ast, "Constant") ++ and isinstance(a.value, ast.Constant) ++ and isinstance(a.value.value, str)): ++ version = a.value.value ++assert version is not None + + setup(name='html5lib', + version=version,
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 6/6 package/python3: bump version to 3.14.2
In reply to Bernd KuhlsRebased all patches.
--- ...e-the-build-of-pyc-files-conditional.patch | 14 ++++++---- .../0002-Add-an-option-to-disable-pydoc.patch | 18 ++++++------ .../0003-Add-an-option-to-disable-IDLE.patch | 18 ++++++------ ...move-PY_STDLIB_MOD_SET_NA-further-up.patch | 12 ++++---- ...option-to-disable-the-sqlite3-module.patch | 16 ++++++----- ...d-an-option-to-disable-the-tk-module.patch | 28 +++++++++---------- ...-option-to-disable-the-curses-module.patch | 16 ++++++----- .../0008-Add-an-option-to-disable-expat.patch | 14 ++++++---- package/python3/python3.hash | 8 +++--- package/python3/python3.mk | 4 +-- 10 files changed, 81 insertions(+), 67 deletions(-)
package/python3/0001-Make-the-build-of-pyc-files-conditional.patch +8 -6
@@ -15,16 +15,18 @@ Signed-off-by: Andrey Smirnov <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> +[ Bernd Kuhls: ported to Python 3.14.2] +Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 2 ++ configure.ac | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/Makefile.pre.in b/Makefile.pre.in -index a7dc9709d62..a1d460b36f4 100644 +index 08ad5f4921d..486a35ed99b 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2570,6 +2570,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c +@@ -2812,6 +2812,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c patch --force --reject-file "$(abs_builddir)/app-store-compliance.rej" --strip 2 --directory "$(DESTDIR)$(LIBDEST)" --input "$(abs_srcdir)/$(APP_STORE_COMPLIANCE_PATCH)" || true ; \ fi @ # Build PYC files for the 3 optimization levels (0, 1, 2)
@@ -32,7 +34,7 @@ index a7dc9709d62..a1d460b36f4 100644 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ -o 0 -o 1 -o 2 $(COMPILEALL_OPTS) -d $(LIBDEST) -f \ -@@ -2579,6 +2580,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c +@@ -2821,6 +2822,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ -o 0 -o 1 -o 2 $(COMPILEALL_OPTS) -d $(LIBDEST)/site-packages -f \ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
@@ -41,10 +43,10 @@ index a7dc9709d62..a1d460b36f4 100644 # bpo-21536: Misc/python-config.sh is generated in the build directory # from $(srcdir)Misc/python-config.sh.in. diff --git a/configure.ac b/configure.ac -index 597a44b331a..edac73ec5d3 100644 +index bd4446e9488..ad0781f9ee6 100644 --- a/configure.ac +++ b/configure.ac -@@ -1513,6 +1513,13 @@ fi +@@ -1533,6 +1533,13 @@ fi AC_MSG_CHECKING([LDLIBRARY])
@@ -59,5 +61,5 @@ index 597a44b331a..edac73ec5d3 100644 # library that we build, but we do not want to link against it (we # will find it with a -framework option). For this reason there is an -- -2.50.1 +2.47.3
package/python3/0002-Add-an-option-to-disable-pydoc.patch +10 -8
@@ -18,16 +18,18 @@ Signed-off-by: Adam Duskett <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> +[ Bernd Kuhls: ported to Python 3.14.2] +Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 9 ++++++++- configure.ac | 6 ++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index a1d460b36f4..81f3fd54ee4 100644 +index 486a35ed99b..c3732bedb30 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2281,7 +2281,9 @@ bininstall: commoninstall altbininstall +@@ -2513,7 +2513,9 @@ bininstall: commoninstall altbininstall -rm -f $(DESTDIR)$(BINDIR)/idle3 (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle3) -rm -f $(DESTDIR)$(BINDIR)/pydoc3
@@ -37,7 +39,7 @@ index a1d460b36f4..81f3fd54ee4 100644 if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \ rm -f $(DESTDIR)$(BINDIR)/python3-32$(EXE); \ (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-32$(EXE) python3-32$(EXE)) \ -@@ -2331,7 +2333,6 @@ LIBSUBDIRS= asyncio \ +@@ -2564,7 +2566,6 @@ LIBSUBDIRS= asyncio \ logging \ multiprocessing multiprocessing/dummy \ pathlib \
@@ -45,7 +47,7 @@ index a1d460b36f4..81f3fd54ee4 100644 re \ site-packages \ sqlite3 \ -@@ -2490,6 +2491,10 @@ TESTSUBDIRS= idlelib/idle_test \ +@@ -2731,6 +2732,10 @@ TESTSUBDIRS= idlelib/idle_test \ COMPILEALL_OPTS=-j0
@@ -56,7 +58,7 @@ index a1d460b36f4..81f3fd54ee4 100644 TEST_MODULES=@TEST_MODULES@ .PHONY: libinstall -@@ -2717,7 +2722,9 @@ libainstall: all scripts +@@ -2959,7 +2964,9 @@ libainstall: all scripts $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(LDVERSION)-config $(INSTALL_SCRIPT) $(SCRIPT_IDLE) $(DESTDIR)$(BINDIR)/idle$(VERSION)
@@ -67,10 +69,10 @@ index a1d460b36f4..81f3fd54ee4 100644 "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \ echo; echo "Installing support files for building shared extension modules on AIX:"; \ diff --git a/configure.ac b/configure.ac -index edac73ec5d3..7ed4fa578f3 100644 +index ad0781f9ee6..00d2b54ead5 100644 --- a/configure.ac +++ b/configure.ac -@@ -4749,6 +4749,12 @@ AS_VAR_IF([posix_threads], [stub], [ +@@ -4789,6 +4789,12 @@ AS_VAR_IF([posix_threads], [stub], [ AC_DEFINE([HAVE_PTHREAD_STUBS], [1], [Define if platform requires stubbed pthreads support]) ])
@@ -84,5 +86,5 @@ index edac73ec5d3..7ed4fa578f3 100644 AH_TEMPLATE([ENABLE_IPV6], [Define if --enable-ipv6 is specified]) AC_MSG_CHECKING([if --enable-ipv6 is specified]) -- -2.50.1 +2.47.3
package/python3/0003-Add-an-option-to-disable-IDLE.patch +10 -8
@@ -17,16 +17,18 @@ Signed-off-by: Adam Duskett <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> +[ Bernd Kuhls: ported to Python 3.14.2] +Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 9 ++++++++- configure.ac | 6 ++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 81f3fd54ee4..2d067730633 100644 +index c3732bedb30..2197bb18434 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2279,7 +2279,9 @@ bininstall: commoninstall altbininstall +@@ -2511,7 +2511,9 @@ bininstall: commoninstall altbininstall -rm -f $(DESTDIR)$(LIBPC)/python3-embed.pc (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION)-embed.pc python3-embed.pc) -rm -f $(DESTDIR)$(BINDIR)/idle3
@@ -36,7 +38,7 @@ index 81f3fd54ee4..2d067730633 100644 -rm -f $(DESTDIR)$(BINDIR)/pydoc3 ifeq (@PYDOC@,yes) (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3) -@@ -2327,7 +2329,6 @@ LIBSUBDIRS= asyncio \ +@@ -2560,7 +2562,6 @@ LIBSUBDIRS= asyncio \ ensurepip ensurepip/_bundled \ html \ http \
@@ -44,7 +46,7 @@ index 81f3fd54ee4..2d067730633 100644 importlib importlib/resources importlib/metadata \ json \ logging \ -@@ -2495,6 +2496,10 @@ ifeq (@PYDOC@,yes) +@@ -2736,6 +2737,10 @@ ifeq (@PYDOC@,yes) LIBSUBDIRS += pydoc_data endif
@@ -55,7 +57,7 @@ index 81f3fd54ee4..2d067730633 100644 TEST_MODULES=@TEST_MODULES@ .PHONY: libinstall -@@ -2721,7 +2726,9 @@ libainstall: all scripts +@@ -2963,7 +2968,9 @@ libainstall: all scripts $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(LDVERSION)-config
@@ -66,10 +68,10 @@ index 81f3fd54ee4..2d067730633 100644 $(INSTALL_SCRIPT) $(SCRIPT_PYDOC) $(DESTDIR)$(BINDIR)/pydoc$(VERSION) endif diff --git a/configure.ac b/configure.ac -index 7ed4fa578f3..d5dac4bf8bc 100644 +index 00d2b54ead5..5395e82384b 100644 --- a/configure.ac +++ b/configure.ac -@@ -7927,6 +7927,12 @@ PY_STDLIB_MOD([xxlimited_35], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_d +@@ -8189,6 +8189,12 @@ PY_STDLIB_MOD([xxlimited_35], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_d # substitute multiline block, must come after last PY_STDLIB_MOD() AC_SUBST([MODULE_BLOCK])
@@ -83,5 +85,5 @@ index 7ed4fa578f3..d5dac4bf8bc 100644 AC_CONFIG_FILES(m4_normalize([ Makefile.pre -- -2.50.1 +2.47.3
package/python3/0004-configure.ac-move-PY_STDLIB_MOD_SET_NA-further-up.patch +7 -5
@@ -11,12 +11,14 @@ Upstream: N/A Signed-off-by: Thomas Petazzoni <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> +[ Bernd Kuhls: ported to Python 3.14.2] +Signed-off-by: Bernd Kuhls <[email protected]> --- configure.ac | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac -index d5dac4bf8bc..6635aaa134d 100644 +index 5395e82384b..ec9a24c5311 100644 --- a/configure.ac +++ b/configure.ac @@ -95,6 +95,12 @@ AC_DEFUN([PY_CHECK_EMSCRIPTEN_PORT], [
@@ -32,9 +34,9 @@ index d5dac4bf8bc..6635aaa134d 100644 AC_SUBST([BASECPPFLAGS]) if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then # If we're building out-of-tree, we need to make sure the following -@@ -7595,13 +7601,6 @@ AS_VAR_IF([ac_cv_libatomic_needed], [yes], - LIBATOMIC=${LIBATOMIC-"-latomic"}]) - _RESTORE_VAR([CPPFLAGS]) +@@ -7701,13 +7707,6 @@ if test -n "$_PYTHREAD_NAME_MAXLEN"; then + fi + AC_SUBST([_PYTHREAD_NAME_MAXLEN]) - -# stdlib
@@ -47,5 +49,5 @@ index d5dac4bf8bc..6635aaa134d 100644 dnl Modules that are not available on some platforms AS_CASE([$ac_sys_system], -- -2.50.1 +2.47.3
package/python3/0005-Add-option-to-disable-the-sqlite3-module.patch +9 -7
@@ -14,24 +14,26 @@ Signed-off-by: Adam Duskett <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> +[ Bernd Kuhls: ported to Python 3.14.2] +Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 5 ++++- configure.ac | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 2d067730633..a45a76cce45 100644 +index 2197bb18434..c8f7ab1e6a9 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2336,7 +2336,6 @@ LIBSUBDIRS= asyncio \ +@@ -2569,7 +2569,6 @@ LIBSUBDIRS= asyncio \ pathlib \ re \ site-packages \ - sqlite3 \ + string \ sysconfig \ tkinter \ - tomllib \ -@@ -2500,6 +2499,10 @@ ifeq (@IDLE@,yes) +@@ -2741,6 +2740,10 @@ ifeq (@IDLE@,yes) LIBSUBDIRS += idlelib idlelib/Icons endif
@@ -43,10 +45,10 @@ index 2d067730633..a45a76cce45 100644 .PHONY: libinstall diff --git a/configure.ac b/configure.ac -index 6635aaa134d..8153b738b2f 100644 +index ec9a24c5311..e8e201206bc 100644 --- a/configure.ac +++ b/configure.ac -@@ -4755,6 +4755,13 @@ AS_VAR_IF([posix_threads], [stub], [ +@@ -4795,6 +4795,13 @@ AS_VAR_IF([posix_threads], [stub], [ AC_DEFINE([HAVE_PTHREAD_STUBS], [1], [Define if platform requires stubbed pthreads support]) ])
@@ -61,5 +63,5 @@ index 6635aaa134d..8153b738b2f 100644 AC_ARG_ENABLE(pydoc, -- -2.50.1 +2.47.3
package/python3/0006-Add-an-option-to-disable-the-tk-module.patch +14 -14
@@ -11,8 +11,8 @@ Signed-off-by: Samuel Martin <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]> [ Adam Duskett: ported to Python 3.10.0 ] Signed-off-by: Adam Duskett <[email protected]> -[ Bernd Kuhls: ported to Python 3.11.4] -Signed-off-by: Bernd Kuhls <[email protected]> +[ Bernd Kuhls: ported to Python 3.14.2] +Signed-off-by: Bernd Kuhls <[email protected]> [ Adam Duskett: ported to Python 3.12.1 ] Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ]
@@ -25,34 +25,34 @@ Signed-off-by: Vincent Fazio <[email protected]> 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index a45a76cce45..76d67ce7185 100644 +index c8f7ab1e6a9..2c91d0dda71 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2337,7 +2337,6 @@ LIBSUBDIRS= asyncio \ - re \ +@@ -2571,7 +2571,6 @@ LIBSUBDIRS= asyncio \ site-packages \ + string \ sysconfig \ - tkinter \ tomllib \ turtledemo \ unittest \ -@@ -2445,7 +2444,6 @@ TESTSUBDIRS= idlelib/idle_test \ - test/test_pydoc \ +@@ -2681,7 +2680,6 @@ TESTSUBDIRS= idlelib/idle_test \ test/test_pyrepl \ + test/test_string \ test/test_sqlite3 \ - test/test_tkinter \ test/test_tomllib \ test/test_tomllib/data \ test/test_tomllib/data/invalid \ -@@ -2467,7 +2465,6 @@ TESTSUBDIRS= idlelib/idle_test \ +@@ -2703,7 +2701,6 @@ TESTSUBDIRS= idlelib/idle_test \ test/test_tools \ test/test_tools/i18n_data \ test/test_tools/msgfmt_data \ - test/test_ttk \ test/test_unittest \ - test/test_unittest/testmock \ - test/test_warnings \ -@@ -2489,6 +2486,11 @@ TESTSUBDIRS= idlelib/idle_test \ + test/test_unittest/namespace_test_pkg \ + test/test_unittest/namespace_test_pkg/bar \ +@@ -2730,6 +2727,11 @@ TESTSUBDIRS= idlelib/idle_test \ test/xmltestdata/c14n-20 \ test/zipimport_data
@@ -65,10 +65,10 @@ index a45a76cce45..76d67ce7185 100644 ifeq (@PYDOC@,yes) diff --git a/configure.ac b/configure.ac -index 8153b738b2f..0cf06a50c71 100644 +index e8e201206bc..840976ec1bd 100644 --- a/configure.ac +++ b/configure.ac -@@ -4768,6 +4768,13 @@ AC_ARG_ENABLE(pydoc, +@@ -4808,6 +4808,13 @@ AC_ARG_ENABLE(pydoc, AS_HELP_STRING([--disable-pydoc], [disable pydoc]), [ PYDOC="${enableval}" ], [ PYDOC=yes ])
@@ -83,5 +83,5 @@ index 8153b738b2f..0cf06a50c71 100644 AH_TEMPLATE([ENABLE_IPV6], [Define if --enable-ipv6 is specified]) AC_MSG_CHECKING([if --enable-ipv6 is specified]) -- -2.50.1 +2.47.3
package/python3/0007-Add-an-option-to-disable-the-curses-module.patch +9 -7
@@ -13,24 +13,26 @@ Signed-off-by: Andrey Smirnov <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> +[ Bernd Kuhls: ported to Python 3.14.2] +Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 5 ++++- configure.ac | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 76d67ce7185..bfb6cb65354 100644 +index 2c91d0dda71..fb11e416731 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2322,7 +2322,6 @@ LIBSUBDIRS= asyncio \ - concurrent concurrent/futures \ +@@ -2555,7 +2555,6 @@ LIBSUBDIRS= asyncio \ + concurrent concurrent/futures concurrent/interpreters \ csv \ ctypes ctypes/macholib \ - curses \ dbm \ email email/mime \ encodings \ -@@ -2491,6 +2490,10 @@ LIBSUBDIRS += tkinter +@@ -2732,6 +2731,10 @@ LIBSUBDIRS += tkinter TESTSUBDIRS += test/test_tkinter test/test_ttk endif
@@ -42,10 +44,10 @@ index 76d67ce7185..bfb6cb65354 100644 ifeq (@PYDOC@,yes) diff --git a/configure.ac b/configure.ac -index 0cf06a50c71..0895dc57808 100644 +index 840976ec1bd..1d7ba91ccc9 100644 --- a/configure.ac +++ b/configure.ac -@@ -4762,6 +4762,13 @@ AC_ARG_ENABLE(sqlite3, +@@ -4802,6 +4802,13 @@ AC_ARG_ENABLE(sqlite3, AS_IF([test "$SQLITE3" = "no"], [PY_STDLIB_MOD_SET_NA([_sqlite3])])
@@ -60,5 +62,5 @@ index 0cf06a50c71..0895dc57808 100644 AC_ARG_ENABLE(pydoc, -- -2.50.1 +2.47.3
package/python3/0008-Add-an-option-to-disable-expat.patch +8 -6
@@ -19,16 +19,18 @@ Signed-off-by: Andrey Smirnov <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> +[ Bernd Kuhls: ported to Python 3.14.2] +Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 5 ++++- configure.ac | 24 +++++++++++++----------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index bfb6cb65354..7a662ea4b32 100644 +index fb11e416731..c261b3f9cd7 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2342,7 +2342,6 @@ LIBSUBDIRS= asyncio \ +@@ -2576,7 +2576,6 @@ LIBSUBDIRS= asyncio \ urllib \ venv venv/scripts venv/scripts/common venv/scripts/posix \ wsgiref \
@@ -36,7 +38,7 @@ index bfb6cb65354..7a662ea4b32 100644 xmlrpc \ zipfile zipfile/_path \ zoneinfo \ -@@ -2508,6 +2507,10 @@ ifeq (@SQLITE3@,yes) +@@ -2749,6 +2748,10 @@ ifeq (@SQLITE3@,yes) LIBSUBDIRS += sqlite3 endif
@@ -48,10 +50,10 @@ index bfb6cb65354..7a662ea4b32 100644 .PHONY: libinstall diff --git a/configure.ac b/configure.ac -index 0895dc57808..34e4d5dd244 100644 +index 1d7ba91ccc9..3980548b253 100644 --- a/configure.ac +++ b/configure.ac -@@ -4058,17 +4058,19 @@ LIBS="$withval $LIBS" +@@ -4065,17 +4065,19 @@ LIBS="$withval $LIBS" [AC_MSG_RESULT([no])]) # Check for use of the system expat library
@@ -83,5 +85,5 @@ index 0895dc57808..34e4d5dd244 100644 LIBEXPAT_LDFLAGS=${LIBEXPAT_LDFLAGS-"-lexpat"} LIBEXPAT_INTERNAL= -- -2.50.1 +2.47.3
package/python3/python3.hash +4 -4
@@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-31311/ -md5 4c3517dd8b1fd76377dcb3e5e8f71ad6 Python-3.13.11.tar.xz +# From https://www.python.org/downloads/release/python-3142/ +md5 19a31b2838db3b53f9f2db8782bf8773 Python-3.14.2.tar.xz # Locally computed -sha256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 Python-3.13.11.tar.xz -sha256 78b12c3a81360b357002334f0e70ea0e92eebf7a9b358805c03c48484945f3bb LICENSE +sha256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 Python-3.14.2.tar.xz +sha256 b0e25a78cffb43f4d92de8b61ccfa1f1f98ecbc22330b54b5251e7b6ba010231 LICENSE
package/python3/python3.mk +2 -2
@@ -4,8 +4,8 @@ # ################################################################################ -PYTHON3_VERSION_MAJOR = 3.13 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).11 +PYTHON3_VERSION_MAJOR = 3.14 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Bernd,
Thanks for the patch (and the quick update).
Quoted 1 line · Bernd Kuhls
Rebased all patches.
The bump to this new 3.14 version series is not trivial.
Could you add in the commit log links to release announce and change log please?
https://www.python.org/downloads/release/python-3142/
https://docs.python.org/release/3.14.2/whatsnew/changelog.html
Quoted 2 lines
Signed-off-by Bernd Kuhls <[email protected]>---
[...]
package/python3/python3.mk line 9
Quoted 13 lines
package/python3/python3.mk +2
-2@@ -4,8 +4,8 @@ # ################################################################################ -PYTHON3_VERSION_MAJOR = 3.13 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).11 +PYTHON3_VERSION_MAJOR = 3.14 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2
I also tested many cases with this series. So far, it is generally working well on my side.
While testing, I observed a new build failure with this version:
https://gitlab.com/jolivain/buildroot/-/jobs/12589702787
It is likely to be related to:
https://github.com/python/cpython/issues/139275
Maybe we should backport a patch to fix this issue?
Also, Python 3.14 introduced colors in its output. This seems to break some runtime tests. I've seen such a failure with the varlink runtime test for example, at:
https://gitlab.com/buildroot.org/buildroot/-/blob/master/support/testing/tests/package/test_python_varlink.py#L30
See also:
https://docs.python.org/3.14/using/cmdline.html#controlling-color
Maybe we should globally set "NO_COLOR=1" somewhere in:
https://gitlab.com/buildroot.org/buildroot/-/blob/master/support/testing/tests/package/test_python.py
Quoted 5 lines
package/python3/python3.mk +0
-0PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION)
PYTHON3_LICENSE= Python-2.0, others
--
2.47.3
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot