From 5921dbe85e4611693b4e81e8814d873177006142af06282df142b15fb6279f18 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 6 Sep 2023 20:05:27 +0000 Subject: [PATCH] - skip html5lib tests - cyclic dependency with html5lib tests - remove python 2.x from testing OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=187 --- python-lxml.changes | 6 ++++++ python-lxml.spec | 15 +++------------ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/python-lxml.changes b/python-lxml.changes index dfb5304..9e545f8 100644 --- a/python-lxml.changes +++ b/python-lxml.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 6 20:04:29 UTC 2023 - Dirk Müller + +- skip html5lib tests - cyclic dependency with html5lib tests +- remove python 2.x from testing + ------------------------------------------------------------------- Sun Aug 13 18:55:19 UTC 2023 - Dirk Müller diff --git a/python-lxml.spec b/python-lxml.spec index b762d3c..701e648 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -111,18 +111,9 @@ export CFLAGS="%{optflags}" export CFLAGS="%{optflags}" export LANG=en_US.UTF-8 export PYTHONUNBUFFERED=x -%if 0%{?have_python2} -%{python_expand # define python version for test: -export PYTHON="$python" -%make_build test -} -%endif -%if 0%{?have_python3} -%{python_expand # define python version for test: -export PYTHON3="$python" -%make_build test3 -} -%endif +# cyclic dependency between html5lib and lxml +rm -v src/lxml/html/tests/test_html5parser.py +%{python_expand PYTHON3="$python" %make_build test3} %install %python_install