From: Etienne Champetier Date: Sat, 24 Jan 2026 21:31:03 +0000 (-0500) Subject: prereq-build/u-boot: add Python 3.14 support X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F23243%2Fhead;p=thirdparty%2Fopenwrt.git prereq-build/u-boot: add Python 3.14 support Python 3.14 is the default version on Fedora 43/44. Signed-off-by: Etienne Champetier Link: https://github.com/openwrt/openwrt/pull/23243 Signed-off-by: Test Dev --- diff --git a/include/prereq-build.mk b/include/prereq-build.mk index f37ea3bd086..686bfab2ba7 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -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', \ diff --git a/include/u-boot.mk b/include/u-boot.mk index 37ce68e7e73..bdf77f1612b 100644 --- a/include/u-boot.mk +++ b/include/u-boot.mk @@ -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', \