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

Khem Raj raj.khem at gmail.com
Mon Nov 18 23:26:56 UTC 2019


On Mon, Nov 18, 2019 at 2:55 PM Adrian Bunk <bunk at stusta.de> wrote:
>
> On Mon, Nov 18, 2019 at 02:16:30PM -0800, Khem Raj wrote:
> > On Mon, Nov 18, 2019 at 2:06 PM Adrian Bunk <bunk at stusta.de> wrote:
> >
> > > 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.
> >
> >
> > We should explore disabling python support in uboot if it does not move to
> > py3 perhaps there is a way like that having a single recipe require py2 is
> > a bit too much
>
> In u-boot build scripts are using Python2.
>
> But this is being fixed upstream, so realistically in Yocto 3.1
> Python2 can move to meta-oe.

No I do not want it in meta-oe, whoever needs it, should step up to
maintain it and start a new layer
much like meta-qt4

>
> cu
> Adrian


More information about the Openembedded-core mailing list