From 7449c8625fe6068ed31fcd0d570f6d4719f7916f Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 19 Feb 2024 11:15:34 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C(back)=20pin=20lxml=20to=20version?= =?UTF-8?q?=20<=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We are not able tu use lxml >= 5.0.0. We have a segfault when using it. The solution could be to install it without binaries but it is not possible to do it using the setup.cfg file. We have to investigate if it will be possible if we switch to pyproject. Linked issues : https://github.com/SAML-Toolkits/python3-saml/issues/388 https://github.com/SAML-Toolkits/python3-saml/issues/389 --- renovate.json | 10 ++++++++++ src/backend/setup.cfg | 1 + 2 files changed, 11 insertions(+) diff --git a/renovate.json b/renovate.json index e8d174b76d..0c10ccbc3e 100644 --- a/renovate.json +++ b/renovate.json @@ -59,6 +59,16 @@ ], "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 655a431385..8e63bb0986 100644 --- a/src/backend/setup.cfg +++ b/src/backend/setup.cfg @@ -54,6 +54,7 @@ install_requires = drf-spectacular==0.27.1 gunicorn==21.2.0 logging-ldp==0.0.7 + lxml<5 oauthlib==3.2.2 Pillow==10.2.0 psycopg[binary]==3.1.17