Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-23 Thread Ross Burton
> On 23 Nov 2022, at 16:34, Khem Raj via lists.openembedded.org > wrote: > > If >> /usr/bin/python is available by default, as it is already on Fedora, > > There perhaps is a reason for that in Fedora, but it is in conflict > with what PEP0384 is saying It’s not in conflict: the PEP codifies

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-23 Thread Khem Raj
On Wed, Nov 23, 2022 at 2:55 AM Alexander Kanavin wrote: > > On Wed, 23 Nov 2022 at 10:59, Ross Burton wrote: > > > The serious need is that we need to patch all the scripts that ask for > > > python to add a 3 to it. And there will be more of these going forward, > > > not less. I’d rather jus

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-23 Thread Alexander Kanavin
On Wed, 23 Nov 2022 at 10:59, Ross Burton wrote: > > The serious need is that we need to patch all the scripts that ask for > > python to add a 3 to it. And there will be more of these going forward, not > > less. I’d rather just always have python available. Not a problem worth > > deliberatin

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-23 Thread Ross Burton
On 22 Nov 2022, at 18:32, Alexander Kanavin via lists.openembedded.org wrote: > While this might be 'too soon' to conclude that python2 is truly dead, > maybe a year (or two, or three) from now it won't be. Fedora has > already made the switch, Debian will follow, and honestly, I just > can't mus

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-23 Thread Ross Burton
On 22 Nov 2022, at 18:03, Alexander Kanavin wrote: > > The serious need is that we need to patch all the scripts that ask for python > to add a 3 to it. And there will be more of these going forward, not less. > I’d rather just always have python available. Not a problem worth > deliberating o

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-22 Thread Peter Kjellerstedt
; Khem Raj ; Markus Volk > ; openembedded-core@lists.openembedded.org > Subject: Re: [oe-core][PATCH] python3: add ${bindir}/python symlink > > On 22/11/2022 19:32:17+0100, Alexander Kanavin wrote: > > On Tue, 22 Nov 2022 at 19:14, Richard Purdie > > wrote: > > > Rightly or

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-22 Thread Alexandre Belloni via lists.openembedded.org
On 22/11/2022 19:32:17+0100, Alexander Kanavin wrote: > On Tue, 22 Nov 2022 at 19:14, Richard Purdie > wrote: > > Rightly or wrongly, this patch will cause large amounts of pain for > > some portion of our userbase and I'm not sure we have enough > > justification to do that. That pain wouldn't li

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-22 Thread Alexander Kanavin
On Tue, 22 Nov 2022 at 19:14, Richard Purdie wrote: > Rightly or wrongly, this patch will cause large amounts of pain for > some portion of our userbase and I'm not sure we have enough > justification to do that. That pain wouldn't likely be realised for > some time either :/. I have to point out

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-22 Thread Richard Purdie
On Tue, 2022-11-22 at 19:03 +0100, Alexander Kanavin wrote: > The serious need is that we need to patch all the scripts that ask > for python to add a 3 to it. And there will be more of these going > forward, not less. I’d rather just always have python available. Not > a problem worth deliberating

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-22 Thread Markus Volk
I use a bbappend for python3 in meta-wayland for almost a year now because i had issues installing python scripts with /usr/bin/python shebang e.g. here in sway: Issue has been that, if adding this script to d

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-22 Thread Alexander Kanavin
The serious need is that we need to patch all the scripts that ask for python to add a 3 to it. And there will be more of these going forward, not less. I’d rather just always have python available. Not a problem worth deliberating over to be honest. Alex On Tue 22. Nov 2022 at 18.41, Ross Burton

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-22 Thread Ross Burton
On 22 Nov 2022, at 04:42, Markus Volk via lists.openembedded.org wrote: > On Mon, Nov 21 2022 at 06:48:07 PM +0100, Alexander Kanavin > wrote: >> On my Debian systems, indeed, /usr/bin/python is absent. > > Debian has a package for this > https://packages.debian.org/bookworm/python-is-python3

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-21 Thread Markus Volk
On Mon, Nov 21 2022 at 06:48:07 PM +0100, Alexander Kanavin wrote: On my Debian systems, indeed, /usr/bin/python is absent. Debian has a package for this -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-21 Thread Alexander Kanavin
And here's debian: https://wiki.debian.org/Python/FAQ#Python_2_support On my Debian systems, indeed, /usr/bin/python is absent. Alex On Mon, 21 Nov 2022 at 18:18, Alexander Kanavin via lists.openembedded.org wrote: > > On Mon, 21 Nov 2022 at 16:17, Khem Raj wrote: > >> Python community has no

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-21 Thread Alexander Kanavin
On Mon, 21 Nov 2022 at 16:17, Khem Raj wrote: >> Python community has no plans for python4 whatsoever. Anything but gentle >> and steady evolution won’t be well received. >> >> https://www.techrepublic.com/article/programming-languages-why-python-4-0-will-probably-never-arrive-according-to-its-cr

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-21 Thread Khem Raj
On Sun, Nov 20, 2022 at 3:56 PM Alexander Kanavin wrote: > Python community has no plans for python4 whatsoever. Anything but gentle > and steady evolution won’t be well received. > > > https://www.techrepublic.com/article/programming-languages-why-python-4-0-will-probably-never-arrive-according-

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-20 Thread Alexander Kanavin
Python community has no plans for python4 whatsoever. Anything but gentle and steady evolution won’t be well received. https://www.techrepublic.com/article/programming-languages-why-python-4-0-will-probably-never-arrive-according-to-its-creator/ Alex On Mon 21. Nov 2022 at 0.17, Khem Raj wrote

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-20 Thread Khem Raj
On Sun, Nov 20, 2022 at 9:52 AM Markus Volk wrote: > Currently /usr/bin/python is provided by the python2 package. If python2 > is not installed, the built image lacks a provider for it. > This results in failed scripts when using '/usr/bin/python' shebang. > > This patch adds a /usr/bin/python s

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-20 Thread Markus Volk
Am So, 20. Nov 2022 um 19:00:39 +0100 schrieb Alexander Kanavin : I have to ask you to resend and drop the DISTRO_FEATURE idea. We do not want to make the impression that python2 is supported in any way, and as explained earlier this implies that all scripts that ask for python would work with bo

Re: [oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-20 Thread Alexander Kanavin
I have to ask you to resend and drop the DISTRO_FEATURE idea. We do not want to make the impression that python2 is supported in any way, and as explained earlier this implies that all scripts that ask for python would work with both 2 and 3. No, this is a clean break, and anyone who still has 2.x

[oe-core][PATCH] python3: add ${bindir}/python symlink

2022-11-20 Thread Markus Volk
Currently /usr/bin/python is provided by the python2 package. If python2 is not installed, the built image lacks a provider for it. This results in failed scripts when using '/usr/bin/python' shebang. This patch adds a /usr/bin/python symlink for python3 to fix this issue. For images containing py