From d56a8afd4ef5bdbdf8ac90ee234d3cbf49da7902 Mon Sep 17 00:00:00 2001
From: Nizamudeen A <nia@redhat.com>
Date: Wed, 12 Mar 2025 12:36:42 +0530
Subject: [PATCH] mgr/dashboard: pin lxml to fix run-dashboard-tox-make-check
 failure

xmlsec had an upgrade yesterday night and python3-saml might need to
adapt its library accordingly I suppose. Testing a fix by pinning lxml

Another approach is being tried out separately
https://github.com/ceph/ceph/pull/62239, but that is failing with some
other errors.

Fixes: https://tracker.ceph.com/issues/70411
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1f84505f1232dd8445df1a2a819fa000062d3934)

 Conflicts:
	src/pybind/mgr/dashboard/requirements.txt
 - only kept the lxml pinning. didn't add the newer deps that are
   present in main
---
 src/pybind/mgr/dashboard/requirements.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pybind/mgr/dashboard/requirements.txt b/src/pybind/mgr/dashboard/requirements.txt
index 24bb3d3864d..70dd62c4be8 100644
--- a/src/pybind/mgr/dashboard/requirements.txt
+++ b/src/pybind/mgr/dashboard/requirements.txt
@@ -11,3 +11,4 @@ pyyaml
 natsort
 setuptools
 jsonpatch
+lxml==4.8.0  # to fix https://github.com/xmlsec/python-xmlsec/issues/320