Skip to contentSkip to conversation

classes/sanity: Bump minimum python version to 3.5

PATCH New Joshua Watt 1 participant 1 message Oct 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 classes/sanity: Bump minimum python version to 3.5

Bumps the minimum python version to 3.5 to match bitbake and the test matrix

---
 meta/classes/sanity.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes/sanity.bbclass +2 -2
index e021b9d240..0eee89d71c 100644
@@ -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
Signature · 1 line
2.28.0