Re: [PATCH v2 0/4] perf build: Fix pylint build failures
From: Arnaldo Carvalho de Melo
Date: Wed Sep 30 2026 - 17:58:25 EST
On Wed, Sep 30, 2026 at 02:11:35PM +0100, Leo Yan wrote:
> Recent changes to perf's Python module, including enabling pylint by
> default, exposed build failures in our CI. For example:
>
> tests/shell/lib/perf_brstack_max.py:8:0: E0401: Unable to import 'perf' (import-error)
>
> This series builds the perf Python extension before running pylint on
> its consumers without delaying C builds. It also prepends the output
> Python directory to PYTHONPATH for out-of-tree builds.
Thanks, applied patches 1-2 and 4, waiting for the suggestion from Ian
to be considered for patch 3.
- Arnaldo