Re: [PATCH] checkpatch: Follow scripts/spdxcheck.py's switch to python3

From: Joe Perches
Date: Thu Jul 08 2021 - 13:25:46 EST


On Thu, 2021-07-08 at 10:29 +0000, Vincent Pelletier wrote:
> Since commit d0259c42abff ("spdxcheck.py: Use Python 3") spdxcheck.py
> expects to be run using python3. "python" may still be a python2 alias.
> Instead, obey scripts/spdxcheck.py's shebang by executing it without
> pre-selecting an interpreter.
> Also, test python3 presence in path.

Thanks, but already done. See:

commit f9363b31d769245cb7ec8a660460800d4b466911
Author: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Wed Jun 30 18:56:19 2021 -0700

checkpatch: scripts/spdxcheck.py now requires python3