Commit Graph

62 Commits

Author SHA256 Message Date
Andreas Schneider
d30382a912 Accepting request 1112755 from home:gladiac:mailman
- Add missing Pre-require for groupadd

OBS-URL: https://build.opensuse.org/request/show/1112755
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=84
2023-09-21 10:02:18 +00:00
cb6587ea6e Accepting request 1105429 from home:gladiac:mailman
- Fix issues with importlib_resources for Python 3.11
  * Added mailman-fix-importlib-resources.patch
- Add missing require for psycopg2

OBS-URL: https://build.opensuse.org/request/show/1105429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=82
2023-08-28 12:17:47 +00:00
8182d35f4d Accepting request 1093666 from devel:languages:python:mailman:backports
Move to python 3.11 for 15.5 and TW

OBS-URL: https://build.opensuse.org/request/show/1093666
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=80
2023-06-19 11:33:29 +00:00
2ec8c3346c Accepting request 1075681 from home:luizluca:branches:devel:languages:python:mailman
- Compile and include .mo files, used by _() strings

Without .mo files, subject in moderation messages were not translated

OBS-URL: https://build.opensuse.org/request/show/1075681
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=78
2023-03-31 06:12:43 +00:00
Steve Kowalik
a9fb9ccfa3 - 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/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=76
2023-02-06 05:02:31 +00:00
89b49bca00 Accepting request 1043013 from home:luizluca:branches:devel:languages:python:mailman
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
2022-12-15 12:24:05 +00:00
Andreas Schneider
979241a815 Bump version requirement for python3-authheaders
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=72
2022-11-01 18:24:36 +00:00
5cb259ed46 Accepting request 1031504 from home:gladiac:branches:devel:languages:python:mailman
- Update to version 3.3.6
  * https://gitlab.com/mailman/mailman/-/blob/3.3.6/src/mailman/docs/NEWS.rst
- Added support-attrs-22.patch
- Removed ARC-message-fail-tests.patch

OBS-URL: https://build.opensuse.org/request/show/1031504
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=70
2022-10-27 10:16:15 +00:00
61dfbb3435 Accepting request 1006416 from home:mcalabkova:branches:openSUSE:Backports:SLE-15-SP3:mailman
- Rewrite support-sqlalchemy-1-4.patch
  * to be indeed backward-compatible
  * to reflect newer mailman-support-sqlalchemy-1-4.patch

OBS-URL: https://build.opensuse.org/request/show/1006416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=68
2022-09-27 22:45:07 +00:00
Andreas Schneider
013432026e Accepting request 1000427 from home:schubi2
- Moved logrotate files from user specific directory /etc/logrotate.d
  to vendor specific directory /usr/etc/logrotate.d.

OBS-URL: https://build.opensuse.org/request/show/1000427
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=66
2022-09-01 09:53:21 +00:00
bf64937b13 Accepting request 986649 from home:bnavigator:branches:devel:languages:python:mailman
- Go back to Python 3.9 for mailman. Python 3.10 is not supported
  and it is unclear whether the test failures are due to the
  production code or only in the setup of aiosmtpd in the test
  suite. -- https://gitlab.com/mailman/mailman/-/issues/936

OBS-URL: https://build.opensuse.org/request/show/986649
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=64
2022-07-04 18:09:33 +00:00
Andreas Schneider
cd16081c06 Accepting request 985930 from home:lrupp:branches:devel:languages:python:mailman
- 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
2022-06-29 19:38:49 +00:00
Andreas Schneider
85efc6c9c3 Accepting request 982446 from home:gladiac:branches:devel:languages:python:mailman
- Added support-alembic-1-8.patch
- Removed support-alembic-1-7.patch

OBS-URL: https://build.opensuse.org/request/show/982446
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=61
2022-06-13 12:34:10 +00:00
Steve Kowalik
82dc4dbc99 - Clean up a half-completed migration away from python-rpm-macros.
As a consequence, mailman3 now pulls in all dependencies again.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=60
2022-02-21 06:33:58 +00:00
373549e0d8 Accepting request 947665 from home:pgajdos
- fix obsoletes

