Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-14 Thread Alexandru Mihail
Yeah, Michael I think you're right. In hindsight I agree with your stance. > > I question the whole move as such. > No gradual change can fix a broken move. > Have a look at e.g. > https://docs.python.org/3/tutorial/interpreter.html#source-code-encoding > That's just one example of official docs

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-14 Thread Stefano Rivera
Hi Antoine (2025.11.12_15:49:08_+) I've been wondering whether it's time we finally make this change. Concretely, I think it means: 1. deprecating /usr/bin/python3 2. shipping Python 3 as /usr/bin/python directly I think we should do this for Debian 14 (forky), and stop shipping python3 alt

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-14 Thread Michael Kesper
Hi Alexandru, hi all, On 14.11.25 18:11, Alexandru Mihail wrote: Exactly what I was saying before in this thread as well. The amount of scripts with the #!/usr/bin/python3 shebang in the wild is staggering. I'm not saying that it's good practice but it must be considered. Maybe we could do a ve

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-14 Thread Alexandru Mihail
Exactly what I was saying before in this thread as well. The amount of scripts with the #!/usr/bin/python3 shebang in the wild is staggering. I'm not saying that it's good practice but it must be considered. Maybe we could do a very gradual change, warning users in apt changes for several versions

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-14 Thread Michael Kesper
Hi all, On 12.11.25 16:49, Antoine Beaupré wrote: I've been wondering whether it's time we finally make this change. Concretely, I think it means: 1. deprecating /usr/bin/python3 2. shipping Python 3 as /usr/bin/python directly What would be a motivation to warrant such a breaking change?

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-13 Thread Alexandre Detiste
And using those when they are there For example moving usage of /usr/bin/py.test + /usr/bin/py.test-3 + /usr/bin/pytest-3 to /usr/bin/pytest Sometimes it's juste dropping a patch that did it the other way around years before. Greetings Le jeu. 13 nov. 2025 à 17:21, Andrey Rakhmatulli

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-13 Thread Andrey Rakhmatullin
Related, is it time to reintroduce executables without a "3" suffix (things like ipython)? -- WBR, wRAR signature.asc Description: PGP signature

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-12 Thread Alexandru Mihail
I also object to /usr/bin/python3 deprecation. The astonishing amount of scripts, random utils and stuff I saw running on Debian in the wild (random open source projects, libraries, corporate scripts, etc) is unlikely to change very fast. In fact, it was considered good practice to shebang /usr/

RE: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-12 Thread Thomas Ward
python as python3'. Thomas Sent from my T-Mobile 5G Device Original message From: Jerome Kieffer Date: 11/12/25 12:01 (GMT-05:00) To: [email protected] Subject: Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Hi, I am against deprecating

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-12 Thread Santiago Vila
On Wed, Nov 12, 2025 at 06:33:45PM +0100, Matthias Klose wrote: > On 11/12/25 17:13, Santiago Vila wrote: > > On Wed, Nov 12, 2025 at 10:49:08AM -0500, Antoine Beaupré wrote: > > > > > I think we should do this for Debian 14 (forky), and stop shipping > > > python3 altogether in Debian 15 (?). > >

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-12 Thread Matthias Klose
On 11/12/25 17:39, Jeremy Stanley wrote: On 2025-11-12 10:49:08 -0500 (-0500), Antoine Beaupré wrote: [...] I've been wondering whether it's time we finally make this change. Concretely, I think it means: 1. deprecating /usr/bin/python3 2. shipping Python 3 as /usr/bin/python directly I think

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-12 Thread Matthias Klose
On 11/12/25 17:13, Santiago Vila wrote: On Wed, Nov 12, 2025 at 10:49:08AM -0500, Antoine Beaupré wrote: I think we should do this for Debian 14 (forky), and stop shipping python3 altogether in Debian 15 (?). Thoughts? If possible, please make the transition to be smooth (i.e. not another gc

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-12 Thread Jeremy Stanley
On 2025-11-12 10:49:08 -0500 (-0500), Antoine Beaupré wrote: [...] I've been wondering whether it's time we finally make this change. Concretely, I think it means: 1. deprecating /usr/bin/python3 2. shipping Python 3 as /usr/bin/python directly I think we should do this for Debian 14 (forky),

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-12 Thread Jerome Kieffer
Hi, I am against deprecating python3 ... it is used a bit everywhere and every `venv` provides both python and python3. What will occur when python4 arrives ? Cheers, Jerome On Wed, 12 Nov 2025 10:49:08 -0500 Antoine Beaupré wrote: > Hi! > > Debian has shipped Python 3 as /usr/bin/python3 fo

Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-12 Thread Santiago Vila
On Wed, Nov 12, 2025 at 10:49:08AM -0500, Antoine Beaupré wrote: > I think we should do this for Debian 14 (forky), and stop shipping > python3 altogether in Debian 15 (?). > > Thoughts? If possible, please make the transition to be smooth (i.e. not another gcc-15 or CMake 4). Thanks.

/usr/bin/python3 deprecation and enforcing /usr/bin/python

2025-11-12 Thread Antoine Beaupré
Hi! Debian has shipped Python 3 as /usr/bin/python3 for a while now. For some time, we've also shipped a python-is-python3 package that ships a symlink from /usr/bin/python to /usr/bin/python as well, but it's not installed by default. I'm assuming that most distributions outside of Debian, at th