Avoid using the deprecated "imp" module (removed in Python 3.12)

This commit is contained in:
Miro Hrončok 2023-06-14 18:32:37 +02:00
commit a1fda59562
3 changed files with 60 additions and 0 deletions

View file

@ -20,6 +20,10 @@ Source1: get-lxml-source.sh
# Upstream issue: https://bugs.launchpad.net/lxml/+bug/2016939
Patch: Skip-failing-test-test_html_prefix_nsmap.patch
# Avoid using the deprecated "imp" module (removed in Python 3.12)
Patch: https://github.com/lxml/lxml/commit/07db761f9f.patch
Patch: https://github.com/lxml/lxml/commit/c6b7e621e4.patch
BuildRequires: gcc
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel