mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 20:27:58 +02:00
classes/sanity: Bump minimum python version to 3.5
Bumps the minimum python version to 3.5 to match bitbake and the test matrix (From OE-Core rev: df13c0f2348898023fb7ee1b229e9b5ccc893609) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ea79ef5897
commit
b534c8f338
@@ -769,8 +769,8 @@ def check_sanity_everybuild(status, d):
|
||||
|
||||
# Check the Python version, we now have a minimum of Python 3.4
|
||||
import sys
|
||||
if sys.hexversion < 0x03040000:
|
||||
status.addresult('The system requires at least Python 3.4 to run. Please update your Python interpreter.\n')
|
||||
if sys.hexversion < 0x030500F0:
|
||||
status.addresult('The system requires at least Python 3.5 to run. Please update your Python interpreter.\n')
|
||||
|
||||
# Check the bitbake version meets minimum requirements
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
Reference in New Issue
Block a user