[oe-commits] [bitbake] 06/23: lib/bb: Set required python 3 version to 3.4.0

git at git.openembedded.org git at git.openembedded.org
Tue May 17 14:25:51 UTC 2016


rpurdie pushed a commit to branch python3
in repository bitbake.

commit ab40a0ac17f0cdf48d5243b8e27e34fffaa2c61c
Author: Jeremy Puhlman <jpuhlman at mvista.com>
AuthorDate: Thu May 12 15:32:05 2016 -0700

    lib/bb: Set required python 3 version to 3.4.0
    
    get_context was added to mutliprocessing as part of 3.4.0
    
    Signed-off-by: Jeremy Puhlman <jpuhlman at mvista.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py
index 6b85984..a98ebd1 100644
--- a/lib/bb/__init__.py
+++ b/lib/bb/__init__.py
@@ -24,8 +24,8 @@
 __version__ = "1.31.0"
 
 import sys
-if sys.version_info < (2, 7, 3):
-    raise RuntimeError("Sorry, python 2.7.3 or later is required for this version of bitbake")
+if sys.version_info < (3, 4, 0):
+    raise RuntimeError("Sorry, python 3.4.0 or later is required for this version of bitbake")
 
 
 class BBHandledException(Exception):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list