Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-html5lib for openSUSE:Factory checked in at 2023-07-27 16:50:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-html5lib (Old) and /work/SRC/openSUSE:Factory/.python-html5lib.new.32662 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-html5lib" Thu Jul 27 16:50:40 2023 rev:26 rq:1101011 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-html5lib/python-html5lib.changes 2023-04-22 21:58:17.376437734 +0200 +++ /work/SRC/openSUSE:Factory/.python-html5lib.new.32662/python-html5lib.changes 2023-07-27 16:51:04.485904531 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 07:50:37 UTC 2023 - Markéta Machová <mmach...@suse.com> + +- Add pytest74.patch to fix tests with pytest 7.4+ + +------------------------------------------------------------------- New: ---- pytest74.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-html5lib.spec ++++++ --- /var/tmp/diff_new_pack.Vugmqt/_old 2023-07-27 16:51:05.189908509 +0200 +++ /var/tmp/diff_new_pack.Vugmqt/_new 2023-07-27 16:51:05.193908531 +0200 @@ -29,6 +29,8 @@ Patch0: pytest6.patch # https://github.com/html5lib/html5lib-python/issues/541 Patch1: python-html5lib-no-mock.patch +# PATCH-FIX-UPSTREAM https://github.com/html5lib/html5lib-python/pull/570 adapt testsuite to changes in pytest 7.4 +Patch2: pytest74.patch BuildRequires: %{python_module Genshi} BuildRequires: %{python_module lxml} BuildRequires: %{python_module pytest >= 4.0} ++++++ pytest74.patch ++++++ Index: html5lib-1.1/html5lib/tests/tokenizer.py =================================================================== --- html5lib-1.1.orig/html5lib/tests/tokenizer.py +++ html5lib-1.1/html5lib/tests/tokenizer.py @@ -246,7 +246,7 @@ class TokenizerTest(pytest.Item): def repr_failure(self, excinfo): traceback = excinfo.traceback ntraceback = traceback.cut(path=__file__) - excinfo.traceback = ntraceback.filter() + excinfo.traceback = ntraceback.filter(excinfo) return excinfo.getrepr(funcargs=True, showlocals=False, Index: html5lib-1.1/html5lib/tests/tree_construction.py =================================================================== --- html5lib-1.1.orig/html5lib/tests/tree_construction.py +++ html5lib-1.1/html5lib/tests/tree_construction.py @@ -135,7 +135,7 @@ class ParserTest(pytest.Item): def repr_failure(self, excinfo): traceback = excinfo.traceback ntraceback = traceback.cut(path=__file__) - excinfo.traceback = ntraceback.filter() + excinfo.traceback = ntraceback.filter(excinfo) return excinfo.getrepr(funcargs=True, showlocals=False,