Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-xmldiff for openSUSE:Factory checked in at 2025-08-05 14:21:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xmldiff (Old) and /work/SRC/openSUSE:Factory/.python-xmldiff.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xmldiff" Tue Aug 5 14:21:36 2025 rev:24 rq:1297579 version:2.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xmldiff/python-xmldiff.changes 2024-11-06 16:52:51.026299972 +0100 +++ /work/SRC/openSUSE:Factory/.python-xmldiff.new.1085/python-xmldiff.changes 2025-08-05 14:22:30.004280582 +0200 @@ -1,0 +2,5 @@ +Fri Aug 1 12:32:54 UTC 2025 - Felix Stegmeier <felix.stegme...@suse.com> + +- add fix-error-type.patch to fix tests + +------------------------------------------------------------------- New: ---- fix-error-type.patch ----------(New B)---------- New: - add fix-error-type.patch to fix tests ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xmldiff.spec ++++++ --- /var/tmp/diff_new_pack.7aQM5z/_old 2025-08-05 14:22:30.692309337 +0200 +++ /var/tmp/diff_new_pack.7aQM5z/_new 2025-08-05 14:22:30.696309505 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-xmldiff # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ License: MIT URL: https://github.com/Shoobx/xmldiff Source: https://files.pythonhosted.org/packages/source/x/xmldiff/xmldiff-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix-error-type.patch taken from https://github.com/Shoobx/xmldiff/commit/57e16ce3d92067c6246c3de04f2d4b9803f6f25b +Patch0: fix-error-type.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} ++++++ fix-error-type.patch ++++++ Index: xmldiff-2.7.0/tests/test_main.py =================================================================== --- xmldiff-2.7.0/tests/test_main.py.orig +++ xmldiff-2.7.0/tests/test_main.py @@ -44,7 +44,7 @@ class MainAPITests(unittest.TestCase): with open(LEFT_FILE, "rb") as infile: with open(RIGHT_FILE, "rb") as infile: # Give something else, and it fails: - with self.assertRaises(ValueError): + with self.assertRaises(TypeError): main.diff_texts(infile, infile) def test_api_diff_trees(self):