diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-10-05 10:38:51 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-07 10:18:55 +0100 |
commit | b534c8f338ac979811ecda192d52fbc18e371808 (patch) | |
tree | ce3bcfc8b340507c45a00b68600df0c974040d0f /meta/classes | |
parent | ea79ef5897aa6b074ba2600f3c5e7c0f9ae8a472 (diff) | |
download | poky-b534c8f338ac979811ecda192d52fbc18e371808.tar.gz |
classes/sanity: Bump minimum python version to 3.5
Bumps the minimum python version to 3.5 to match bitbake and the test
matrix
(From OE-Core rev: df13c0f2348898023fb7ee1b229e9b5ccc893609)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sanity.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index e021b9d240..0eee89d71c 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -769,8 +769,8 @@ def check_sanity_everybuild(status, d): | |||
769 | 769 | ||
770 | # Check the Python version, we now have a minimum of Python 3.4 | 770 | # Check the Python version, we now have a minimum of Python 3.4 |
771 | import sys | 771 | import sys |
772 | if sys.hexversion < 0x03040000: | 772 | if sys.hexversion < 0x030500F0: |
773 | status.addresult('The system requires at least Python 3.4 to run. Please update your Python interpreter.\n') | 773 | status.addresult('The system requires at least Python 3.5 to run. Please update your Python interpreter.\n') |
774 | 774 | ||
775 | # Check the bitbake version meets minimum requirements | 775 | # Check the bitbake version meets minimum requirements |
776 | from distutils.version import LooseVersion | 776 | from distutils.version import LooseVersion |