]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/sanity: Bump minimum python version to 3.5
authorJoshua Watt <JPEWhacker@gmail.com>
Mon, 5 Oct 2020 15:38:51 +0000 (10:38 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Oct 2020 09:18:50 +0000 (10:18 +0100)
Bumps the minimum python version to 3.5 to match bitbake and the test
matrix

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass

index e021b9d240fa1247a2550e593bffa5b6cd065a3f..0eee89d71cee9a446debb775b2ea84c02e01e531 100644 (file)
@@ -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