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

From: Greg Kroah-Hartman
Date: Fri May 21 2021 - 00:36:26 EST


On Thu, May 20, 2021 at 10:36:26PM +0200, Pavel Machek wrote:
> Hi!
>
> > From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> >
> > 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?

> Python is not listed in Documentation/Changes . Perhaps it should be?

It's not required to build/boot, just these helper scripts.

thanks,

greg k-h