[U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions
Simon Glass
sjg at chromium.org
Mon Aug 4 12:40:26 CEST 2014
Hi Masahiro,
On 4 August 2014 04:23, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
>
> It was reported by Miao Yan that the kconfig-related Python scripts
> are not working on Python 2.4.
>
> Do we have any consensus in terms of Python version requirement?
>
> This series avoids using "with ... as ..." and "except ... as ..."
> statements. But "with ... as ..." is used everywhere in buildman,
> which means buildman requires at least Python 2.6.
>
> It is true we hope tools can work on broad range of versions,
> but it also means we have more restrictions when writing Python scripts.
>
> I have no idea which version we should expect at least.
> Your comments are welcome.
Since it's reasonably easy to do for Kconfig it seems worth doing. For
buildman I'm less sure, since it has been around for a year with no
complaints. I supposse people can install a back-ported python 2.6?
Let's see what Tom thinks.
Regards,
Simon
More information about the U-Boot
mailing list