[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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


Reply to: