From: Jonathan Corbet <corbet@lwn.net>
To: Masahiro Yamada <masahiroy@kernel.org>, linux-kbuild@vger.kernel.org
Cc: linux-doc@vger.kernel.org, Masahiro Yamada <masahiroy@kernel.org>,
Fenghua Yu <fenghua.yu@intel.com>,
Michal Marek <michal.lkml@markovi.net>,
Tony Luck <tony.luck@intel.com>,
linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org
Subject: Re: [PATCH] kbuild: remove PYTHON variable
Date: Mon, 01 Feb 2021 16:38:33 +0000 [thread overview]
Message-ID: <87r1lzvj3q.fsf@meer.lwn.net> (raw)
In-Reply-To: <20210201010024.654526-1-masahiroy@kernel.org>
Masahiro Yamada <masahiroy@kernel.org> writes:
> Python retired in 2020, and some distributions do not provide the
> 'python' command any more.
>
> As in commit 51839e29cb59 ("scripts: switch explicitly to Python 3"),
> we need to use more specific 'python3' to invoke scripts even if they
> are written in a way compatible with both Python 2 and 3.
>
> This commit removes the variable 'PYTHON', and switches the existing
> users to 'PYTHON3'.
>
> BTW, PEP 394 (https://www.python.org/dev/peps/pep-0394/) is a helpful
> material.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
So this will have the effect of making the docs build impossible for
folks who only have Python 2. As I said before, this is a step that we
knew was coming, we just hadn't decided on the exact timing - I guess
this decides for us :)
That said, I'll copy linux-doc to see if anybody screams. I assume this
is a 5.12 change?
Thanks,
jon
next prev parent reply other threads:[~2021-02-01 16:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-01 1:00 [PATCH] kbuild: remove PYTHON variable Masahiro Yamada
2021-02-01 16:38 ` Jonathan Corbet [this message]
2021-02-01 20:58 ` Masahiro Yamada
2021-02-01 21:21 ` Jonathan Corbet
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=87r1lzvj3q.fsf@meer.lwn.net \
--to=corbet@lwn.net \
--cc=fenghua.yu@intel.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=michal.lkml@markovi.net \
--cc=tony.luck@intel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox