Accepting request 1004277 from home:llyyr:branches:devel:languages:python

Calibre fails to start due to `RuntimeError: html5-parser and lxml are using different versions of libxml2. This happens commonly when using pip installed versions of lxml. Use pip install --no-binary lxml lxml instead. libxml2 versions: html5-parser: (2, 10, 2) != lxml: (2, 9, 14)`

https://build.opensuse.org/request/show/1000724 request allows building with legacy API possible, so python3-lxml always builds with libxml2 >= 2.9.5, instead of the latest

OBS-URL: https://build.opensuse.org/request/show/1004277
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=162
This commit is contained in:
Matej Cepl 2022-09-19 11:17:37 +00:00 committed by Git OBS Bridge
parent e1ee2a9f14
commit 7964d8373b

View File

@ -30,7 +30,7 @@ BuildRequires: %{python_module Cython >= 0.29.7}
BuildRequires: %{python_module cssselect >= 0.9.1}
BuildRequires: %{python_module setuptools >= 18.0.1}
BuildRequires: fdupes
BuildRequires: libxml2-devel >= 2.9.5
BuildRequires: libxml2-devel >= 2.10.2
BuildRequires: libxslt-devel >= 1.1.23
BuildRequires: python-rpm-macros
Requires: python-cssselect >= 0.9.1