OBS-URL: https://build.opensuse.org/request/show/947665
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=59
2022-01-20 11:11:39 +00:00
a74ded2f50 Obsolete itself as well.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=58
2022-01-20 10:39:17 +00:00
a9bdef1a27 - Add patch ARC-message-fail-tests.patch which allows four tests
to pass with different format of the output.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=57
2022-01-19 20:35:59 +00:00
66b1ece2ea Accepting request 947161 from home:pgajdos
- rename python3-mailman package to mailman3 [bsc#1194497]

OBS-URL: https://build.opensuse.org/request/show/947161
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=56
2022-01-18 21:34:18 +00:00
e4cc363209 Revert python -> python3 in Requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=55
2021-11-19 21:46:11 +00:00
e850eae458 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=54
2021-11-19 21:35:58 +00:00
2728578dab Accepting request 932465 from home:gladiac:mailman3
- Update to 3.3.5
  * https://gitlab.com/mailman/mailman/-/blob/3.3.5/src/mailman/docs/NEWS.rst
- Added support-alembic-1-7.patch
- Removed obsolete support-click-8-0.patch
- Added rpmlintrc

OBS-URL: https://build.opensuse.org/request/show/932465
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=53
2021-11-19 21:32:21 +00:00
Steve Kowalik
c0301a504f Remove unneeded sed in spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=52
2021-07-30 02:21:05 +00:00
Steve Kowalik
603a20fc27 One more.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=51
2021-07-30 02:11:22 +00:00
Steve Kowalik
dcc45c575d Address another failure in support-sqlalchemy-1-4.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=50
2021-07-30 01:58:38 +00:00
Steve Kowalik
0b0ec08568 - Add support-click-8-0.patch:
* Lightly rebased from upstream to support click 8.0
- Add support-sqlalchemy-1-4.patch:
  * Support running with SQLAlchemy 1.4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=49
2021-07-21 01:52:20 +00:00
80e230f896 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=48 2021-05-24 10:57:30 +00:00
dc30e9b524 Accepting request 890325 from home:bnavigator:branches:devel:languages:python:mailman
- Restrict build to primary python3 in order to avoid conflicting
  packages.

OBS-URL: https://build.opensuse.org/request/show/890325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=46
2021-05-04 18:34:22 +00:00
Andreas Schneider
12db2a15e0 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
2021-03-23 16:27:09 +00:00
865565947b Don't define Patch0 twice.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=42
2021-02-04 22:31:23 +00:00
7b396b7fc4 - Add gl823_exclude_failing_tests.patch to skip two failing tests
(gl#mailman/mailman#823).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=41
2021-02-04 22:23:16 +00:00
Andreas Schneider
5e5e1e3381 Accepting request 869047 from home:jengelh:branches:devel:languages:python:mailman
- Modernize specfile. Update summary so it does not fall under
  rpmlint name-repeated-in-summary.

OBS-URL: https://build.opensuse.org/request/show/869047
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=40
2021-02-04 07:21:19 +00:00
8fd128e7fa Accepting request 868985 from home:gladiac:mailman3
- Fix building on tumbleweed

OBS-URL: https://build.opensuse.org/request/show/868985
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=39
2021-02-03 19:09:47 +00:00
af0f6f2ac8 Accepting request 868879 from home:stroeder:branches:devel:languages:python:mailman
Update to 3.3.3

Fixing build on Factory/Tumbleweed has to be done separately.

OBS-URL: https://build.opensuse.org/request/show/868879
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=38
2021-02-03 10:27:35 +00:00
aa07b309bf Accepting request 856542 from home:gladiac:mailman3
- Added mailman-notify.service and mailman-notify.timer
- Added rcmailman* service symlinks
- Added missing logrotate requirement

OBS-URL: https://build.opensuse.org/request/show/856542
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=36
2020-12-18 09:42:38 +00:00
ad7d6e9570 Accepting request 855964 from home:gladiac:mailman3
- Fix systemd services

OBS-URL: https://build.opensuse.org/request/show/855964
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=34
2020-12-15 10:04:54 +00:00
ce5a76d70b Accepting request 855950 from home:gladiac:mailman3
- Add missing services and timers to systemd

OBS-URL: https://build.opensuse.org/request/show/855950
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=33
2020-12-15 09:12:34 +00:00
Andreas Schneider
cd799458ea Accepting request 851559 from home:stroeder:branches:devel:languages:python:mailman
- Update to 3.3.2:
  * Support for inviting users to join mailing lists.
  * New adddmembers, delmembers and syncmembers command to
    manage membership from CLI.
  * Addition of new REST API endpoints that return the count of held messages
    and subscription requests of much faster page loads in Postorius.
  * Addition of support for filtering in some API endpoints like Members
    and Subscription requests.
  * Support for address= option in email join command to subscribe an address
    other then sending address.
  * Addition of who email command to lookup memberships.
  * Expose emergency field for MailingList resource in REST API.
  * Several bug fixes to support new major version of libraries like dnspython, 
    flufl.* etc.

OBS-URL: https://build.opensuse.org/request/show/851559
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=31
2020-11-29 06:55:34 +00:00
715101f148 Accepting request 839919 from home:gladiac:mailman3
- Remove suid bit from /var/lib/mailman/data

OBS-URL: https://build.opensuse.org/request/show/839919
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=29
2020-10-08 10:15:35 +00:00
114760fc69 - remove systemd (build)requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=28
2020-09-30 07:19:11 +00:00
7b4ea6895c Accepting request 837918 from home:gladiac:mailman3
- Create mailman user and group
- Create directories for mailman and use FHS directory layout
- Create initial /etc/mailman.cfg
- Create /etc/mailman.d/ directory for extensions
- Add systemd files

OBS-URL: https://build.opensuse.org/request/show/837918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=27
2020-09-29 07:54:08 +00:00
2d48f1cd3a Accepting request 808637 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/808637
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=25
2020-05-25 08:14:38 +00:00
Tomáš Chvátal
4c12a71f99 - Update to 3.3.1:
* No obvious changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=23
2020-04-24 08:23:29 +00:00
16f738ed70 Accepting request 766647 from devel:languages:python:mailman:backports
- do not require python-cffi, it will be required by
  python-PyNaCl

OBS-URL: https://build.opensuse.org/request/show/766647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=21
2020-01-23 15:18:10 +00:00
18194e7217 Accepting request 765299 from devel:languages:python:mailman:backports
SLE-7686

OBS-URL: https://build.opensuse.org/request/show/765299
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=19
2020-01-17 14:44:30 +00:00
Dominique Leuenberger
efe0acd05b Accepting request 755651 from devel:languages:python:mailman
Disable the failing test.

OBS-URL: https://build.opensuse.org/request/show/755651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailman?expand=0&rev=1
2019-12-10 21:44:43 +00:00
765a1106eb - disable src/mailman/commands/tests/test_cli_create.py
https://gitlab.com/mailman/mailman/issues/654

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=17
2019-12-10 16:57:02 +00:00
297cac1163 - call spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=16
2019-12-02 11:04:53 +00:00
de524e3384 - requires setuptools
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=15
2019-12-02 09:20:16 +00:00
00adedb686 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=14 2019-11-21 12:29:05 +00:00
4edd1d8625 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=13 2019-11-21 09:35:25 +00:00