mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
scripts/buildenv-internal/sanity: Update to python 2.7.3 as a minimum
We're finding bugs in python 2.6 and starting to require unittest functionality in python 2.7.x. Its time to bump the minimum version requirement. Anyone without python 2.7.x can use the buildtools-tarball out to install a standalone python/git/tar setup which will work with the system. (From OE-Core rev: 8b90f1becd40a7f857d2fbe30eaffe218a976419) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -381,11 +381,10 @@ def check_sanity(sanity_data):
|
||||
|
||||
messages = ""
|
||||
|
||||
# Check the Python version, we now use Python 2.6 features in
|
||||
# various classes
|
||||
# Check the Python version, we now have a minimum of Python 2.7.3
|
||||
import sys
|
||||
if sys.hexversion < 0x020600F0:
|
||||
messages = messages + 'The system requires at least Python 2.6 to run. Please update your Python interpreter.\n'
|
||||
if sys.hexversion < 0x020703F0:
|
||||
messages = messages + 'The system requires at least Python 2.7.3 to run. Please update your Python interpreter.\n'
|
||||
# Check the python install is complete. glib-2.0-natives requries
|
||||
# xml.parsers.expat
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user