summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-global/sanity.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass
index bc188eefb7..b42fc526c4 100644
--- a/meta/classes-global/sanity.bbclass
+++ b/meta/classes-global/sanity.bbclass
@@ -759,10 +759,10 @@ def check_sanity_everybuild(status, d):
759 if 0 == os.getuid(): 759 if 0 == os.getuid():
760 raise_sanity_error("Do not use Bitbake as root.", d) 760 raise_sanity_error("Do not use Bitbake as root.", d)
761 761
762 # Check the Python version, we now have a minimum of Python 3.6 762 # Check the Python version, we now have a minimum of Python 3.8
763 import sys 763 import sys
764 if sys.hexversion < 0x030600F0: 764 if sys.hexversion < 0x030800F0:
765 status.addresult('The system requires at least Python 3.6 to run. Please update your Python interpreter.\n') 765 status.addresult('The system requires at least Python 3.8 to run. Please update your Python interpreter.\n')
766 766
767 # Check the bitbake version meets minimum requirements 767 # Check the bitbake version meets minimum requirements
768 minversion = d.getVar('BB_MIN_VERSION') 768 minversion = d.getVar('BB_MIN_VERSION')