]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
prereq-build: bump python requirement to 3.8 23521/head
authorRosen Penev <rosenp@gmail.com>
Mon, 25 May 2026 01:49:04 +0000 (18:49 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 10 Jun 2026 07:00:33 +0000 (09:00 +0200)
Even though 3.8 is quite old, it's still used by Ubuntu 20.04 LTS. Bump
the version to get some extra features.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23521
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
README.md
include/prereq-build.mk
include/u-boot.mk

index 9141b2392df73e42c05fdb8ed14b0a2376972182..dd9f4433e703b689afda88cdd7a0e2e751054498 100644 (file)
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ image usable to migrate from a vendor stock firmware to OpenWrt, try the
 If your device is supported, please follow the **Info** link to see install
 instructions or consult the support resources listed below.
 
-## 
+##
 
 An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page:
 
@@ -44,7 +44,7 @@ documentation.
 
 ```
 binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev
-make4.1+ perl python3.7+ rsync subversion unzip which
+make4.1+ perl python3.8+ rsync subversion unzip which
 ```
 
 ### Quickstart
index e4ac0a3de51c5165f7fa52b6e33031894d0212b2..dcc21aafa5b1d795f7bcdaae203346a57f4ac6d4 100644 (file)
@@ -186,25 +186,23 @@ $(eval $(call SetupHostCommand,install,Please install 'install', \
 $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
        perl --version | grep "perl.*v5"))
 
-$(eval $(call SetupHostCommand,python,Please install Python >= 3.7, \
+$(eval $(call SetupHostCommand,python,Please install Python >= 3.8, \
        python3.13 -V 2>&1 | grep 'Python 3', \
        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', \
        python3.8 -V 2>&1 | grep 'Python 3', \
-       python3.7 -V 2>&1 | grep 'Python 3', \
-       python3 -V 2>&1 | grep -E 'Python 3\.([7-9]|[0-9][0-9])\.?'))
+       python3 -V 2>&1 | grep -E 'Python 3\.([8-9]|[0-9][0-9])\.?'))
 
-$(eval $(call SetupHostCommand,python3,Please install Python >= 3.7, \
+$(eval $(call SetupHostCommand,python3,Please install Python >= 3.8, \
        python3.13 -V 2>&1 | grep 'Python 3', \
        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', \
        python3.8 -V 2>&1 | grep 'Python 3', \
-       python3.7 -V 2>&1 | grep 'Python 3', \
-       python3 -V 2>&1 | grep -E 'Python 3\.([7-9]|[0-9][0-9])\.?'))
+       python3 -V 2>&1 | grep -E 'Python 3\.([8-9]|[0-9][0-9])\.?'))
 
 $(eval $(call TestHostCommand,python3-distutils, \
        Please install the Python3 distutils module, \
index fcd8b5cd769746e732233187318e7dfd2a09cbbb..37ce68e7e73e5525143236ed5085b26790698042 100644 (file)
@@ -35,8 +35,7 @@ ifdef UBOOT_USE_INTREE_DTC
     python3.10-config --includes 2>&1 | grep 'python3', \
     python3.9-config --includes 2>&1 | grep 'python3', \
     python3.8-config --includes 2>&1 | grep 'python3', \
-    python3.7-config --includes 2>&1 | grep 'python3', \
-    python3-config --includes 2>&1 | grep -E 'python3\.([7-9]|[0-9][0-9])\.?'))
+    python3-config --includes 2>&1 | grep -E 'python3\.([8-9]|[0-9][0-9])\.?'))
 
   $(eval $(call TestHostCommand,python3-setuptools, \
     Please install the Python3 setuptools module, \