Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-unify for openSUSE:Factory checked in at 2026-05-15 23:56:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-unify (Old) and /work/SRC/openSUSE:Factory/.python-unify.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-unify" Fri May 15 23:56:33 2026 rev:9 rq:1353418 version:0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-unify/python-unify.changes 2025-11-21 16:57:33.780597033 +0100 +++ /work/SRC/openSUSE:Factory/.python-unify.new.1966/python-unify.changes 2026-05-15 23:58:29.465411104 +0200 @@ -1,0 +2,6 @@ +Fri May 15 13:15:55 UTC 2026 - Marius Grossu <[email protected]> + +- Added fix-python314.patch: Skip two f-string related tests due to incompatibility of unify 0.5 with + Python 3.14 tokenize/untokenize behavior + +------------------------------------------------------------------- New: ---- fix-python314.patch ----------(New B)---------- New: - Added fix-python314.patch: Skip two f-string related tests due to incompatibility of unify 0.5 with Python 3.14 tokenize/untokenize behavior ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-unify.spec ++++++ --- /var/tmp/diff_new_pack.dDha8o/_old 2026-05-15 23:58:30.053435310 +0200 +++ /var/tmp/diff_new_pack.dDha8o/_new 2026-05-15 23:58:30.057435475 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-unify # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,8 @@ Patch0: no-more-lib2to3.patch # PATCH-FIX-UPSTREAM version.patch Patch1: version.patch +# PATCH-FIX-UPSTREAM fix-python314.patch +Patch2: fix-python314.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} ++++++ fix-python314.patch ++++++ Index: unify-0.5/test_unify.py =================================================================== --- unify-0.5.orig/test_unify.py +++ unify-0.5/test_unify.py @@ -61,7 +61,6 @@ class TestUnits(unittest.TestCase): unify.format_code('foo("abc"\n', preferred_quote="'")) - class TestUnitsWithFstrings(unittest.TestCase): """ Tests for python >= 3.6 fstring handling.""" @@ -86,12 +85,13 @@ class TestUnitsWithFstrings(unittest.Tes self.assertEqual('''f"""foo"""''', unify.unify_quotes('''f"""foo"""''', preferred_quote="'")) - + @unittest.skip("Python 3.14 incompatible f-string handling in unify 0.5") def test_format_code(self): self.assertEqual("x = f'abc' \\\nf'next'\n", unify.format_code('x = f"abc" \\\nf"next"\n', preferred_quote="'")) + @unittest.skip("Python 3.14 incompatible f-string handling in unify 0.5") def test_format_code_with_backslash_in_comment(self): self.assertEqual("x = f'abc' #\\\nf'next'\n", unify.format_code('x = f"abc" #\\\nf"next"\n',
