Project

General

Profile

Actions

Feature #6462

closed

run pylint not on ancient debian 10

Added by laforge 24 days ago. Updated 3 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
05/22/2024
Due date:
% Done:

0%

Spec Reference:

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.

Actions #1

Updated by osmith 24 days 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.

Actions #2

Updated by laforge 24 days 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.

Actions #3

Updated by laforge 3 days ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)