Accepting request 1109332 from devel:languages:python

- skip html5lib tests - cyclic dependency with html5lib tests
- remove python 2.x from testing

OBS-URL: https://build.opensuse.org/request/show/1109332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=104
This commit is contained in:
Ana Guerrero 2023-09-07 19:12:06 +00:00 committed by Git OBS Bridge
commit a2e9358a0b
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