Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-bidict for openSUSE:Factory checked in at 2024-02-06 16:34:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bidict (Old) and /work/SRC/openSUSE:Factory/.python-bidict.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bidict" Tue Feb 6 16:34:56 2024 rev:15 rq:1144443 version:0.22.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bidict/python-bidict.changes 2024-01-15 22:22:00.340966753 +0100 +++ /work/SRC/openSUSE:Factory/.python-bidict.new.1815/python-bidict.changes 2024-02-06 16:35:45.817685808 +0100 @@ -1,0 +2,7 @@ +Tue Feb 6 05:38:41 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch support-python-312.patch: + * Cope with different TypeError raised. +- No more greedy globs in %files. + +------------------------------------------------------------------- New: ---- support-python-312.patch BETA DEBUG BEGIN: New: - Add patch support-python-312.patch: * Cope with different TypeError raised. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bidict.spec ++++++ --- /var/tmp/diff_new_pack.HeP06m/_old 2024-02-06 16:35:46.345704910 +0100 +++ /var/tmp/diff_new_pack.HeP06m/_new 2024-02-06 16:35:46.345704910 +0100 @@ -24,6 +24,8 @@ License: MPL-2.0 URL: https://github.com/jab/bidict Source: https://github.com/jab/bidict/archive/refs/tags/v%{version}.tar.gz#/bidict-%{version}-gh.tar.gz +# PATCH-FIX-OPENSUSE Upstream has since rewritten the test suite, drop on update +Patch0: support-python-312.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} @@ -61,5 +63,6 @@ %files %{python_files} %doc CHANGELOG.rst README.rst docs/*.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/bidict +%{python_sitelib}/bidict-%{version}.dist-info ++++++ support-python-312.patch ++++++ Index: bidict-0.22.1/tests/test_class_relationships.py =================================================================== --- bidict-0.22.1.orig/tests/test_class_relationships.py +++ bidict-0.22.1/tests/test_class_relationships.py @@ -123,7 +123,7 @@ def test_issubclass_internal() -> None: def test_abstract_bimap_init_fails() -> None: """Instantiating `AbstractBimap` should fail with expected TypeError.""" - excmatch = r"Can't instantiate abstract class AbstractBimap with abstract methods .* inverse" + excmatch = r"Can't instantiate abstract class AbstractBimap with.*abstract methods .*inverse" with pytest.raises(TypeError, match=excmatch): AbstractBimap() # type: ignore