[OE-core] [PATCH 01/13] python: update to 2.7.17

Adrian Bunk bunk at stusta.de
Mon Nov 18 21:05:00 UTC 2019


On Mon, Nov 18, 2019 at 10:13:05AM -0800, Khem Raj wrote:
> On Mon, Nov 18, 2019 at 5:08 AM Alexander Kanavin
> <alex.kanavin at gmail.com> wrote:
> >
> > Drop backports, rebase a couple of patches.
> >
> > This is the second last release of py 2.x; upstream support ends on
> > 1 January 2020, there will be one final 2.x afterwards.
> >
> > Note that the only thing that still needs python 2.x in oe-core is
> > u-boot; when the next u-boot update arrives, we should find out
> > where the py3 migration is for that component before merging the
> > update.
> 
> I guess u-boot need it during build, in that case defer it to user to
> have python2 on build host
> could be possible.
>...

That's a non-option since it could mean
"Yocto 3.1 cannot be built on Ubuntu 20.04".

Ubuntu 20.04 might end up still shipping Python2,[1]
but you cannot rely on future distributions shipping it.

cu
Adrian

[1] it is not clear whether the Python2 removal in Ubuntu
    will be finished in time for 20.04


More information about the Openembedded-core mailing list