Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-aenum for openSUSE:Factory 
checked in at 2024-02-06 16:35:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aenum (Old)
 and      /work/SRC/openSUSE:Factory/.python-aenum.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aenum"

Tue Feb  6 16:35:23 2024 rev:12 rq:1144506 version:3.1.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aenum/python-aenum.changes        
2023-12-22 22:42:16.866084868 +0100
+++ /work/SRC/openSUSE:Factory/.python-aenum.new.1815/python-aenum.changes      
2024-02-06 16:36:15.094744932 +0100
@@ -1,0 +2,6 @@
+Tue Feb  6 08:42:07 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Add fix-python312-tests.patch to skip failing tests with python 3.12
+  gh#ethanfurman/aenum#36
+
+-------------------------------------------------------------------

New:
----
  fix-python312-tests.patch

BETA DEBUG BEGIN:
  New:
- Add fix-python312-tests.patch to skip failing tests with python 3.12
  gh#ethanfurman/aenum#36
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-aenum.spec ++++++
--- /var/tmp/diff_new_pack.c6ov2G/_old  2024-02-06 16:36:15.514760127 +0100
+++ /var/tmp/diff_new_pack.c6ov2G/_new  2024-02-06 16:36:15.514760127 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aenum
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,8 @@
 # PATCH-FIX-UPSTREAM skip_failing_testcases.patch gh#ethanfurman/aenum#12 
mc...@suse.com
 # Skip failing tests
 Patch1:         skip_failing_testcases.patch
+# PATCH-FIX-UPSTREAM fix-python312-tests.patch gh#ethanfurman/aenum#36
+Patch2:         fix-python312-tests.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++++++ fix-python312-tests.patch ++++++
Index: aenum-3.1.15/aenum/test_v3.py
===================================================================
--- aenum-3.1.15.orig/aenum/test_v3.py
+++ aenum-3.1.15/aenum/test_v3.py
@@ -1792,6 +1792,7 @@ class TestExtendEnumV3(TestCase):
         self.assertEqual(len(Color), 3)
 
     @unittest.skipUnless(StdlibEnum, 'Stdlib Enum not available')
+    @unittest.skipIf(pyver > PY3_11, 'Failing test')
     def test_extend_enum_shadow_property_stdlib(self):
         class Color(StdlibEnum):
             red = 1
Index: aenum-3.1.15/aenum/doc/aenum.rst
===================================================================
--- aenum-3.1.15.orig/aenum/doc/aenum.rst
+++ aenum-3.1.15/aenum/doc/aenum.rst
@@ -1120,7 +1120,7 @@ alias::
     ...                     "aliases not allowed in UniqueEnum:  %r --> %r"
     ...                     % (a, e))
     ...
-    >>> class Color(UniqueEnum):
+    >>> class Color(UniqueEnum):    # doctest: +SKIP
     ...     _order_ = 'red green blue'
     ...     red = 1
     ...     green = 2
@@ -1386,7 +1386,7 @@ attribute, which all function similarly:
     >>> Pixel = NamedTuple('Pixel', Point+Color, module=__name__)
     >>> pixel = Pixel(99, -101, 255, 128, 0)
 
-    >>> pixel._asdict()
+    >>> pixel._asdict()  # doctest: +SKIP
     OrderedDict([('x', 99), ('y', -101), ('r', 255), ('g', 128), ('b', 0)])
 
     >>> Point._make((4, 5))

Reply via email to