From 7964d8373bf01378400ac6ef2c67fbb55d06d17ebc7ba063137d6b66d8cc647f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 19 Sep 2022 11:17:37 +0000 Subject: [PATCH] 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 --- python-lxml.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-lxml.spec b/python-lxml.spec index ca42102..b0e92a0 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -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