Message ID | 20221211173746.22513-1-richard.purdie@linuxfoundation.org |
---|---|
State | Accepted, archived |
Commit | cc05bc04156122fd6f918191a9cec7bc0392415e |
Headers | show |
Series | sanity: Update minimum python version to 3.8 | expand |
Hi Richard, this disqualifies at least debian-10 and ubuntu-18.04 which are still listed in SANITY_TESTED_DISTROS. How is the SANITY_TESTED_DISTROS list maintained and tested? Are there some autobuilder jobs with these distros (should be failing now)? I was wondering about this for some time already because I had to discard Debian-9 when migrating our layer to kirkstone but poky still lists it as sanity tested on that branch. Peter
On Mon, 2022-12-19 at 17:04 +0000, Marko, Peter wrote: > Hi Richard, > > this disqualifies at least debian-10 and ubuntu-18.04 which are still > listed in SANITY_TESTED_DISTROS. > > How is the SANITY_TESTED_DISTROS list maintained and tested? > Are there some autobuilder jobs with these distros (should be failing > now)? At any given time you can see what we're testing on here: https://autobuilder.yoctoproject.org/typhoon/#/workers so debian-10 is no longer one we test on. We do test on ubuntu 18.04 but only with buildtools tarball so that is still supported for now but close to EOL. > I was wondering about this for some time already because I had to > discard Debian-9 when migrating our layer to kirkstone but poky still > lists it as sanity tested on that branch. We struggle to keep the list in the various branches up to date and probably need to find a way to add some automated test to check it. Cheers, Richard
diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index 6cb0d6cf882..8dfd59f457e 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass @@ -759,10 +759,10 @@ def check_sanity_everybuild(status, d): if 0 == os.getuid(): raise_sanity_error("Do not use Bitbake as root.", d) - # Check the Python version, we now have a minimum of Python 3.6 + # Check the Python version, we now have a minimum of Python 3.8 import sys - if sys.hexversion < 0x030600F0: - status.addresult('The system requires at least Python 3.6 to run. Please update your Python interpreter.\n') + if sys.hexversion < 0x030800F0: + status.addresult('The system requires at least Python 3.8 to run. Please update your Python interpreter.\n') # Check the bitbake version meets minimum requirements minversion = d.getVar('BB_MIN_VERSION')
Bitbake is moving to a minimum python version of 3.8, update OE-Core to match to make things consistent. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/classes-global/sanity.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)