summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-07 18:19:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-14 12:53:52 +0100
commit98abb113a02a4504ae969dbaf9844ab6539dcdb8 (patch)
tree43a1e93edf8f288305fd7b57a18c5a383dc02271 /meta/classes/sanity.bbclass
parent2cc601cd266959cb7e9726cc5946dc2a49953b16 (diff)
downloadpoky-98abb113a02a4504ae969dbaf9844ab6539dcdb8.tar.gz
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>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 0eb6ae334b..e692f33839 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -381,11 +381,10 @@ def check_sanity(sanity_data):
381 381
382 messages = "" 382 messages = ""
383 383
384 # Check the Python version, we now use Python 2.6 features in 384 # Check the Python version, we now have a minimum of Python 2.7.3
385 # various classes
386 import sys 385 import sys
387 if sys.hexversion < 0x020600F0: 386 if sys.hexversion < 0x020703F0:
388 messages = messages + 'The system requires at least Python 2.6 to run. Please update your Python interpreter.\n' 387 messages = messages + 'The system requires at least Python 2.7.3 to run. Please update your Python interpreter.\n'
389 # Check the python install is complete. glib-2.0-natives requries 388 # Check the python install is complete. glib-2.0-natives requries
390 # xml.parsers.expat 389 # xml.parsers.expat
391 try: 390 try: