Thread (439 messages) 439 messages, 10 authors, 2021-06-24

Re: [PATCH 4.19 425/425] scripts: switch explicitly to Python 3

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-06-24 05:20:52
Also in: lkml

On Wed, Jun 23, 2021 at 10:25:29PM +0200, Pavel Machek wrote:
On Fri 2021-05-21 06:37:00, Greg Kroah-Hartman wrote:
quoted
On Fri, May 21, 2021 at 06:36:18AM +0200, Greg Kroah-Hartman wrote:
quoted
On Thu, May 20, 2021 at 10:36:26PM +0200, Pavel Machek wrote:
quoted
Hi!
quoted
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

commit 51839e29cb5954470ea4db7236ef8c3d77a6e0bb upstream.

Some distributions are about to switch to Python 3 support only.
This means that /usr/bin/python, which is Python 2, is not available
anymore. Hence, switch scripts to use Python 3 explicitly.
I'd say this is unsuitable for -stable.

Old distributions may not have python3 installed, and we should not
change this dependency in the middle of the series.
What distro that was released in 2017 (the year 4.14.0 was released) did
not have python3 on it?
oops, I meant 2018, when 4.19.0 was out, wrong tree...
In anything yocto-based, for example, you explicitely select which
packages you want. And changing dependencies in middle of stable
release is surprising and against our documentation.
Yocto documentation does not dictate kernel development processes.

good luck!

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help