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 2026-04-20 16:13:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aenum (Old) and /work/SRC/openSUSE:Factory/.python-aenum.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aenum" Mon Apr 20 16:13:07 2026 rev:14 rq:1348128 version:3.1.16 Changes: -------- --- /work/SRC/openSUSE:Factory/python-aenum/python-aenum.changes 2025-05-02 15:00:49.969564120 +0200 +++ /work/SRC/openSUSE:Factory/.python-aenum.new.11940/python-aenum.changes 2026-04-20 16:13:15.430016505 +0200 @@ -1,0 +2,8 @@ +Mon Apr 20 07:22:21 UTC 2026 - Dirk Müller <[email protected]> + +- update to 3.1.16: + * standardized handling of negative numbers in flags + * support dictionary-like key access to NamedTuple + * remove newer setup.py option include_package_data + +------------------------------------------------------------------- Old: ---- aenum-3.1.15.tar.gz New: ---- aenum-3.1.16.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aenum.spec ++++++ --- /var/tmp/diff_new_pack.sGrIKU/_old 2026-04-20 16:13:16.194048410 +0200 +++ /var/tmp/diff_new_pack.sGrIKU/_new 2026-04-20 16:13:16.194048410 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-aenum # -# Copyright (c) 2025 SUSE LLC +# 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 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-aenum -Version: 3.1.15 +Version: 3.1.16 Release: 0 Summary: Advanced Enumerations, NamedTuples, and NamedConstants License: BSD-3-Clause ++++++ aenum-3.1.15.tar.gz -> aenum-3.1.16.tar.gz ++++++ ++++ 6311 lines of diff (skipped) ++++++ fix-python312-tests.patch ++++++ --- /var/tmp/diff_new_pack.sGrIKU/_old 2026-04-20 16:13:16.346054758 +0200 +++ /var/tmp/diff_new_pack.sGrIKU/_new 2026-04-20 16:13:16.350054925 +0200 @@ -1,7 +1,7 @@ -Index: aenum-3.1.15/aenum/test_v3.py +Index: aenum-3.1.16/aenum/test_v3.py =================================================================== ---- aenum-3.1.15.orig/aenum/test_v3.py -+++ aenum-3.1.15/aenum/test_v3.py +--- aenum-3.1.16.orig/aenum/test_v3.py ++++ aenum-3.1.16/aenum/test_v3.py @@ -1792,6 +1792,7 @@ class TestExtendEnumV3(TestCase): self.assertEqual(len(Color), 3) @@ -10,11 +10,11 @@ def test_extend_enum_shadow_property_stdlib(self): class Color(StdlibEnum): red = 1 -Index: aenum-3.1.15/aenum/doc/aenum.rst +Index: aenum-3.1.16/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:: +--- aenum-3.1.16.orig/aenum/doc/aenum.rst ++++ aenum-3.1.16/aenum/doc/aenum.rst +@@ -1122,7 +1122,7 @@ alias:: ... "aliases not allowed in UniqueEnum: %r --> %r" ... % (a, e)) ... @@ -23,13 +23,4 @@ ... _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)) ++++++ tempdir_missing.patch ++++++ --- /var/tmp/diff_new_pack.sGrIKU/_old 2026-04-20 16:13:16.374055927 +0200 +++ /var/tmp/diff_new_pack.sGrIKU/_new 2026-04-20 16:13:16.378056095 +0200 @@ -2,11 +2,11 @@ aenum/test.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) -Index: aenum-3.1.11/aenum/test.py +Index: aenum-3.1.16/aenum/test.py =================================================================== ---- aenum-3.1.11.orig/aenum/test.py -+++ aenum-3.1.11/aenum/test.py -@@ -51,13 +51,18 @@ def load_tests(loader, tests, ignore): +--- aenum-3.1.16.orig/aenum/test.py ++++ aenum-3.1.16/aenum/test.py +@@ -52,13 +52,18 @@ def load_tests(loader, tests, ignore): return tests class TestCase(unittest.TestCase): @@ -26,16 +26,24 @@ # for pickle tests try: -@@ -940,6 +945,8 @@ class TestEnum(TestCase): +@@ -943,6 +948,8 @@ class TestEnumType(TestCase): + class TestEnum(TestCase): + + def setUp(self): ++ super(TestEnum, self).setUp() ++ + class Season(Enum): + SPRING = 1 + SUMMER = 2 +@@ -1004,6 +1011,7 @@ class TestEnum(TestCase): IDES_OF_MARCH = 2013, 3, 15 self.Holiday = Holiday -+ super(TestEnum, self).setUp() + def test_set_name(self): class Descriptor(object): name = None -@@ -2081,7 +2088,7 @@ class TestEnum(TestCase): +@@ -2189,7 +2197,7 @@ class TestEnum(TestCase): # for use with both Python 2/3 JSONEnum = JSONEnumMeta('JsonEnum', (Enum, ), {}) @@ -44,16 +52,7 @@ with open(test_file, 'w') as f: f.write( '[{"name":"Afghanistan","alpha-2":"AF","country-code":"004","notes":{"description":"pretty"}},' -@@ -4040,6 +4047,8 @@ class TestFlag(TestCase): - CE = 1<<19 - self.Open = Open - -+ super(TestFlag, self).setUp() -+ - def test_set_name(self): - class Descriptor(object): - name = None -@@ -4338,7 +4347,7 @@ class TestFlag(TestCase): +@@ -4621,7 +4629,7 @@ class TestFlag(TestCase): self.assertEqual(AS.STREET._value_, 32) self.assertEqual(AS.SECONDARY_TYPE._value_, 128) self.assertEqual((AS.NAME | AS.STREET)._value_, 48, "%r is not 48" % (AS.NAME | AS.STREET)) @@ -62,16 +61,16 @@ def test_iteration(self): C = self.Color self.assertEqual(list(C), [C.RED, C.GREEN, C.BLUE]) -@@ -5025,6 +5034,8 @@ class TestIntFlag(TestCase): - self.Color = Color - self.Open = Open +@@ -5609,6 +5617,8 @@ class TestIntFlag(TestCase): + self.assertIs(Y.D, Y.B|Y.E) + self.assertEqual(Y.D.value, 6) + super(TestIntFlag, self).setUp() + def test_set_name(self): class Descriptor(object): name = None -@@ -6197,10 +6208,10 @@ class TestStackoverflowAnswers(TestCase) +@@ -7141,10 +7151,10 @@ class TestStackoverflowAnswers(TestCase) fh.write('#define %s %r\n' % (enum.name, enum.value)) class Arduino(CHeader): _order_ = 'ONE TWO' @@ -84,4 +83,22 @@ data = fh.read() self.assertEqual(textwrap.dedent("""\ initial header stuff here +@@ -7488,7 +7498,7 @@ class TestExtendEnum(TestCase): + self.assertEqual(Color.BLACK.name, 'BLACK') + self.assertEqual(Color.BLACK.value, 'black') + self.assertEqual(len(Color), 4) +- ++ + + class TestIssues(TestCase): + +@@ -7561,7 +7571,7 @@ class TestIssues(TestCase): + extend_enum(FlagTest, 'HIGH', 4) + self.assertEqual(FlagTest.LOW | FlagTest.HIGH, FlagTest(5)) + self.assertEqual((FlagTest.LOW | FlagTest.HIGH).value, 5) +- ++ + def test_extend_unhashable(self): + class TestEnum(Enum): + ABC = {
