Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp520652pxb; Thu, 21 Jan 2021 12:48:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsytZOCSSyYpYhb1bLJ7mmsVcjg2zVY4oF8pXwLkqBLGn/abiLkQCZ1ABYE1XqOnJQ1Lyq X-Received: by 2002:a17:906:fc4:: with SMTP id c4mr880588ejk.143.1611262080493; Thu, 21 Jan 2021 12:48:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611262080; cv=none; d=google.com; s=arc-20160816; b=vcAZDpKB/pnrflrW712EwwcgimjNNLZs6vfgv1CnioATVPo+asbGnOoV0JRjnYGYP5 T/m99m4vJyIMzWciLT3Lrs9BjkI0DNpDhyfSbn074DpAR1Jba6bRwTeC7HZJwO7IRtm4 e1vHa9H04QmO5yAlK1whlV0HTHAA/3JzbJ+O5PH7JYFtsbWB2fl5bGEZHSBY3uTeM/J2 sQwNi9EacTdPg0g+CSnIte5wex9HZVu4N+1UfS4jYn0amLwP33CSnfkIwPsxj+W9KgIk 2jFgwURi8Bk2jbtFdfwA/tr54ej2ImHsICbCvB5n69EbEjSHNTj/UAQgUcL6T2K1ErwH fjcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=1TC9WkNrxuDl/FSuhjMa75fVNomrna2Z0UNHAbwLaQk=; b=MC6sz9gaxX3b8N9KU9nHoNxHWWw93h/6KmeX//q8OAjZgKf/8eIRmzWnaM6dRhVlJ0 KZzW/wtlohTnFtWAvOdOtIf5pmPTf65FBf7h3ies+8Ap3AMvLEfVc2RoK+6tNDOJHxxK w9Tl/uoiAAyeptIvOUitEN57JOKCeox3zZbQrNB/1O/vIX2eF4cK8SX7UoroJ6LD0rx9 CcKH9WtWQNYa50dqk4Qy39cUKHq6W21YTlSEjjuQ5nP/bLYDcZLTMR9rpwNSOCwXhN8b q+v8dpEzq/xmUiQbdB3EF2JHm8Tbjf2BPv9Bh5HptExJfwtRrBtCS/WQX8QmTzkQebFR vi/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=hadffBV3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f23si2693504edw.170.2021.01.21.12.47.35; Thu, 21 Jan 2021 12:48:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=hadffBV3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726817AbhAUUp4 (ORCPT + 99 others); Thu, 21 Jan 2021 15:45:56 -0500 Received: from saphodev.broadcom.com ([192.19.232.172]:49076 "EHLO relay.smtp-ext.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726532AbhAUUpg (ORCPT ); Thu, 21 Jan 2021 15:45:36 -0500 Received: from [10.136.13.65] (lbrmn-lnxub113.ric.broadcom.net [10.136.13.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by relay.smtp-ext.broadcom.com (Postfix) with ESMTPS id 0BD3346B32; Thu, 21 Jan 2021 12:44:42 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 0BD3346B32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1611261884; bh=pJqSPhCLxEaf/K5XZRxqMWZzZdmg6FHkG7wWkQ5Qg+4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=hadffBV3nHLJ1opLGh/26I+97ZmpGHYp5G7l/UreyROHkiCWMPTOcKsQu6yZqKmRd v9isA2Oi/Uonj42mrihqQ0ifZ1Ix6aR8de87UNRi1VkhCm7xpLN1Ckt7gZMik8vojw 4RFGSOcEmIHGVKq0vV3Gvty8MyYf/VGnj1dIQRtk= Subject: Re: [PATCH] diffconfig: use python3 instead of python in Shebang line To: Masahiro Yamada Cc: Finn Behrens , BCM Kernel Feedback , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , Greg Kroah-Hartman , Linux Kernel Mailing List References: <20210121170736.2266-1-scott.branden@broadcom.com> From: Scott Branden Message-ID: <62f87d72-1804-fb5c-d020-64f2efd2bc0e@broadcom.com> Date: Thu, 21 Jan 2021 12:44:41 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-CA Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro, On 2021-01-21 12:25 p.m., Masahiro Yamada wrote: > On Fri, Jan 22, 2021 at 2:17 AM Scott Branden > wrote: >> Use python3 instead of python in diffconfig Shebang line. >> python2 was sunset January 1, 2000 and environments do not need >> to support python any more. >> >> Fixes: b24413180f56 ("tweewide: Fix most Shebang lines") >> Signed-off-by: Scott Branden >> --- >> scripts/diffconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/scripts/diffconfig b/scripts/diffconfig >> index 627eba5849b5..d5da5fa05d1d 100755 >> --- a/scripts/diffconfig >> +++ b/scripts/diffconfig >> @@ -1,4 +1,4 @@ >> -#!/usr/bin/env python >> +#!/usr/bin/env python3 >> # SPDX-License-Identifier: GPL-2.0 >> # >> # diffconfig - a tool to compare .config files. >> -- >> 2.17.1 >> > Just from curiosity, what problem is this solving? It is solving the problem that python is long past its life: https://www.python.org/doc/sunset-python-2/ The 5.11-rc kernel diffconfig doesn't work now due to the /usr/bin/python change to /usr/bin/env python. Could we please ensure this makes it into 5.11 and/or maintains the FIxes tag if it does not? > > Is there a distribution where 'python' does not exist, > but 'python3' does ? Yes, Python is finally being removed from some distributions and has already been done so from my yocto builds where I detected the problem. > Thanks, Scott