From: Rosen Penev Date: Thu, 9 Nov 2023 18:53:02 +0000 (-0800) Subject: prereq-build: add Python 3.12 support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7ceb76ca3a37ba6b722df39ba0838909fa7cf7b4;p=openwrt%2Fstaging%2Fmans0n.git prereq-build: add Python 3.12 support Fixes build on Fedora 39. Signed-off-by: Rosen Penev --- diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 49340ce3e4..2378f5ad90 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -182,6 +182,7 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \ perl --version | grep "perl.*v5")) $(eval $(call SetupHostCommand,python,Please install Python >= 3.7, \ + python3.12 -V 2>&1 | grep 'Python 3', \ python3.11 -V 2>&1 | grep 'Python 3', \ python3.10 -V 2>&1 | grep 'Python 3', \ python3.9 -V 2>&1 | grep 'Python 3', \ @@ -190,6 +191,7 @@ $(eval $(call SetupHostCommand,python,Please install Python >= 3.7, \ python3 -V 2>&1 | grep -E 'Python 3\.([7-9]|[0-9][0-9])\.?')) $(eval $(call SetupHostCommand,python3,Please install Python >= 3.7, \ + python3.12 -V 2>&1 | grep 'Python 3', \ python3.11 -V 2>&1 | grep 'Python 3', \ python3.10 -V 2>&1 | grep 'Python 3', \ python3.9 -V 2>&1 | grep 'Python 3', \