GNU bug report logs -
#70815
[PATCH] ; Enahnce python-tests.el to adapt different python interpreters
Previous Next
Reported by: Lin Sun <sunlin7.mail <at> gmail.com>
Date: Tue, 7 May 2024 06:54:02 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Sun, 26 May 2024 23:15:50 +0900
> From: kobarity <kobarity <at> gmail.com>
> Cc: Lin Sun <sunlin7.mail <at> gmail.com>,
> stefankangas <at> gmail.com,
> 70815 <at> debbugs.gnu.org,
> Eli Zaretskii <eliz <at> gnu.org>
>
> > Why select Python 2 in the first place? Is it more important to test Python 2 than Python 3 on other platforms?
>
> I am not saying that Python 2 (or simple "python") should be the
> first. I do agree that "python3" should be preferred than "python".
I think Python 3 should be preferred if the user prefers it. And if
the python interpreter invoked by "python" is not the preferred
version, then how can Emacs know which one is the preferred version?
> At the time of writing, I assumed that current ERTs can be run on both
> Python 2 and 3 on all platforms. However, it turned out that it was
> wrong. Some tests fail with Python 2 on Mac. So I think we need some
> mechanism to skip test based on the interpreter version and the
> platform.
If macOS needs special treatment, here, we can install a change
specific to macOS. But let's not skew all the platforms because of
macOS.
This bug report was last modified 1 year and 40 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.