From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 7f0a252f216 1/2: Prefer python3 for python-interpreter
Date: Sun, 29 Sep 2024 19:37:24 +0300 [thread overview]
Message-ID: <865xqe4drv.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkm=V_3rUeB+ueOUMQCPFMkpvN8LrJ8kJ0SWvtQ+ajioPHA@mail.gmail.com> (message from Stefan Kangas on Sun, 29 Sep 2024 09:05:29 -0700)
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Sun, 29 Sep 2024 09:05:29 -0700
> Cc: emacs-devel@gnu.org
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> There is no "python" binary or symlink by default on Debian, Ubuntu,
> >> Fedora, etc.
> >
> > There is a "python" (a symlink) on Trisquel, and I think someone else
> > said here the same about another variety (Arch?).
>
> > And I see at least one Fedora system, where "python" _is_ available
> > (and is a symlink).
>
> Maybe I confused Fedora with CentOS. In any case, systems where
> "python" is a symlink should have no problem with this change.
Yes, they will: we now force them to use Python 3.x, even if they
point the 'python' symlink to Python 2.x.
> (Arch removed Python 2 from their archive in 2022, FWIW. It's possible
> that they symlink "python" to "python3"; I don't know.)
What happens when there's Python 4.x? will we change the value again?
> >> the commands `python-sort-imports', `python-add-import',
> >> `python-remove-import', and `python-fix-imports' have been broken by
> >> default. That is now fixed.
> >
> > We had the previous value for a long time, and I don't recollect any
> > complaints. So calling this "broken" is too far-reaching.
>
> Well, I'm telling you that it doesn't work. For example, `M-x
> python-sort-imports' on Ubuntu 22 gives:
>
> Debugger entered--Lisp error: (file-missing "Searching for program"
> "No such file or directory" "python")
I'm not saying we should necessarily go back to a single fixed value.
But we could, for example, test "python" before "python3". That
should solve the above case.
> > Can we be a bit more friendly to systems where the previous default
> > was better?
>
> Which systems are those, and what is the problem?
I think I already answered that.
next prev parent reply other threads:[~2024-09-29 16:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-27 7:12 master 7f0a252f216 1/2: Prefer python3 for python-interpreter Eli Zaretskii
2024-09-27 7:59 ` Xiyue Deng
2024-09-27 18:43 ` Augusto Stoffel
2024-09-27 22:13 ` Xiyue Deng
2024-09-29 15:37 ` Stefan Kangas
2024-09-29 15:49 ` Eli Zaretskii
2024-09-29 16:38 ` Augusto Stoffel
2024-09-29 15:23 ` Stefan Kangas
2024-09-29 15:31 ` Eli Zaretskii
2024-09-29 15:36 ` Eli Zaretskii
2024-09-29 16:05 ` Stefan Kangas
2024-09-29 16:37 ` Eli Zaretskii [this message]
2024-09-29 21:41 ` Stefan Kangas
2024-09-30 11:22 ` Eli Zaretskii
2024-10-05 22:50 ` Rudolf Adamkovič
2024-10-07 8:20 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=865xqe4drv.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).