- Update to 3.3.8:
* The deprecated SQLAlchemy query.values() method is replaced by
query.with_entities(). This fixes an issue with MariaDB that truncated
the generated postfix_lmtp file. (Closes#1044)
* An uncaught passlib.exc.UnknownHashError in utilities/passwords.py is
now caught and handled appropriately. (Closes#1046)
* Rejection notices for a message with an RFC 2047 encoded Subject: now
display the decoded subject. (Closes#672)
* Don't RFC 2047 encode display names in UserNotifications. Allow sending
utf-8 encoded notifications. (Closes#673)
* Don't replace non-ascii in subjects in notifications. (Closes#673)
* The mailman members command no longer RFC 2047 encodes non-ascii display
names. (Closes#1048)
* Improve the performance of Held message handling by reducing the total
number of database calls required. (Fixes#1026 and #1045)
* Add support for Python 3.10. (Closes#936)
* Add support for Python 3.11 (See !1076)
* Add support for SQLAlchemy 1.4+ (Closes#964)
* Drop support for Python 3.6 since SQLAlchemy 2.0 will drop support for
it and it is EOL by now. (See !1035)
* The fix for #994 in 3.3.6 blocked too many subscription attempts. This is
now corrected and another test added.
- Drop patches now included upstream:
* mailman-support-sqlalchemy-1-4.patch
* python-mailman-test_interact_default_banner.patch
* support-alembic-1-8.patch
* support-attrs-22.patch
* support-sqlalchemy-1-4.patch
OBS-URL: https://build.opensuse.org/request/show/1063334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailman?expand=0&rev=24
* The deprecated SQLAlchemy query.values() method is replaced by
query.with_entities(). This fixes an issue with MariaDB that truncated
the generated postfix_lmtp file. (Closes#1044)
* An uncaught passlib.exc.UnknownHashError in utilities/passwords.py is
now caught and handled appropriately. (Closes#1046)
* Rejection notices for a message with an RFC 2047 encoded Subject: now
display the decoded subject. (Closes#672)
* Don't RFC 2047 encode display names in UserNotifications. Allow sending
utf-8 encoded notifications. (Closes#673)
* Don't replace non-ascii in subjects in notifications. (Closes#673)
* The mailman members command no longer RFC 2047 encodes non-ascii display
names. (Closes#1048)
* Improve the performance of Held message handling by reducing the total
number of database calls required. (Fixes#1026 and #1045)
* Add support for Python 3.10. (Closes#936)
* Add support for Python 3.11 (See !1076)
* Add support for SQLAlchemy 1.4+ (Closes#964)
* Drop support for Python 3.6 since SQLAlchemy 2.0 will drop support for
it and it is EOL by now. (See !1035)
* The fix for #994 in 3.3.6 blocked too many subscription attempts. This is
now corrected and another test added.
- Drop patches now included upstream:
* mailman-support-sqlalchemy-1-4.patch
* python-mailman-test_interact_default_banner.patch
* support-alembic-1-8.patch
* support-attrs-22.patch
* support-sqlalchemy-1-4.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=76
Mailman timers were generating an ordering cycle:
network.target: Found ordering cycle on wicked.service/start
network.target: Found dependency on basic.target/start
network.target: Found dependency on mailman-notify.timer/start
network.target: Found dependency on time-sync.target/start
network.target: Found dependency on chronyd.service/start
network.target: Found dependency on network.target/start
Started Journal Service.
network.target: Job wicked.service/start deleted to break ordering cycle starting with network.target/start
chronyd.service: Found ordering cycle on nss-lookup.target/start
chronyd.service: Found dependency on nscd.service/start
chronyd.service: Found dependency on basic.target/start
chronyd.service: Found dependency on mailman-notify.timer/start
chronyd.service: Found dependency on time-sync.target/start
chronyd.service: Found dependency on chronyd.service/start
chronyd.service: Job nss-lookup.target/start deleted to break ordering cycle starting with chronyd.service/start
wickedd-nanny.service: Found ordering cycle on basic.target/start
wickedd-nanny.service: Found dependency on mailman-notify.timer/start
wickedd-nanny.service: Found dependency on time-sync.target/start
wickedd-nanny.service: Found dependency on chronyd.service/start
wickedd-nanny.service: Found dependency on network.target/start
wickedd-nanny.service: Found dependency on wickedd-nanny.service/start
wickedd-nanny.service: Job mailman-notify.timer/start deleted to break ordering cycle starting with wickedd-nanny.service/start
wickedd-nanny.service: Found ordering cycle on basic.target/start
wickedd-nanny.service: Found dependency on mailman-digests.timer/start
wickedd-nanny.service: Found dependency on time-sync.target/start
wickedd-nanny.service: Found dependency on chronyd.service/start
wickedd-nanny.service: Found dependency on network.target/start
wickedd-nanny.service: Found dependency on wickedd-nanny.service/start
wickedd-nanny.service: Job mailman-digests.timer/start deleted to break ordering cycle starting with wickedd-nanny.service/start
Using the correct timers.target fixes the issue.
OBS-URL: https://build.opensuse.org/request/show/1043013
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=74
- added mailman-support-sqlalchemy-1-4.patch (from Andreas Schneider):
The TypeDecorator.cache_ok class-level flag indicates if this custom
TypeDecorator is safe to be used as part of a cache key. This flag defaults to
None which will initially generate a warning when the SQL compiler attempts to
generate a cache key for a statement that uses this type. If the TypeDecorator
is not guaranteed to produce the same bind/result behavior and SQL generation
every time, this flag should be set to False; otherwise if the class produces
the same behavior each time, it may be set to True. See TypeDecorator.cache_ok
for further notes on how this works.
OBS-URL: https://build.opensuse.org/request/show/985930
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=63
- Update to 3.3.5, which provides many bug fixes and also these new features:
- There is a new bounce_notify_admin_on_bounce_increment list
setting and a corresponding list:admin:notice:increment
template for the notice. This setting, if True, will cause a
notice to be sent to the list admins when a member's bounce
score is incremented, but doesn't disable delivery.
- There is a new moderator_request_life setting in the
[mailman] section of mailman.cfg that controls the lifetime
of pending moderator requests as opposed to pending user
confirmations. Default is 180 days.
- There is a new task runner to do periodic tasks. The current
implementation evicts expired pendings and cache entries
and removes orphaned workflows and orphaned message store
messages. It does these tasks at intervals defined by the
new run_tasks_every setting in the [mailman] section of
mailman.cfg. Default is 1 hour.
- There is a new list:admin:notice:pending template for the
notice from the mailman notify command.
- The nntp runner will now run the gatenews subcommand at
intervals defined by a new gatenews_every setting in the
[nntp] section of mailman.cfg. Default is 5 every minutes.
- Check the REST API password in a way that is resistant to
timing attacks. (CVE-2021-34337)
- Added support-alembic-1-7.patch
- Removed obsolete support-click-8-0.patch
- Added rpmlintrc
OBS-URL: https://build.opensuse.org/request/show/932595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailman?expand=0&rev=14