From: Petr Vorel <pvorel@suse.cz>
To: Daniel Kiper <dkiper@net-space.pl>
Cc: grub-devel@gnu.org
Subject: Re: [PATCH 2/2] autogen.sh: Detect python
Date: Mon, 30 Aug 2021 11:34:52 +0200 [thread overview]
Message-ID: <YSymPF0GHmHo5eQm@pevik> (raw)
In-Reply-To: <20210826143028.ridofxcpljgfbeee@tomti.i.net-space.pl>
Hi Daniel,
> On Wed, Aug 18, 2021 at 09:19:23AM +0200, Petr Vorel wrote:
> > > On Mon, Aug 09, 2021 at 01:52:29PM +0200, Daniel Kiper wrote:
> > > > On Fri, Aug 06, 2021 at 08:45:08AM +0200, Petr Vorel wrote:
> > > > > It help to avoid error on distros which has only python3 binary:
> > > > > ./autogen.sh: line 20: python: command not found
> > > > > Using bash builtin 'command -v' to avoid requiring which as extra
> > > > > dependency (usable on containers).
> > > > It looks the bash dependency is not specified in the INSTALL file in
> > > > "The Requirements" section. May I ask you to add it?
> > > ...and python requirement is missing from the list too. Additionally,
> > > please update autogen.sh python usage in the INSTALL file.
> > There is Python 2.6 or later, not sure if it still works on 2.6 (which is EOL)
> > or it requires now 2.7).
> I think we should update this requirement to "Python 3.0.0 or later".
I'll just note Python 3, because 1) IMHO it would not work on 3.0, first
reasonable python 3 version which allowed 2 and 3 reasonably easily coexist
together was IMHO 3.3, 2) no distro uses 3.0, they either use match higher 3
version (3.6 at least) or 2.7 (or 2.6 the oldest ones).
> > Also "If you use a development snapshot or want to hack on GRUB you may
> > need the following." is obsolete (from 2009), I'll move python, autoconf and
> > automake to the list on the top.
> OK...
> There is also:
> 3. Type `./bootstrap'.
> * autogen.sh (called by bootstrap) uses python. By default the
> invocation is "python", but it can be overridden by setting the
> variable $PYTHON.
> I think this should be updated too.
+1.
Kind regards,
Petr
next prev parent reply other threads:[~2021-08-30 9:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-06 6:45 [PATCH 1/2] bootstrap: Require patch Petr Vorel
2021-08-06 6:45 ` [PATCH 2/2] autogen.sh: Detect python Petr Vorel
2021-08-09 11:52 ` Daniel Kiper
2021-08-09 16:36 ` Daniel Kiper
2021-08-18 7:19 ` Petr Vorel
2021-08-18 16:04 ` Bruce Dubbs
2021-08-26 14:34 ` Daniel Kiper
2021-08-26 14:30 ` Daniel Kiper
2021-08-30 9:34 ` Petr Vorel [this message]
2021-08-18 7:07 ` Petr Vorel
2021-08-18 7:38 ` Petr Vorel
2021-08-26 14:37 ` Daniel Kiper
2021-08-18 16:58 ` Dimitri John Ledkov
2021-08-18 17:51 ` Petr Vorel
2021-08-18 17:54 ` Dimitri John Ledkov
2021-08-09 11:20 ` [PATCH 1/2] bootstrap: Require patch Daniel Kiper
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YSymPF0GHmHo5eQm@pevik \
--to=pvorel@suse.cz \
--cc=dkiper@net-space.pl \
--cc=grub-devel@gnu.org \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.