From: "Peter Kjellerstedt" <peter.kjellerstedt@axis.com>
To: Mark Hatle <mark.hatle@kernel.crashing.org>,
Khem Raj <raj.khem@gmail.com>,
Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>,
Alexander Kanavin <alex.kanavin@gmail.com>,
Junling Zheng <zhengjunling@huawei.com>,
"Poky Project" <poky@yoctoproject.org>,
Wang Nan <wangnan0@huawei.com>
Subject: Re: [poky] Python2 maintenance will expired
Date: Sun, 24 Nov 2019 10:29:55 +0000 [thread overview]
Message-ID: <4253d01e54d64e018693cd878f7ea730@XBOX03.axis.com> (raw)
In-Reply-To: <dcc537c3-0723-8cda-adf8-36144b280b4e@kernel.crashing.org>
[-- 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 --]
next prev parent reply other threads:[~2019-11-24 10:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4253d01e54d64e018693cd878f7ea730@XBOX03.axis.com \
--to=peter.kjellerstedt@axis.com \
--cc=alex.kanavin@gmail.com \
--cc=mark.hatle@kernel.crashing.org \
--cc=poky@yoctoproject.org \
--cc=raj.khem@gmail.com \
--cc=richard.purdie@linuxfoundation.org \
--cc=wangnan0@huawei.com \
--cc=zhengjunling@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.