Re: [PATCH] perf scripts python: Let script to be python2 compliant
From: Alan Bartlett
Date: Tue Jul 26 2022 - 12:57:13 EST
On Mon, 25 Jul 2022 at 16:51, Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
>
> Em Mon, Jul 25, 2022 at 06:42:20PM +0800, Leo Yan escreveu:
> > The mainline kernel can be used for relative old distros, e.g. RHEL 7.
> > The distro doesn't upgrade from python2 to python3, this causes the
> > building error that the python script is not python2 compliant.
> >
> > To fix the building failure, this patch changes from the python f-string
> > format to traditional string format.
>
> Thanks, applied.
>
> - Arnaldo
Leo / Arnaldo,
Applying the patch on top of -5.19-rc8 fixes the problem that we (the
ELRepo Project) experienced when attempting to build on RHEL7.
So --
Tested-by: Alan Bartlett <ajb@xxxxxxxxxx>
Hopefully you will get it to Linus in time for -5.19 GA.
Thanks,
Alan.