diff mbox series

[03/41] oe-buildenv-internal: Correct minimum python version

Message ID 20261115084845.701136-3-richard.purdie@linuxfoundation.org
State New
Headers show
Series [01/41] oeqa/loader: Drop code for pre python 3.5 | expand

Commit Message

Richard Purdie Nov. 15, 2026, 8:48 a.m. UTC
We have python 3.9 as the minimum version now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 scripts/oe-buildenv-internal | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index 2fdb19565a0..58e300c0e92 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -32,12 +32,12 @@  fi
 # We potentially have code that doesn't parse correctly with older versions 
 # of Python, and rather than fixing that and being eternally vigilant for 
 # any other new feature use, just check the version here.
-py_v38_check=$(python3 -c 'import sys; print(sys.version_info >= (3,8,0))')
-if [ "$py_v38_check" != "True" ]; then
-    echo >&2 "BitBake requires Python 3.8.0 or later as 'python3' (scripts/install-buildtools can be used if needed)"
+py_v39_check=$(python3 -c 'import sys; print(sys.version_info >= (3,9,0))')
+if [ "$py_v39_check" != "True" ]; then
+    echo >&2 "BitBake requires Python 3.9.0 or later as 'python3' (scripts/install-buildtools can be used if needed)"
     return 1
 fi
-unset py_v38_check
+unset py_v39_check
 
 if [ -z "$BDIR" ]; then
     if [ -z "$1" ]; then