Feature #6462
closedrun pylint not on ancient debian 10
0%
Description
In https://gerrit.osmocom.org/c/docker-playground/+/36860 we made sure to use the version of pylint that ships with the distribution. That's in general good as it means the pylint version is consistent.
The problem appears to be that we actually execute this job on debian 10 (specifically build2-deb10build-ansible in my most recent uploaded pysim patches).
While it is good to test if the software works on the oldest still supported distribution, I think for the linter it would actually make sense to run on the newest supported distribution, so Debian 12 at this point.
Updated by osmith about 1 month ago
- Status changed from New to Feedback
- Assignee changed from osmith to laforge
pylint runs in docker with the debian-bookworm-build image, so it is actually using the version from debian 12, which is pylint 2.16.2.
The most recent pylint version is 3.2.2.
If you would rather have a newer version and stay on that, we could also change to installing from pip again, and hardcode a specific version.
Updated by laforge about 1 month ago
On Thu, May 23, 2024 at 06:38:57AM +0000, osmith wrote:
pylint runs in docker with the debian-bookworm-build image, so it is actually using the version from debian 12, which is pylint 2.16.2.
ah, nevermind. All good then. I was fooled by the outer OS and didn't recall the additional layer of docker.