[bitbake-devel] [PATCH] bitbake: Bump minimum python version to 2.7.3

Alex Damian alex.r.damian at gmail.com
Mon Jun 10 11:14:17 UTC 2013


On 06/07/2013 06:14 PM, Richard Purdie wrote:
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
> index 3110c85..64491ff 100644
> --- a/bitbake/lib/bb/__init__.py
> +++ b/bitbake/lib/bb/__init__.py
> @@ -24,8 +24,8 @@
>   __version__ = "1.19.1"
>   
>   import sys
> -if sys.version_info < (2, 6, 0):
> -    raise RuntimeError("Sorry, python 2.6.0 or later is required for this version of bitbake")
> +if sys.version_info < (2, 7, 3):
> +    raise RuntimeError("Sorry, python 2.7.3 or later is required for this version of bitbake")

When this gets in, a bunch of messy code from xmlrpc will have to 
finally get its final rest.

Alex
>   
>   
>   class BBHandledException(Exception):
>
>
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel




More information about the bitbake-devel mailing list