]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
prereq-build/u-boot: add Python 3.14 support 23243/head
authorEtienne Champetier <champetier.etienne@gmail.com>
Sat, 24 Jan 2026 21:31:03 +0000 (16:31 -0500)
committerTest Dev <dev@example.org>
Tue, 16 Jun 2026 10:51:01 +0000 (12:51 +0200)
Python 3.14 is the default version on Fedora 43/44.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23243
Signed-off-by: Test Dev <dev@example.org>
include/prereq-build.mk
include/u-boot.mk

index f37ea3bd086f5101791dc383ecff528351f17b92..686bfab2ba70b05511a7d61f32d4aee1f5fec537 100644 (file)
@@ -187,6 +187,7 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
        perl --version | grep "perl.*v5"))
 
 $(eval $(call SetupHostCommand,python,Please install Python >= 3.8, \
+       python3.14 -V 2>&1 | grep 'Python 3', \
        python3.13 -V 2>&1 | grep 'Python 3', \
        python3.12 -V 2>&1 | grep 'Python 3', \
        python3.11 -V 2>&1 | grep 'Python 3', \
@@ -196,6 +197,7 @@ $(eval $(call SetupHostCommand,python,Please install Python >= 3.8, \
        python3 -V 2>&1 | grep -E 'Python 3\.([8-9]|[0-9][0-9])\.?'))
 
 $(eval $(call SetupHostCommand,python3,Please install Python >= 3.8, \
+       python3.14 -V 2>&1 | grep 'Python 3', \
        python3.13 -V 2>&1 | grep 'Python 3', \
        python3.12 -V 2>&1 | grep 'Python 3', \
        python3.11 -V 2>&1 | grep 'Python 3', \
index 37ce68e7e73e5525143236ed5085b26790698042..bdf77f1612bd1bfb145949f395ef273546643202 100644 (file)
@@ -29,6 +29,7 @@ endif
 ifdef UBOOT_USE_INTREE_DTC
   $(eval $(call TestHostCommand,python3-dev, \
     Please install the python3-dev package, \
+    python3.14-config --includes 2>&1 | grep 'python3', \
     python3.13-config --includes 2>&1 | grep 'python3', \
     python3.12-config --includes 2>&1 | grep 'python3', \
     python3.11-config --includes 2>&1 | grep 'python3', \