Yes, they kinda have a point. Referring to latest python as python3 forever
is silly. Unfortunately we have all those users with legacy proprietary
python2 things, and they feel like they still 'own' python (without a
number).

I'd suggest you resend the patch with 'Upstream-Status: Denied [link to
upstream response]'.

Alex

On Wed, 16 Nov 2022 at 23:01, Sajal, Sakib <sakib.sa...@windriver.com>
wrote:

>
>
> ------------------------------
> *From:* Alexander Kanavin <alex.kana...@gmail.com>
> *Sent:* November 3, 2022 3:00 PM
> *To:* Sajal, Sakib <sakib.sa...@windriver.com>
> *Cc:* openembedded-core@lists.openembedded.org <
> openembedded-core@lists.openembedded.org>
> *Subject:* Re: [OE-core] [PATCH] blktrace: ask for python3 specifically
>
>
> On Thu, 3 Nov 2022 at 19:34, Sakib Sajal <sakib.sa...@windriver.com>
> wrote:
> >>
> >> python2 has been deprecated, use python3 instead
> >>
> >> +Upstream-Status: Inappropriate (OE-specific)
> >
> >This is not inappropriate, or oe-specific, please send the patch upstream
> first.
> >
> >Alex
>
> I have already sent a patch to upstream blktrace which was rejected:
> https://www.spinics.net/lists/linux-btrace/msg01364.html
>
> In summary, upstream maintainers see the following on their distro:
>
> axboe@m1max ~> which python
> /usr/bin/python
> axboe@m1max ~> /usr/bin/python --version
> Python 3.10.7
> axboe@m1max ~> env python
> Python 3.10.7 (main, Sep  8 2022, 14:34:29) [GCC 12.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >*>>*
>
> while on yocto:
> root@qemux86-64:~# which python
> root@qemux86-64:~# which python3
> /usr/bin/python3
> root@qemux86-64:~# /usr/bin/python3 --version
> Python 3.11.0
> root@qemux86-64:~# env python
> env: can't execute 'python': No such file or directory
> root@qemux86-64:~# env python3
> Python 3.11.0 (main, Oct 24 2022, 17:48:40) [GCC 12.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
>
> python symlink to python3 is not required by python development community
> and is a choice left for distributions to make. If you look at oe-core,
> most, if not all, packages are changing the shebang to python3:
> oe-core.git$ grep -r "env python3" | wc -l
> 166
>
> Regards,
> Sakib
> Re: [PATCH] bno_plot.py: Ask for python3 specifically &mdash; Linux Btrace
> <https://www.spinics.net/lists/linux-btrace/msg01364.html>
> Linux Btrace: Re: [PATCH] bno_plot.py: Ask for python3 specifically
> www.spinics.net
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#173407): 
https://lists.openembedded.org/g/openembedded-core/message/173407
Mute This Topic: https://lists.openembedded.org/mt/94790255/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to