- 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
This commit is contained in:
Dirk Mueller 2023-09-06 20:05:27 +00:00 committed by Git OBS Bridge
parent 86d5c3a954
commit 5921dbe85e
2 changed files with 9 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 6 20:04:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@ -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