From 82e17833172360754d6cb12d19d4afdff1e15b6f Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Thu, 30 Oct 2025 15:22:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C(backend)=20pint=20pylint=20to=20ve?= =?UTF-8?q?rsion=20<=204.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit django-pylint is not compatible with pylint 4. We have to pin the pylint version while the compatibility is not effective. See https://github.com/pylint-dev/pylint-django/issues/467 --- renovate.json | 6 ++++++ src/backend/pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 4bbb5f61..af01e3b8 100644 --- a/renovate.json +++ b/renovate.json @@ -19,6 +19,12 @@ "matchPackageNames": ["redis"], "allowedVersions": "<6.0.0" }, + { + "groupName": "allowed pylint versions", + "matchManagers": ["pep621"], + "matchPackageNames": ["pylint"], + "allowedVersions": "<4.0.0" + }, { "enabled": false, "groupName": "ignored js dependencies", diff --git a/src/backend/pyproject.toml b/src/backend/pyproject.toml index 23e83be5..638019c3 100644 --- a/src/backend/pyproject.toml +++ b/src/backend/pyproject.toml @@ -79,7 +79,7 @@ dev = [ "ipython==9.6.0", "pyfakefs==5.10.0", "pylint-django==2.6.1", - "pylint==4.0.2", + "pylint<4.0.0", "pytest-cov==7.0.0", "pytest-django==4.11.1", "pytest==8.4.2",