aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-11 17:30:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-12 16:16:50 +0000
commit744310f360d2288ac2ef07745abc86852126b5b9 (patch)
tree209d049e10b6c19c76109cff614a983dfdbe5999
parentef72282298f7c4db74383c23bb0251dd06d3c6d3 (diff)
downloadbitbake-744310f360d2288ac2ef07745abc86852126b5b9.tar.gz
bitbake: Bump minimum python version requirement to 3.8
Most of our older distros with python older than 3.8 already need buildtools tarballs apart from Ubuntu 18.04. 3.8 allows us to fix a few things, tidy code in places and is widely available or can be obtained with buildtools. Therefore update our minimum version to 3.8. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py
index 99cb5a010..4e9096417 100644
--- a/lib/bb/__init__.py
+++ b/lib/bb/__init__.py
@@ -12,8 +12,8 @@
__version__ = "2.2.0"
import sys
-if sys.version_info < (3, 6, 0):
- raise RuntimeError("Sorry, python 3.6.0 or later is required for this version of bitbake")
+if sys.version_info < (3, 8, 0):
+ raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake")
class BBHandledException(Exception):