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

Adrian Bunk bunk at stusta.de
Mon Nov 18 22:06:13 UTC 2019


On Mon, Nov 18, 2019 at 01:39:48PM -0800, Khem Raj wrote:
> On Mon, Nov 18, 2019 at 1:05 PM Adrian Bunk <bunk at stusta.de> wrote:
> > 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.
> 
> And why should OE ship something that’s dropped by its own upstream and
> other distributions

All I am saying is that relying on the host Python2 is a non-option.

If any layer needs a native Python2, this has to be shipped either in 
this layer or in a layer it depends on.

cu
Adrian


More information about the Openembedded-core mailing list