Update to 5.3.0 (rhbz#2303963)

This commit is contained in:
Lumir Balhar 2024-08-12 14:59:25 +02:00
commit afcfecf47d
4 changed files with 3 additions and 49 deletions

View file

@ -1,5 +1,5 @@
Name: python-lxml
Version: 5.2.1
Version: 5.3.0
Release: %autorelease
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
@ -16,9 +16,6 @@ URL: https://github.com/lxml/lxml
Source0: lxml-%{version}-no-isoschematron-rng.tar.gz
Source1: get-lxml-source.sh
# Skip some tests if lxml_html_clean is not available
Patch: https://github.com/lxml/lxml/pull/417.patch
BuildRequires: gcc
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
@ -67,10 +64,6 @@ Python 3 version.
sed -i "s/Cython.*/Cython/" requirements.txt
sed -i 's/"Cython.*",/"Cython",/' pyproject.toml
# Fix doctest failing with the latest libxslt (rhbz#2301176)
# Reported upstream: https://bugs.launchpad.net/lxml/+bug/2075141
sed -i "s/read_network=False/read_network=False,read_file=False/" doc/resolvers.txt
%generate_buildrequires
%pyproject_buildrequires -x source%{?with_extras:,cssselect,html5,htmlsoup,html_clean}