Skip to content

PyLint install fails during Code Style check #3408

@pljones

Description

@pljones

Describe the bug

Running pip install --user "pylint < 3.0" fails with an error, causing the overall build to fail with a code style error.

To Reproduce

Raise a PR or run a the "Verify Python coding style" work flow (without --break-system-packages)

Expected behavior

pylint should be install and the check should run successfully (assuming not breakage in python code style).

Additional context

Raised on Discord (note, all old builds now gone):

[ 16:19 ] pljones:
Anyone know why the python check fails?
https://github.com/jamulussoftware/jamulus/actions/runs/11306641904/job/31447466526?pr=3394
[ 16:20 ] dtinth:
recently-updated gh actions image breaks pip. just add --break-system-packages to the command should fix it.
example dtinth/jamulus-php@be02a7c
[ 16:24 ] pljones:
So patch main with that, then revert?
[ 17:13 ] pljones:
Just patch for now. Is "pylint < 3.0" available on ubuntu-latest? My 24.04 LTS has only 3.0.3 available for apt; maybe it could use pipx rather than --break-system-packages?

$ apt list pylint
Listing... Done
pylint/noble,noble 3.0.3-2 all

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtoolingChanges to the automated build system

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions