From 67566c7410e1a3ec7ed4686b45908f25209494ec Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 19 Mar 2025 19:51:34 +0000 Subject: bitbake: lib/bb: Bump minimum python version requirement to 3.9 Since Ubuntu 20.04 is heading to EoL and that we're having other issues on that platform needing buildtools anyway, we're about to lose the last python 3.8 platform we were supporting. Bump the minimum version to 3.9 since there are many developers wanting access to newer python features. (Bitbake rev: 0d2e682d00dfc2ec776b3a89f25202db98024895) Signed-off-by: Richard Purdie --- bitbake/lib/bb/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index 876f7e3976..d3e90d03be 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py @@ -12,8 +12,8 @@ __version__ = "2.9.1" import sys -if sys.version_info < (3, 8, 0): - raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake") +if sys.version_info < (3, 9, 0): + raise RuntimeError("Sorry, python 3.9.0 or later is required for this version of bitbake") if sys.version_info < (3, 10, 0): # With python 3.8 and 3.9, we see errors of "libgcc_s.so.1 must be installed for pthread_cancel to work" -- cgit v1.2.3-54-g00ecf