Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp369180lqo; Fri, 10 May 2024 02:21:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXjdGiY7Mrghrz8gUk3VtoWPwmZ40kt8Ji+m0KPc9+yKIL/4Az6tLiOa0Kmbp5bvYJPhR8VneZ3q/wIGdtdEx98bMRic8KmMNeqZGkFag== X-Google-Smtp-Source: AGHT+IG2gpOL1a/cEPFxsTzQbYpSu3WB8RBaB6iUmhVEd9PSNGZnN4xr/fVFAxdrGjGxXyFXgeFY X-Received: by 2002:ac8:5d44:0:b0:43a:db8d:4a25 with SMTP id d75a77b69052e-43dfdabcd77mr19072681cf.4.1715332862010; Fri, 10 May 2024 02:21:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715332861; cv=pass; d=google.com; s=arc-20160816; b=KwIS4sDtsExQqPSE2wqUk37okfsVKHkambV95ULWpcZVDpdRM+QchAWR3qk2RrwNub DzLwsy+vcs2HL3VewTaLIvG9h8mEmAkIeduiVovypfbet+oQ1JpqbJ20EAqxJxsZD0ea 1NyGoJfUZBdfpbNP9zX7R5Cm6XcFJgUhjjsnMGf8oxyf2dRErKagYlhgobfbmgz0MJ3N tH1c/HkygTuGaf7Ryh/KYPJhxFds7xFDxiKddaJy3vG3Flrv7XOeK/qEl/R3+lppw9RK nCAx/h5IMcx5gpxUnXlmkjNoO4ytTHZloVNu6fizdu///XXoYe5ESnAuxQ+vYCj0s5/C aMTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=acBhhdQvLzp4wiKy16o2MaP6BQCo9w2QmJHyLQuOHTw=; fh=X4QQlwVsSLGB7eGYnohOmFzKZBUTtJnbInZm+9wQ9XM=; b=Uena9XY7YFI98Fe7GvdL3GOFm1F8ieXKAvraDKx2jX8wYg212ZvdqrAF0uPMny2zyK EkcuQHuURyODsLhyFU4ns3J/DZmOU35NU8vjgSyvwlTlkhxa0R15AJai/xEO6HLWS+jz pmxOCk09GJ+Zfi/kmM2LEyd+weZ5osgXRIu6YTVbDA5c0evrKHZEuFtrpZXzu7Dl8d1K o6YmyqopXOfagPixtCjkYJDusdnBUW5tjozXdlsrtTZHOjlVFqFMOpaKL+Ti3ikpBqd3 ea/NJLi6/zWZGVRLOtaUhaWRCh1W3RCPf2Zj44dydf0CfdrtTkmdCmdx3XsEvW7aUuQt O5eA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HhD7eivR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175521-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df549f4a8si35394111cf.86.2024.05.10.02.21.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 02:21:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HhD7eivR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175521-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B79B91C220C2 for ; Fri, 10 May 2024 09:21:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B60B71635B2; Fri, 10 May 2024 09:20:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HhD7eivR" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC2CC1607A3; Fri, 10 May 2024 09:20:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715332853; cv=none; b=GjxIV7UiQ3GBWU9B/vIniV3a8zphzVRU1ZBn1oQr4QGzkVI7xSSqsJu0a5rcVGvc0o5ztyLTEfWeOJYPpR8BHAJDeglV+p7w1yH98JPyX5Z4spzSfTLwyxxP/fZDsU8cIYixHHlC891ukHUFL8pRoP33IF1JS0oHptnCmtOgLYI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715332853; c=relaxed/simple; bh=AxwApNMrl0If02f8zgxWuzVZRRdNUt9GnNFM8XGVwGE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BUDw8W8H5kO4tUvZj21CM8Chbl8nEw+vRvU1zO6+BnIPtA5rczEBRypaDuDNn0Ne60anh/3P9EVFJz+AM6im+ayRulJdKLi90cYMWaHSVZgxhqejdDQXkEBIzfxiZCqFRcAFXtCf2OjkCETWrludEcd2ueiqDKILLLCVSme/j/4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HhD7eivR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAE08C2BD11; Fri, 10 May 2024 09:20:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715332853; bh=AxwApNMrl0If02f8zgxWuzVZRRdNUt9GnNFM8XGVwGE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HhD7eivRAHbJ3IYYPaM5LFruHmwMlsw66b4VN+OkyMT7k05DneC7BwsD/+ZCASNZM H5C4sl6cp23hvujJoJck5jF9/+WNJrsx8yHhFoxUJqvhmKIrn3mM+Uu4cxSU+luwrX DeQwKp/wiku5eg1u6nHC2hgYhxt54/P3KrSbRUxFweMO+nvH1J2F68YGFKrWeGl9BX LpvINgXg9f9Wuvx4zy0CfI2Ud3V9LkrQJWXTbcLVMeD8ZIw3djcDaMxHTyAzEhA482 Du7npEWQ7r2vww0gblMOR32u2hUpIUO/BPqEfpkeIg9xN4svfNzVrush3wPUtnnQlK 6s3SE8oWPYeMg== Date: Fri, 10 May 2024 10:20:44 +0100 From: Mauro Carvalho Chehab To: Jani Nikula Cc: Dmitry Baryshkov , Jonathan Corbet , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: Re: [PATCH] docs: document python version used for compilation Message-ID: <20240510102036.3ea40b37@sal.lan> In-Reply-To: <878r0ijdh5.fsf@intel.com> References: <20240509-python-version-v1-1-a7dda3a95b5f@linaro.org> <878r0ijdh5.fsf@intel.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Em Fri, 10 May 2024 11:08:38 +0300 Jani Nikula escreveu: > On Thu, 09 May 2024, Dmitry Baryshkov wrote: > > The drm/msm driver had adopted using Python3 script to generate register > > header files instead of shipping pre-generated header files. Document > > the minimal Python version supported by the script. > > > > Signed-off-by: Dmitry Baryshkov > > --- > > Documentation/process/changes.rst | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/process/changes.rst b/Documentation/process/= changes.rst > > index 5685d7bfe4d0..8d225a9f65a2 100644 > > --- a/Documentation/process/changes.rst > > +++ b/Documentation/process/changes.rst > > @@ -63,6 +63,7 @@ cpio any cpio --version > > GNU tar 1.28 tar --version > > gtags (optional) 6.6.5 gtags --version > > mkimage (optional) 2017.01 mkimage --version > > +Python (optional) 3.5.x python3 --version =20 >=20 > Python 3.5 reached end-of-life 3=C2=BD years ago [1]. What's the point in > using anything older than the oldest supported version of Python, > i.e. 3.8 at this time? What's the point of breaking compilation with on older distros? The idea of minimal versions here is to specify the absolute minimum version that it is required for the build to happen. If 3.5 is the minimal one, then be it. - Now, a criteria is needed to raise the minimal version. IMO, the minimal version shall be at least the minimal one present on most used LTS distros that are not EOL. I would look for at least 4 such distros: - Debian Looking at https://wiki.debian.org/LTS, Debian 10 EOL will be on June, 2024. Looking at: https://distrowatch.com/table.php?distribution=3Ddebian Debian 10 uses python 3.7.3. - Looking at Distrowatch for openSUSE Leap 15.5, it uses Python 3.6.15 and has an EOL schedule for Dec, 2024. - RHEL 8.9 uses a bigger version than those two - 3.11.5 - again looking at Distrowatch to check it. - SLES 15 SP4 and above uses Python 3.11, according with: https://www.suse.com/c/python-3-11-stack-for-suse-linux-enterprise-15/ =46rom the above, IMO kernel shall support building with Python 3.6=20 at least until the end of this year. Regards, Mauro