Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mailman for openSUSE:Factory checked in at 2022-09-28 17:51:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mailman (Old) and /work/SRC/openSUSE:Factory/.python-mailman.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mailman" Wed Sep 28 17:51:47 2022 rev:20 rq:1006539 version:3.3.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mailman/python-mailman.changes 2022-09-01 22:12:51.080517519 +0200 +++ /work/SRC/openSUSE:Factory/.python-mailman.new.2275/python-mailman.changes 2022-09-28 17:51:48.499238915 +0200 @@ -1,0 +2,7 @@ +Tue Sep 27 12:31:25 UTC 2022 - Mark??ta Machov?? <[email protected]> + +- Rewrite support-sqlalchemy-1-4.patch + * to be indeed backward-compatible + * to reflect newer mailman-support-sqlalchemy-1-4.patch + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ support-sqlalchemy-1-4.patch ++++++ --- /var/tmp/diff_new_pack.tE1WRO/_old 2022-09-28 17:51:49.135240195 +0200 +++ /var/tmp/diff_new_pack.tE1WRO/_new 2022-09-28 17:51:49.139240203 +0200 @@ -1,7 +1,7 @@ -Index: mailman-3.3.4/setup.py +Index: mailman-3.3.5/setup.py =================================================================== ---- mailman-3.3.4.orig/setup.py -+++ mailman-3.3.4/setup.py +--- mailman-3.3.5.orig/setup.py ++++ mailman-3.3.5/setup.py @@ -127,7 +127,7 @@ case second 'm'. Any other spelling is 'python-dateutil>=2.0', 'passlib', @@ -11,10 +11,10 @@ 'zope.component', 'zope.configuration', 'zope.event', -Index: mailman-3.3.4/src/mailman/database/tests/test_factory.py +Index: mailman-3.3.5/src/mailman/database/tests/test_factory.py =================================================================== ---- mailman-3.3.4.orig/src/mailman/database/tests/test_factory.py -+++ mailman-3.3.4/src/mailman/database/tests/test_factory.py +--- mailman-3.3.5.orig/src/mailman/database/tests/test_factory.py ++++ mailman-3.3.5/src/mailman/database/tests/test_factory.py @@ -76,10 +76,11 @@ class TestSchemaManager(unittest.TestCas # In case of MySQL, you cannot create/drop indexes on primary keys # manually as it is handled automatically by MySQL. @@ -41,19 +41,23 @@ config.db.commit() def test_current_database(self): -Index: mailman-3.3.4/src/mailman/model/listmanager.py +Index: mailman-3.3.5/src/mailman/model/listmanager.py =================================================================== ---- mailman-3.3.4.orig/src/mailman/model/listmanager.py -+++ mailman-3.3.4/src/mailman/model/listmanager.py -@@ -31,6 +31,7 @@ from mailman.model.mime import ContentFi +--- mailman-3.3.5.orig/src/mailman/model/listmanager.py ++++ mailman-3.3.5/src/mailman/model/listmanager.py +@@ -31,6 +31,11 @@ from mailman.model.mime import ContentFi from mailman.utilities.datetime import now from mailman.utilities.queries import QuerySequence from public import public -+from sqlalchemy.engine import Row ++try: ++ from sqlalchemy.engine import Row ++except ImportError: ++ from sqlalchemy.engine import RowProxy as Row ++ from zope.event import notify from zope.interface import implementer -@@ -120,7 +121,7 @@ class ListManager: +@@ -120,7 +125,7 @@ class ListManager: """See `IListManager`.""" result_set = store.query(MailingList) for list_id in result_set.values(MailingList._list_id): @@ -62,31 +66,4 @@ yield list_id[0] @property -Index: mailman-3.3.4/src/mailman/commands/tests/test_cli_delmembers.py -=================================================================== ---- mailman-3.3.4.orig/src/mailman/commands/tests/test_cli_delmembers.py -+++ mailman-3.3.4/src/mailman/commands/tests/test_cli_delmembers.py -@@ -129,7 +129,9 @@ class TestCLIDelMembers(unittest.TestCas - subscribe(self._mlist, 'Bart') - result = self._command.invoke(delmembers, ( - '-a', '-l', 'ant.example.com')) -- self.assertEqual(result.output, '') -+ # Do not check empty output until cache_ok warning is fixed: -+ # https://gitlab.com/mailman/mailman/-/issues/845 -+ #self.assertEqual(result.output, '') - members = list(self._mlist.members.members) - self.assertEqual(len(members), 0) - -@@ -143,7 +145,9 @@ class TestCLIDelMembers(unittest.TestCas - print('Bart Person <[email protected]>', file=infp) - result = self._command.invoke(delmembers, ( - '--fromall', '-f', infp.name)) -- self.assertEqual(result.output, '') -+ # Do not check empty output until cache_ok warning is fixed: -+ # https://gitlab.com/mailman/mailman/-/issues/845 -+ #self.assertEqual(result.output, '') - members = list(self._mlist.members.members) - self.assertEqual(len(members), 1) - self.assertEqual(str(members[0].address), -
