From 26ce6079e0e69be6e97982396af57203f3b98440 Mon Sep 17 00:00:00 2001 From: Quitterie Lucas Date: Thu, 25 Apr 2024 15:00:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C(backend)=20pin=20lxml=20dependency?= =?UTF-8?q?=20to=205.2.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With the constraint on lxml<5, an error on the collectstatic occured about lxml and xmlsec libxml2 versions mismatch. Pin lxml to the latest release fix this error. --- renovate.json | 10 ---------- src/backend/setup.cfg | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/renovate.json b/renovate.json index 0c10ccbc3e..e8d174b76d 100644 --- a/renovate.json +++ b/renovate.json @@ -59,16 +59,6 @@ ], "allowedVersions": "<5" }, - { - "groupName": "allowed lxml versions", - "matchManagers": [ - "setup-cfg" - ], - "matchPackageNames": [ - "lxml" - ], - "allowedVersions": "<5" - }, { "groupName": "allowed pytest versions", "matchManagers": [ diff --git a/src/backend/setup.cfg b/src/backend/setup.cfg index c10659cde7..218cc971c9 100644 --- a/src/backend/setup.cfg +++ b/src/backend/setup.cfg @@ -54,7 +54,7 @@ install_requires = drf-spectacular==0.27.1 gunicorn==21.2.0 logging-ldp==0.0.7 - lxml<5 + lxml==5.2.1 oauthlib==3.2.2 Pillow==10.2.0 psycopg[binary]==3.1.18