Fix doctest failing with the latest libxslt (rhbz#2301176)

This commit is contained in:
Lumir Balhar 2024-07-31 11:18:55 +02:00
commit 61d79bae8d

View file

@ -67,6 +67,10 @@ 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}