Accepting request 880481 from home:stroeder:branches:devel:languages:python:mailman

Update to 3.3.4 (needs python-aiosmtpd >= 1.4.1, see SR#880480)

OBS-URL: https://build.opensuse.org/request/show/880481
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=44
This commit is contained in:
Andreas Schneider 2021-03-23 16:27:09 +00:00 committed by Git OBS Bridge
parent 865565947b
commit 12db2a15e0
5 changed files with 47 additions and 27 deletions

View File

@ -1,20 +0,0 @@
--- a/src/mailman/email/tests/test_message.py
+++ b/src/mailman/email/tests/test_message.py
@@ -106,6 +106,7 @@ Test content
'Non-ascii text é.')
self.assertEqual(msg.get_payload(), 'Non-ascii text ?.')
+ @unittest.skip('Failing as gl#mailman/mailman#823')
def test_as_string_python_bug_27321(self):
with path('mailman.email.tests.data', 'bad_email.eml') as email_path:
with open(str(email_path), 'rb') as fp:
--- a/src/mailman/utilities/tests/test_scrubber.py
+++ b/src/mailman/utilities/tests/test_scrubber.py
@@ -47,6 +47,7 @@ This is the text
""")
self.assertEqual(scrubber.scrub(msg), 'This is the text\n')
+ @unittest.skip('Failing as gl#mailman/mailman#823')
def test_complex_message(self):
with open_text('mailman.utilities.tests.data', 'scrub_test.eml') as fp:
msg = mfs(fp.read())

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d54921d0395a3e2310b738c02bb16ff6232ea74198e6a77da4835de75e8d62d
size 1478203

3
mailman-3.3.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5add3e80146a704664cc398cd6b9b046c70fa8e57211d8936cec57b484183d07
size 1578084

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Mon Mar 22 08:09:48 UTC 2021 - Michael Ströder <michael@stroeder.com>
- dropped obsolete gl823_exclude_failing_tests.patch
- Update to 3.3.4
* Bugs
* Require aiosmtpd >= 1.4.1 to allow address local parts longer than 64 bytes
in the lmtp runner. (Closes #836)
* The email join command now honors the digest=<no|mime|plain> option.
(Closes #19)
* Folded ``Message-ID`` headers no longer cause folded smtp.log messages.
(Closes #844)
* Removal of headers from posts to anonymous lists that can reveal the poster
or the poster's domain has been improved. (Closes #848)
* Command line
* The ``notify`` subcommand will now decode an RFC 2047 encoded Subject: for
the report of held messages. (Closes #831)
* The deprecated options ``--add``, ``--del`` and ``--sync`` are now disabled
on the ``mailman members`` command.
* REST
* Improve the speed of Members lookup via REST API. (Related to #700)
* Allow specifying ``delivery_mode`` and ``delivery_status`` when creating a
new Member. (Closes #828)
* Allow filtering members in ``/members/find`` API using ``delivery_status``,
``delivery_mode`` and ``moderation_action``. (See #827)
* New Features
* There is a new setting ``filter_report`` in the ``[mailman]`` section of
mailman.cfg. If this is set to ``yes``, a report of changes by content
filtering will be added to the outgoing message. (Closes #833)
* There is a new setting ``check_max_size_on_filtered_message`` in the
``[mailman]`` section of mailman.cfg. If this is set to ``yes`` and the
list does content filtering, the ``max_message_size`` hold will be based
on the size of the content filtered message. (Closes #377)
* There is a new setting ``anonymous_list_keep_headers`` in the ``[mailman]``
section of mailman.cfg. This is part of improved removal of headers from
posts to anonymous lists. This setting is a space separated list of regexp
patterns. After anonomyzing removes the headers which are known to reveal
the poster or poster's domain, it then removes all headers whose names do
not match (case-insensitively) one of these patterns. The default setting
keeps non X- headers, those X- headers added by Mailman and any X-Spam-
headers.
-------------------------------------------------------------------
Thu Feb 4 22:20:35 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -40,7 +40,7 @@
%define skip_python36 1
%endif
Name: python-mailman%{psuffix}
Version: 3.3.3
Version: 3.3.4
Release: 0
Summary: A mailing list manager
License: GPL-3.0-only
@ -64,14 +64,12 @@ Source101: https://gitlab.com/mailman/mailman/-/raw/master/src/mailman/test
# whitespace fix
Patch0: python-mailman-test_interact_default_banner.patch
# PATCH-FIX-UPSTREAM gl823_exclude_failing_tests.patch gl#mailman/mailman#823 mcepl@suse.com
# Skip two failing tests.
Patch1: gl823_exclude_failing_tests.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: logrotate
Requires: python-SQLAlchemy >= 1.2.3
Requires: python-aiosmtpd >= 1.1
Requires: python-aiosmtpd >= 1.4.1
Requires: python-alembic
Requires: python-atpublic
Requires: python-authheaders >= 0.9.2