From e1f28f352bc3169f50b45e731bd11215827630d7 Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Dec 04 2018 19:37:54 +0000 Subject: Remove lxml dep and add defusedxml dep Code was previously changed to use defusedxml instead of lxml for security reasons. This commit makes it possible to build the Freshmaker RPM. Signed-off-by: Luiz Carvalho --- diff --git a/.copr/freshmaker.spec.in b/.copr/freshmaker.spec.in index e185637..0e07968 100644 --- a/.copr/freshmaker.spec.in +++ b/.copr/freshmaker.spec.in @@ -47,7 +47,7 @@ BuildRequires: python2-six BuildRequires: python2-sqlalchemy BuildRequires: python2-koji BuildRequires: python2-psycopg2 -BuildRequires: python2-lxml +BuildRequires: python2-defusedxml BuildRequires: python2-prometheus_client BuildRequires: systemd @@ -88,7 +88,7 @@ Requires: python2-six Requires: python2-sqlalchemy Requires: python2-systemd Requires: python2-psycopg2 -Requires: python2-lxml +Requires: python2-defusedxml Requires: python2-prometheus_client diff --git a/requirements.txt b/requirements.txt index d88d9a0..c4c9d56 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,6 +24,5 @@ dogpile.cache pyldap koji tabulate -lxml prometheus_client defusedxml