From 0a9fcdf5715ffd6cd384775f4a98494026543061 Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Sat, 24 Jan 2026 16:31:03 -0500 Subject: [PATCH] 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 --- include/prereq-build.mk | 2 ++ include/u-boot.mk | 1 + 2 files changed, 3 insertions(+) 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', \ -- 2.47.3