All of lore.kernel.org
 help / color / mirror / Atom feed
* Python2 maintenance will expired
@ 2019-11-21  7:18 Junling Zheng
  2019-11-21  8:35 ` Richard Purdie
  0 siblings, 1 reply; 17+ messages in thread
From: Junling Zheng @ 2019-11-21  7:18 UTC (permalink / raw)
  To: poky, Richard Purdie; +Cc: Wang Nan

Hi, Richard

Python 2.7 will not be maintained past January 1, 2020 :(

Some codes in yocto/poky are not compatible with Python 3.

Does yocto/poky have any measures for this?

Thanks,

Junling



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Python2 maintenance will expired
  2019-11-21  7:18 Python2 maintenance will expired Junling Zheng
@ 2019-11-21  8:35 ` Richard Purdie
  2019-11-21 11:07   ` Alexander Kanavin
  2019-11-22 18:10   ` Armpit
  0 siblings, 2 replies; 17+ messages in thread
From: Richard Purdie @ 2019-11-21  8:35 UTC (permalink / raw)
  To: Junling Zheng, poky; +Cc: Wang Nan

Hi,

On Thu, 2019-11-21 at 15:18 +0800, Junling Zheng wrote:
> Python 2.7 will not be maintained past January 1, 2020 :(
> 
> Some codes in yocto/poky are not compatible with Python 3.
> 
> Does yocto/poky have any measures for this?

The project has been working hard to remove python2 dependencies where
we can and in OE-Core, on target usage has been removed and at build
time, u-boot is one of the main remaining pieces that still needs it.
Their next release should address that issue.

There is still a need for python2 in HOSTTOOLS but that is also being
looked at.

People with time to work on issues like this are in short supply so any
help in fixing the remaining issues would be much appreciated.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Python2 maintenance will expired
  2019-11-21  8:35 ` Richard Purdie
@ 2019-11-21 11:07   ` Alexander Kanavin
  2019-11-21 20:42     ` Tom Rini
  2019-11-22 18:12     ` Richard Purdie
  2019-11-22 18:10   ` Armpit
  1 sibling, 2 replies; 17+ messages in thread
From: Alexander Kanavin @ 2019-11-21 11:07 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Wang Nan, Poky Project

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> The project has been working hard to remove python2 dependencies where
> we can and in OE-Core, on target usage has been removed and at build
> time, u-boot is one of the main remaining pieces that still needs it.
> Their next release should address that issue.
>
> There is still a need for python2 in HOSTTOOLS but that is also being
> looked at.
>

I can confirm (from local testing) that as far as oe-core is concerned,
u-boot is actually the last piece, and after it's been moved to use py3,
py2 can be removed entirely, including a link in HOSTTOOLS, and native and
target recipes.

The situation in other layers, particularly meta-oe is less than optimal
though. Any help is appreciated.

Alex

[-- Attachment #2: Type: text/html, Size: 1168 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Python2 maintenance will expired
  2019-11-21 11:07   ` Alexander Kanavin
@ 2019-11-21 20:42     ` Tom Rini
  2019-11-21 20:47       ` akuster808
  2020-02-06  2:29       ` Junling Zheng
  2019-11-22 18:12     ` Richard Purdie
  1 sibling, 2 replies; 17+ messages in thread
From: Tom Rini @ 2019-11-21 20:42 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Wang Nan, Poky Project

[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]

On Thu, Nov 21, 2019 at 12:07:14PM +0100, Alexander Kanavin wrote:
> On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
> richard.purdie@linuxfoundation.org> wrote:
> 
> > The project has been working hard to remove python2 dependencies where
> > we can and in OE-Core, on target usage has been removed and at build
> > time, u-boot is one of the main remaining pieces that still needs it.
> > Their next release should address that issue.
> >
> > There is still a need for python2 in HOSTTOOLS but that is also being
> > looked at.
> >
> 
> I can confirm (from local testing) that as far as oe-core is concerned,
> u-boot is actually the last piece, and after it's been moved to use py3,
> py2 can be removed entirely, including a link in HOSTTOOLS, and native and
> target recipes.

And for the slightly wider audience, the v2020.01 release is scheduled for
release on January 6th and Alex has tested the current -rc within
oe-core to confirm we're all good with respect to just using Python 3
now.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Python2 maintenance will expired
  2019-11-21 20:42     ` Tom Rini
@ 2019-11-21 20:47       ` akuster808
  2019-11-22  4:30         ` [poky] " Junling Zheng
  2020-02-06  2:29       ` Junling Zheng
  1 sibling, 1 reply; 17+ messages in thread
From: akuster808 @ 2019-11-21 20:47 UTC (permalink / raw)
  To: Tom Rini, Alexander Kanavin; +Cc: Wang Nan, Poky Project


[-- Attachment #1.1.1: Type: text/plain, Size: 1189 bytes --]



On 11/21/19 12:42 PM, Tom Rini wrote:
> On Thu, Nov 21, 2019 at 12:07:14PM +0100, Alexander Kanavin wrote:
>> On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
>> richard.purdie@linuxfoundation.org> wrote:
>>
>>> The project has been working hard to remove python2 dependencies where
>>> we can and in OE-Core, on target usage has been removed and at build
>>> time, u-boot is one of the main remaining pieces that still needs it.
>>> Their next release should address that issue.
>>>
>>> There is still a need for python2 in HOSTTOOLS but that is also being
>>> looked at.
>>>
>> I can confirm (from local testing) that as far as oe-core is concerned,
>> u-boot is actually the last piece, and after it's been moved to use py3,
>> py2 can be removed entirely, including a link in HOSTTOOLS, and native and
>> target recipes.
> And for the slightly wider audience, the v2020.01 release is scheduled for
> release on January 6th and Alex has tested the current -rc within
> oe-core to confirm we're all good with respect to just using Python 3
> now.

There is a yocto bug tracking this:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13439

- armin

>
>


[-- Attachment #1.1.2: Type: text/html, Size: 2294 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-21 20:47       ` akuster808
@ 2019-11-22  4:30         ` Junling Zheng
  0 siblings, 0 replies; 17+ messages in thread
From: Junling Zheng @ 2019-11-22  4:30 UTC (permalink / raw)
  To: poky

Thank you, all guys

That sounds great, and I'm looking forward to it.

Thanks,

Junling

On 2019/11/22 4:47, akuster808 wrote:
> 
> 
> On 11/21/19 12:42 PM, Tom Rini wrote:
>> On Thu, Nov 21, 2019 at 12:07:14PM +0100, Alexander Kanavin wrote:
>>> On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
>>> richard.purdie@linuxfoundation.org> wrote:
>>>
>>>> The project has been working hard to remove python2 dependencies where
>>>> we can and in OE-Core, on target usage has been removed and at build
>>>> time, u-boot is one of the main remaining pieces that still needs it.
>>>> Their next release should address that issue.
>>>>
>>>> There is still a need for python2 in HOSTTOOLS but that is also being
>>>> looked at.
>>>>
>>> I can confirm (from local testing) that as far as oe-core is concerned,
>>> u-boot is actually the last piece, and after it's been moved to use py3,
>>> py2 can be removed entirely, including a link in HOSTTOOLS, and native and
>>> target recipes.
>> And for the slightly wider audience, the v2020.01 release is scheduled for
>> release on January 6th and Alex has tested the current -rc within
>> oe-core to confirm we're all good with respect to just using Python 3
>> now.
> 
> There is a yocto bug tracking this:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13439
> 
> - armin
> 
>>
>>
> 
> 
> 



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-21  8:35 ` Richard Purdie
  2019-11-21 11:07   ` Alexander Kanavin
@ 2019-11-22 18:10   ` Armpit
  2019-11-22 19:05     ` Alexander Kanavin
  1 sibling, 1 reply; 17+ messages in thread
From: Armpit @ 2019-11-22 18:10 UTC (permalink / raw)
  To: Richard Purdie, Junling Zheng, poky; +Cc: Wang Nan

[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]



On 11/21/19 12:35 AM, Richard Purdie wrote:
> Hi,
>
> On Thu, 2019-11-21 at 15:18 +0800, Junling Zheng wrote:
>> Python 2.7 will not be maintained past January 1, 2020 :(
>>
>> Some codes in yocto/poky are not compatible with Python 3.
>>
>> Does yocto/poky have any measures for this?
> The project has been working hard to remove python2 dependencies where
> we can and in OE-Core, on target usage has been removed and at build
> time, u-boot is one of the main remaining pieces that still needs it.
> Their next release should address that issue.
>
> There is still a need for python2 in HOSTTOOLS but that is also being
> looked at.
>
> People with time to work on issues like this are in short supply so any
> help in fixing the remaining issues would be much appreciated.

We have several defects open to track the Python2 issue within core.  We
could use help so please add yourself to a bug you are interested in
getting it resolved. Since this issue seems to be of interest to many
folks, now is your time to shine.

Remove python2 recipe from core:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13640

Remove python2 from HOSTTOOLS:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13641

python-native needs python2 on host:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13645

u-boot uses python2 :
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13439

Get rid of python2 runtime dependencies for all recipes in oe-core: Fixed
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13549

- Armin

>
> Cheers,
>
> Richard
>


[-- Attachment #2: Type: text/html, Size: 3508 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-21 11:07   ` Alexander Kanavin
  2019-11-21 20:42     ` Tom Rini
@ 2019-11-22 18:12     ` Richard Purdie
  2019-11-22 18:17       ` Khem Raj
  1 sibling, 1 reply; 17+ messages in thread
From: Richard Purdie @ 2019-11-22 18:12 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Junling Zheng, Poky Project, Wang Nan

On Thu, 2019-11-21 at 12:07 +0100, Alexander Kanavin wrote:
> On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
> richard.purdie@linuxfoundation.org> wrote:
> > The project has been working hard to remove python2 dependencies
> > where
> > we can and in OE-Core, on target usage has been removed and at
> > build
> > time, u-boot is one of the main remaining pieces that still needs
> > it.
> > Their next release should address that issue.
> > 
> > There is still a need for python2 in HOSTTOOLS but that is also
> > being
> > looked at.
> 
> I can confirm (from local testing) that as far as oe-core is
> concerned, u-boot is actually the last piece, and after it's been
> moved to use py3, py2 can be removed entirely, including a link in
> HOSTTOOLS, and native and target recipes.

FWIW I'm tempted to suggest we take a pre-release u-boot into OE-Core
for now until it does come out, letting us proceed with the rest of the
py2 rearrangement...

Cheers,

Richard




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-22 18:12     ` Richard Purdie
@ 2019-11-22 18:17       ` Khem Raj
  2019-11-22 18:31         ` Mark Hatle
  2019-11-22 18:35         ` Tom Rini
  0 siblings, 2 replies; 17+ messages in thread
From: Khem Raj @ 2019-11-22 18:17 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Alexander Kanavin, Junling Zheng, Poky Project, Wang Nan

On Fri, Nov 22, 2019 at 10:12 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Thu, 2019-11-21 at 12:07 +0100, Alexander Kanavin wrote:
> > On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
> > richard.purdie@linuxfoundation.org> wrote:
> > > The project has been working hard to remove python2 dependencies
> > > where
> > > we can and in OE-Core, on target usage has been removed and at
> > > build
> > > time, u-boot is one of the main remaining pieces that still needs
> > > it.
> > > Their next release should address that issue.
> > >
> > > There is still a need for python2 in HOSTTOOLS but that is also
> > > being
> > > looked at.
> >
> > I can confirm (from local testing) that as far as oe-core is
> > concerned, u-boot is actually the last piece, and after it's been
> > moved to use py3, py2 can be removed entirely, including a link in
> > HOSTTOOLS, and native and target recipes.
>
> FWIW I'm tempted to suggest we take a pre-release u-boot into OE-Core
> for now until it does come out, letting us proceed with the rest of the
> py2 rearrangement...
>

this should be fine, I think, downside is we might have to ship it if
u-boot upstream does not release in time for spring release but
chances of that happening are low

> Cheers,
>
> Richard
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#11824): https://lists.yoctoproject.org/g/poky/message/11824
> Mute This Topic: https://lists.yoctoproject.org/mt/61302503/1997914
> Group Owner: poky+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub  [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-22 18:17       ` Khem Raj
@ 2019-11-22 18:31         ` Mark Hatle
  2019-11-24 10:29           ` Peter Kjellerstedt
  2019-11-22 18:35         ` Tom Rini
  1 sibling, 1 reply; 17+ messages in thread
From: Mark Hatle @ 2019-11-22 18:31 UTC (permalink / raw)
  To: Khem Raj, Richard Purdie
  Cc: Alexander Kanavin, Junling Zheng, Poky Project, Wang Nan



On 11/22/19 12:17 PM, Khem Raj wrote:
> On Fri, Nov 22, 2019 at 10:12 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>>
>> On Thu, 2019-11-21 at 12:07 +0100, Alexander Kanavin wrote:
>>> On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
>>> richard.purdie@linuxfoundation.org> wrote:
>>>> The project has been working hard to remove python2 dependencies
>>>> where
>>>> we can and in OE-Core, on target usage has been removed and at
>>>> build
>>>> time, u-boot is one of the main remaining pieces that still needs
>>>> it.
>>>> Their next release should address that issue.
>>>>
>>>> There is still a need for python2 in HOSTTOOLS but that is also
>>>> being
>>>> looked at.
>>>
>>> I can confirm (from local testing) that as far as oe-core is
>>> concerned, u-boot is actually the last piece, and after it's been
>>> moved to use py3, py2 can be removed entirely, including a link in
>>> HOSTTOOLS, and native and target recipes.
>>
>> FWIW I'm tempted to suggest we take a pre-release u-boot into OE-Core
>> for now until it does come out, letting us proceed with the rest of the
>> py2 rearrangement...
>>
> 
> this should be fine, I think, downside is we might have to ship it if
> u-boot upstream does not release in time for spring release but
> chances of that happening are low

I think that is a good idea.. When I looked back in August there were still
support scripts that appeared to be python2.  Also I think other layers
(meta-openembedded) had a bunch of python2 uses in them.

I'm wondering if there needs to be a way to poison 'python' and 'python2'
executables to find these.

--Mark

>> Cheers,
>>
>> Richard
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>>
>> View/Reply Online (#11824): https://lists.yoctoproject.org/g/poky/message/11824
>> Mute This Topic: https://lists.yoctoproject.org/mt/61302503/1997914
>> Group Owner: poky+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub  [raj.khem@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>>
>> View/Reply Online (#11825): https://lists.yoctoproject.org/g/poky/message/11825
>> Mute This Topic: https://lists.yoctoproject.org/mt/61302503/3616948
>> Group Owner: poky+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub  [mark.hatle@kernel.crashing.org]
>> -=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-22 18:17       ` Khem Raj
  2019-11-22 18:31         ` Mark Hatle
@ 2019-11-22 18:35         ` Tom Rini
  1 sibling, 0 replies; 17+ messages in thread
From: Tom Rini @ 2019-11-22 18:35 UTC (permalink / raw)
  To: Khem Raj
  Cc: Richard Purdie, Alexander Kanavin, Junling Zheng, Poky Project, Wang Nan

[-- Attachment #1: Type: text/plain, Size: 1625 bytes --]

On Fri, Nov 22, 2019 at 10:17:03AM -0800, Khem Raj wrote:
> On Fri, Nov 22, 2019 at 10:12 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> >
> > On Thu, 2019-11-21 at 12:07 +0100, Alexander Kanavin wrote:
> > > On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
> > > richard.purdie@linuxfoundation.org> wrote:
> > > > The project has been working hard to remove python2 dependencies
> > > > where
> > > > we can and in OE-Core, on target usage has been removed and at
> > > > build
> > > > time, u-boot is one of the main remaining pieces that still needs
> > > > it.
> > > > Their next release should address that issue.
> > > >
> > > > There is still a need for python2 in HOSTTOOLS but that is also
> > > > being
> > > > looked at.
> > >
> > > I can confirm (from local testing) that as far as oe-core is
> > > concerned, u-boot is actually the last piece, and after it's been
> > > moved to use py3, py2 can be removed entirely, including a link in
> > > HOSTTOOLS, and native and target recipes.
> >
> > FWIW I'm tempted to suggest we take a pre-release u-boot into OE-Core
> > for now until it does come out, letting us proceed with the rest of the
> > py2 rearrangement...
> 
> this should be fine, I think, downside is we might have to ship it if
> u-boot upstream does not release in time for spring release but
> chances of that happening are low

Impossibly low.  It's scheduled for January 6th and I can't imagine what
would cause us to be so late as to miss the April release date.  It's
not like I'm suggesting v2020.04 which would be a tight fit :)

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-22 18:10   ` Armpit
@ 2019-11-22 19:05     ` Alexander Kanavin
  2019-11-22 19:19       ` Khem Raj
  0 siblings, 1 reply; 17+ messages in thread
From: Alexander Kanavin @ 2019-11-22 19:05 UTC (permalink / raw)
  To: Armpit; +Cc: Richard Purdie, Junling Zheng, Poky Project, Wang Nan

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

On Fri, 22 Nov 2019 at 19:11, Armpit <akuster808@gmail.com> wrote:

>
> We have several defects open to track the Python2 issue within core.  We
> could use help so please add yourself to a bug you are interested in
> getting it resolved. Since this issue seems to be of interest to many
> folks, now is your time to shine.
>
> Remove python2 recipe from core:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13640
>
> Remove python2 from HOSTTOOLS:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13641
>
> python-native needs python2 on host:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13645
>
> u-boot uses python2 :
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13439
>

All three are addressed here:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/drop-python2
I'll polish this up a bit, and send the patches in.

TBH, the state of meta-oe should be much more concerning at this point,
py2-less oe-core is pretty much done and dusted.

Alex

[-- Attachment #2: Type: text/html, Size: 2562 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-22 19:05     ` Alexander Kanavin
@ 2019-11-22 19:19       ` Khem Raj
  0 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-11-22 19:19 UTC (permalink / raw)
  To: Alexander Kanavin
  Cc: Armpit, Junling Zheng, Poky Project, Richard Purdie, Wang Nan

[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]

On Fri, Nov 22, 2019 at 11:05 AM Alexander Kanavin <alex.kanavin@gmail.com>
wrote:

> On Fri, 22 Nov 2019 at 19:11, Armpit <akuster808@gmail.com> wrote:
>
>>
>> We have several defects open to track the Python2 issue within core.  We
>> could use help so please add yourself to a bug you are interested in
>> getting it resolved. Since this issue seems to be of interest to many
>> folks, now is your time to shine.
>>
>> Remove python2 recipe from core:
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13640
>>
>> Remove python2 from HOSTTOOLS:
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13641
>>
>> python-native needs python2 on host:
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13645
>>
>> u-boot uses python2 :
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13439
>>
>
> All three are addressed here:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/drop-python2
> I'll polish this up a bit, and send the patches in.
>
> TBH, the state of meta-oe should be much more concerning at this point,
> py2-less oe-core is pretty much done and dusted.
>

I would think contributors will chime in with the packages they care for
and larger distros are also dropping this so there will be help for porters

If we push for removal early in cycle we might get meta-oe in reasonable
shape the end of dev cycle for this release



> Alex
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#11829):
> https://lists.yoctoproject.org/g/poky/message/11829
> Mute This Topic: https://lists.yoctoproject.org/mt/61302503/1997914
> Group Owner: poky+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub  [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

[-- Attachment #2: Type: text/html, Size: 4543 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-22 18:31         ` Mark Hatle
@ 2019-11-24 10:29           ` Peter Kjellerstedt
  2019-11-25 10:55             ` Ross Burton
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Kjellerstedt @ 2019-11-24 10:29 UTC (permalink / raw)
  To: Mark Hatle, Khem Raj, Richard Purdie
  Cc: Peter Kjellerstedt, Alexander Kanavin, Junling Zheng,
	Poky Project, Wang Nan

[-- Attachment #1: Type: text/plain, Size: 3273 bytes --]

It should be trivial to poison python, at least for scripts that use #!/usr/bin/env python. Just add a python wrapper in the scripts directory. (We have done this for pkg-config to find recipes that lack inherit pkg-config.) What to do about scripts that use #!/usr/bin/python, I do not know...

//Peter


-------- Originalmeddelande --------
Från: Mark Hatle <mark.hatle@kernel.crashing.org>
Datum: 2019-11-22 19:37 (GMT+01:00)
Till: Khem Raj <raj.khem@gmail.com>, Richard Purdie <richard.purdie@linuxfoundation.org>
Kopia: Alexander Kanavin <alex.kanavin@gmail.com>, Junling Zheng <zhengjunling@huawei.com>, Poky Project <poky@yoctoproject.org>, Wang Nan <wangnan0@huawei.com>
Ämne: Re: [poky] Python2 maintenance will expired



On 11/22/19 12:17 PM, Khem Raj wrote:
> On Fri, Nov 22, 2019 at 10:12 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>>
>> On Thu, 2019-11-21 at 12:07 +0100, Alexander Kanavin wrote:
>>> On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
>>> richard.purdie@linuxfoundation.org> wrote:
>>>> The project has been working hard to remove python2 dependencies
>>>> where
>>>> we can and in OE-Core, on target usage has been removed and at
>>>> build
>>>> time, u-boot is one of the main remaining pieces that still needs
>>>> it.
>>>> Their next release should address that issue.
>>>>
>>>> There is still a need for python2 in HOSTTOOLS but that is also
>>>> being
>>>> looked at.
>>>
>>> I can confirm (from local testing) that as far as oe-core is
>>> concerned, u-boot is actually the last piece, and after it's been
>>> moved to use py3, py2 can be removed entirely, including a link in
>>> HOSTTOOLS, and native and target recipes.
>>
>> FWIW I'm tempted to suggest we take a pre-release u-boot into OE-Core
>> for now until it does come out, letting us proceed with the rest of the
>> py2 rearrangement...
>>
>
> this should be fine, I think, downside is we might have to ship it if
> u-boot upstream does not release in time for spring release but
> chances of that happening are low

I think that is a good idea.. When I looked back in August there were still
support scripts that appeared to be python2.  Also I think other layers
(meta-openembedded) had a bunch of python2 uses in them.

I'm wondering if there needs to be a way to poison 'python' and 'python2'
executables to find these.

--Mark

>> Cheers,
>>
>> Richard
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>>
>> View/Reply Online (#11824): https://lists.yoctoproject.org/g/poky/message/11824
>> Mute This Topic: https://lists.yoctoproject.org/mt/61302503/1997914
>> Group Owner: poky+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub  [raj.khem@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>>
>> View/Reply Online (#11825): https://lists.yoctoproject.org/g/poky/message/11825
>> Mute This Topic: https://lists.yoctoproject.org/mt/61302503/3616948
>> Group Owner: poky+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub  [mark.hatle@kernel.crashing.org]
>> -=-=-=-=-=-=-=-=-=-=-=-

[-- Attachment #2: Type: text/html, Size: 5024 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-24 10:29           ` Peter Kjellerstedt
@ 2019-11-25 10:55             ` Ross Burton
  0 siblings, 0 replies; 17+ messages in thread
From: Ross Burton @ 2019-11-25 10:55 UTC (permalink / raw)
  To: poky

On 24/11/2019 10:29, Peter Kjellerstedt wrote:
> It should be trivial to poison python, at least for scripts that use 
> #!/usr/bin/env python. Just add a python wrapper in the scripts 
> directory. (We have done this for pkg-config to find recipes that lack 
> inherit pkg-config.) What to do about scripts that use 
> #!/usr/bin/python, I do not know...

Last week I built oe-core core-image-sato in a container with no Python2 
installed at all.  u-boot was the only failure.

Ross

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2019-11-21 20:42     ` Tom Rini
  2019-11-21 20:47       ` akuster808
@ 2020-02-06  2:29       ` Junling Zheng
  2020-02-06  2:40         ` Tom Rini
  1 sibling, 1 reply; 17+ messages in thread
From: Junling Zheng @ 2020-02-06  2:29 UTC (permalink / raw)
  To: Tom Rini, Alexander Kanavin; +Cc: Wang Nan, Poky Project

On 2019/11/22 4:42, Tom Rini wrote:
> On Thu, Nov 21, 2019 at 12:07:14PM +0100, Alexander Kanavin wrote:
>> On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
>> richard.purdie@linuxfoundation.org> wrote:
>>
>>> The project has been working hard to remove python2 dependencies where
>>> we can and in OE-Core, on target usage has been removed and at build
>>> time, u-boot is one of the main remaining pieces that still needs it.
>>> Their next release should address that issue.
>>>
>>> There is still a need for python2 in HOSTTOOLS but that is also being
>>> looked at.
>>>
>>
>> I can confirm (from local testing) that as far as oe-core is concerned,
>> u-boot is actually the last piece, and after it's been moved to use py3,
>> py2 can be removed entirely, including a link in HOSTTOOLS, and native and
>> target recipes.
> 
> And for the slightly wider audience, the v2020.01 release is scheduled for
> release on January 6th and Alex has tested the current -rc within
> oe-core to confirm we're all good with respect to just using Python 3
> now.
> 

Hi,

Is the "v2020.01" released? And, what's the name of this release?

Thanks
Junling

>>


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [poky] Python2 maintenance will expired
  2020-02-06  2:29       ` Junling Zheng
@ 2020-02-06  2:40         ` Tom Rini
  0 siblings, 0 replies; 17+ messages in thread
From: Tom Rini @ 2020-02-06  2:40 UTC (permalink / raw)
  To: Junling Zheng; +Cc: Alexander Kanavin, Wang Nan, Poky Project

[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]

On Thu, Feb 06, 2020 at 10:29:30AM +0800, Junling Zheng wrote:
> On 2019/11/22 4:42, Tom Rini wrote:
> > On Thu, Nov 21, 2019 at 12:07:14PM +0100, Alexander Kanavin wrote:
> >> On Thu, 21 Nov 2019 at 09:39, Richard Purdie <
> >> richard.purdie@linuxfoundation.org> wrote:
> >>
> >>> The project has been working hard to remove python2 dependencies where
> >>> we can and in OE-Core, on target usage has been removed and at build
> >>> time, u-boot is one of the main remaining pieces that still needs it.
> >>> Their next release should address that issue.
> >>>
> >>> There is still a need for python2 in HOSTTOOLS but that is also being
> >>> looked at.
> >>>
> >>
> >> I can confirm (from local testing) that as far as oe-core is concerned,
> >> u-boot is actually the last piece, and after it's been moved to use py3,
> >> py2 can be removed entirely, including a link in HOSTTOOLS, and native and
> >> target recipes.
> > 
> > And for the slightly wider audience, the v2020.01 release is scheduled for
> > release on January 6th and Alex has tested the current -rc within
> > oe-core to confirm we're all good with respect to just using Python 3
> > now.
> > 
> 
> Hi,
> 
> Is the "v2020.01" released? And, what's the name of this release?

Yes, v2020.01 U-Boot was released back on January 6th, 2020.  There is
no codename for it.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-02-06  2:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21  7:18 Python2 maintenance will expired Junling Zheng
2019-11-21  8:35 ` Richard Purdie
2019-11-21 11:07   ` Alexander Kanavin
2019-11-21 20:42     ` Tom Rini
2019-11-21 20:47       ` akuster808
2019-11-22  4:30         ` [poky] " Junling Zheng
2020-02-06  2:29       ` Junling Zheng
2020-02-06  2:40         ` Tom Rini
2019-11-22 18:12     ` Richard Purdie
2019-11-22 18:17       ` Khem Raj
2019-11-22 18:31         ` Mark Hatle
2019-11-24 10:29           ` Peter Kjellerstedt
2019-11-25 10:55             ` Ross Burton
2019-11-22 18:35         ` Tom Rini
2019-11-22 18:10   ` Armpit
2019-11-22 19:05     ` Alexander Kanavin
2019-11-22 19:19       ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.