diff options
| -rw-r--r-- | meta/classes/sanity.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 3262d08fbf..d134b40a87 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
| @@ -770,10 +770,10 @@ def check_sanity_everybuild(status, d): | |||
| 770 | if 0 == os.getuid(): | 770 | if 0 == os.getuid(): |
| 771 | raise_sanity_error("Do not use Bitbake as root.", d) | 771 | raise_sanity_error("Do not use Bitbake as root.", d) |
| 772 | 772 | ||
| 773 | # Check the Python version, we now have a minimum of Python 3.4 | 773 | # Check the Python version, we now have a minimum of Python 3.6 |
| 774 | import sys | 774 | import sys |
| 775 | if sys.hexversion < 0x030500F0: | 775 | if sys.hexversion < 0x030600F0: |
| 776 | status.addresult('The system requires at least Python 3.5 to run. Please update your Python interpreter.\n') | 776 | status.addresult('The system requires at least Python 3.6 to run. Please update your Python interpreter.\n') |
| 777 | 777 | ||
| 778 | # Check the bitbake version meets minimum requirements | 778 | # Check the bitbake version meets minimum requirements |
| 779 | from distutils.version import LooseVersion | 779 | from distutils.version import LooseVersion |
