summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/__init__.py
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:56 +0000
commit7d67b6356033b5ffeb37d13bf748632ce917289b (patch)
tree46e9a32887649c45377fe630f74d8e84fd09fb68 /bitbake/lib/bb/__init__.py
parentf329142a31f8207240ad93e5c00e9b6bf8dc9745 (diff)
downloadpoky-7d67b6356033b5ffeb37d13bf748632ce917289b.tar.gz
bitbake: 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. (Bitbake rev: 744310f360d2288ac2ef07745abc86852126b5b9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/__init__.py')
-rw-r--r--bitbake/lib/bb/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index 99cb5a0101..4e90964173 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -12,8 +12,8 @@
12__version__ = "2.2.0" 12__version__ = "2.2.0"
13 13
14import sys 14import sys
15if sys.version_info < (3, 6, 0): 15if sys.version_info < (3, 8, 0):
16 raise RuntimeError("Sorry, python 3.6.0 or later is required for this version of bitbake") 16 raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake")
17 17
18 18
19class BBHandledException(Exception): 19class BBHandledException(Exception):