From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC11FC433E0 for ; Mon, 1 Feb 2021 16:39:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 81A5A64EA7 for ; Mon, 1 Feb 2021 16:39:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231360AbhBAQjZ (ORCPT ); Mon, 1 Feb 2021 11:39:25 -0500 Received: from ms.lwn.net ([45.79.88.28]:53584 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231186AbhBAQjQ (ORCPT ); Mon, 1 Feb 2021 11:39:16 -0500 Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 18D044CD5; Mon, 1 Feb 2021 16:38:34 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 18D044CD5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1612197514; bh=TGcSUf0lCQ/GM/YUezjDHkafUZeyat41vsY8Hj++jkg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Yh0fwv3K0P8h3SG0LzNHciGTxfpgLBfNn9yB9DDKBoxe+GdVHVmPumFTch1ksK4ba kML0ESzaPWelGX4/OnZZFrl2sbQUx+0dn/mKXCTnn+8Bc559lND6a5RqF+VZsZr0r/ erO9UfHXOVdfKGUg+N5DBg1KvlH8L7xGRK1uPXg71RLkmaIUjP3tg/3BC1mw9smsMh GcuiFGEtUlUlWpPf7HalQNXOmfGhASLHc9+hkKIP/3YmQtHvtnb5moF0GiJj7QuguB LZ3B7KwVHhugY3X+YaH16oafpoyuA6cZqdQfAwd0DGlxpL2a2wei0U3g6Pg1jiH5aE HcRFQ0XvPvW6Q== From: Jonathan Corbet To: Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: linux-doc@vger.kernel.org, Masahiro Yamada , Fenghua Yu , Michal Marek , Tony Luck , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH] kbuild: remove PYTHON variable In-Reply-To: <20210201010024.654526-1-masahiroy@kernel.org> References: <20210201010024.654526-1-masahiroy@kernel.org> Date: Mon, 01 Feb 2021 09:38:33 -0700 Message-ID: <87r1lzvj3q.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Masahiro Yamada 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 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