GNU bug report logs - #74434
[PATCH] py-compile: Allow user to disable python

Previous Next

Package: automake-patches;

Reported by: Frédéric Bérat <fberat <at> redhat.com>

Date: Tue, 19 Nov 2024 09:55:02 UTC

Severity: normal

Tags: patch

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Frederic Berat <fberat <at> redhat.com>
To: Karl Berry <karl <at> freefriends.org>
Cc: 74434 <at> debbugs.gnu.org
Subject: [bug#74434] [PATCH] py-compile: Allow user to disable python
Date: Mon, 25 Nov 2024 08:14:41 +0100
[Message part 1 (text/plain, inline)]
On Sun, Nov 24, 2024 at 3:05 AM Karl Berry <karl <at> freefriends.org> wrote:

>     +case "$PYTHON" in
>     +  *python*) ;;
>     +  *)
>     +  echo "$me: Invalid python executable ${PYTHON}";
>     +  echo "$me: Python support disabled";
>     +  exit 0;;
>     +esac
>
> Thanks. But I'm not sure about requiring the executable name to include
> "python". Apart from technically being against GNU standards, I can
> imagine people making a link named anything and then using that. For
> whatever reason.
>
> Maybe it would suffice to run $PYTHON -V and see if the result matches
> grep -i python?
>
> I don't have Python 2.0 (the oldest we claim to support, though I have
> my doubts), but it works with Python 2.7.
>
> $ python2.7 -V
> Python 2.7.18
>
> Wdyt? --thanks, karl.
>

That sounds reasonable.
[Message part 2 (text/html, inline)]

This bug report was last modified 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.