diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index 1bae998f74..7f83239c6e 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass @@ -822,10 +822,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.8 + # Check the Python version, we now have a minimum of Python 3.9 import sys - if sys.hexversion < 0x030800F0: - status.addresult('The system requires at least Python 3.8 to run. Please update your Python interpreter.\n') + if sys.hexversion < 0x030900F0: + status.addresult('The system requires at least Python 3.9 to run. Please update your Python interpreter.\n') # Check the bitbake version meets minimum requirements minversion = d.getVar('BB_MIN_VERSION')