Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #17154

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

From Michael Kesper <michael@familie-kesper.de>
Newsgroups linux.debian.maint.python
Subject Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python
Date 2025-11-14 18:50 +0100
Message-ID <LR65P-cXx4-9@gated-at.bofh.it> (permalink)
References <LQlqi-crw1-1@gated-at.bofh.it> <LR5jr-cWWi-7@gated-at.bofh.it> <LR65P-cXx4-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 very gradual change, warning users in apt changes
> for several versions of python before pulling the rug maybe in Debian

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 using
#!/usr/bin/env python3

So please consider not changing the status quo at all, making life miserable for everyone using Python on Debian.

Best
Michael

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

/usr/bin/python3 deprecation and enforcing /usr/bin/python Antoine Beaupré <anarcat@debian.org> - 2025-11-12 17:00 +0100
  Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Santiago Vila <sanvila@debian.org> - 2025-11-12 17:20 +0100
    Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Matthias Klose <doko@debian.org> - 2025-11-12 18:40 +0100
      Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Santiago Vila <sanvila@debian.org> - 2025-11-12 19:00 +0100
  Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Jerome Kieffer <Jerome.Kieffer@esrf.fr> - 2025-11-12 18:10 +0100
  Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Jeremy Stanley <fungi@yuggoth.org> - 2025-11-12 18:30 +0100
    Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Matthias Klose <doko@debian.org> - 2025-11-12 18:50 +0100
  Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Andrey Rakhmatullin <wrar@debian.org> - 2025-11-13 17:30 +0100
    Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Alexandre Detiste <alexandre.detiste@gmail.com> - 2025-11-13 22:20 +0100
  Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Michael Kesper <michael@familie-kesper.de> - 2025-11-14 18:00 +0100
    Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Michael Kesper <michael@familie-kesper.de> - 2025-11-14 18:50 +0100
      Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Alexandru Mihail <alexandru.mihail2897@gmail.com> - 2025-11-14 20:10 +0100
  Re: /usr/bin/python3 deprecation and enforcing /usr/bin/python Stefano Rivera <stefanor@debian.org> - 2025-11-14 19:00 +0100

csiph-web