From c2387fcb0295770e7f4f354769bed67538ce2054 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Thu, 8 Jan 2026 14:59:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C(backend)=20ping=20django<6.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We want to wait before migrating to django 6. For now we require all versions less than version 6 and we add a rule in renovate configuration --- renovate.json | 6 ++++++ src/backend/pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 571fb1cd..250dee8e 100644 --- a/renovate.json +++ b/renovate.json @@ -25,6 +25,12 @@ "matchPackageNames": ["pylint"], "allowedVersions": "<4.0.0" }, + { + "groupName": "allowed django versions", + "matchManagers": ["pep621"], + "matchPackageNames": ["django"], + "allowedVersions": "<6.0.0" + }, { "enabled": false, "groupName": "ignored js dependencies", diff --git a/src/backend/pyproject.toml b/src/backend/pyproject.toml index f3f2cff7..1b7e829b 100644 --- a/src/backend/pyproject.toml +++ b/src/backend/pyproject.toml @@ -39,7 +39,7 @@ dependencies = [ "django-redis==6.0.0", "django-storages[s3]==1.14.6", "django-timezone-field>=5.1", - "django==6.0", + "django<6.0.0", "django-treebeard==4.8.0", "djangorestframework==3.16.1", "drf_spectacular==0.29.0",