Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-postorius for openSUSE:Factory checked in at 2022-11-22 16:10:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-postorius (Old) and /work/SRC/openSUSE:Factory/.python-postorius.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-postorius" Tue Nov 22 16:10:47 2022 rev:2 rq:1037267 version:1.3.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-postorius/python-postorius.changes 2022-09-06 13:01:14.826999402 +0200 +++ /work/SRC/openSUSE:Factory/.python-postorius.new.1597/python-postorius.changes 2022-11-22 16:10:54.502250818 +0100 @@ -1,0 +2,30 @@ +Thu Nov 17 15:07:07 UTC 2022 - Andreas Schneider <a...@cryptomilk.org> + +- Update to version 1.3.7 + * Fix a bug where various form(s) allowed setting empty values for + delivery_mode and language. (Fixes #540, #522) + * Rename labels description and info fields as 'Short Description' and 'Long + Description' to signify what they mean. (Fixes #510) + * Use date to format the dates in 'List Metrics' section in the List summary + page. (Fixes #508) + * Sort the list of languages in all Select elements alphabetically so they + are easier to naviate with screen readers. (Fixes #498) + * Add support for Django 4.0 + * A couple of unit tests are now marked expectedFailure due to + https://gitlab.com/mailman/mailman/-/merge_requests/997. (See #548) + * Translate template names in the âNew Templatesâ page (See #547) + * Translate the section names in the MailingList->"Settings" tab. (See #550) + * Add support for Django 4.1 + * Add support for Python 3.10 + * Remove support for Django < 3.2 + * Remove support for Python < 3.7 + * Replace the use of mock with unittest.mock + * Change the way role is selector in the List index page to allow use of the + * filtering without javascript enabled dropdowns. It also enhances usability + by enabling the roles that are currently active by default. (See #544) + * Show the number of files in each Mailman queue under 'System Information' + tab for Admins. (Fixes #480) +- Removed postorius-fix-django-4.0-compatibility.patch +- Add BR for django debug toolbar + +------------------------------------------------------------------- Old: ---- postorius-1.3.6.tar.gz postorius-fix-django-4.0-compatibility.patch New: ---- postorius-1.3.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-postorius.spec ++++++ --- /var/tmp/diff_new_pack.34n1Hn/_old 2022-11-22 16:10:55.230254511 +0100 +++ /var/tmp/diff_new_pack.34n1Hn/_new 2022-11-22 16:10:55.238254552 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-postorius # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,7 +44,7 @@ %endif Name: python-postorius -Version: 1.3.6 +Version: 1.3.7 Release: 0 Summary: A web user interface for GNU Mailman License: GPL-3.0-only @@ -59,9 +59,6 @@ Source20: README.SUSE.md # Patch0: postorius-settings.patch -# Make compatible with django 4.0 -# https://gitlab.com/mailman/postorius/-/commit/db2bd36a76f21d0637b5b7894f564918161c3185 -Patch1: postorius-fix-django-4.0-compatibility.patch # BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -81,7 +78,9 @@ BuildRequires: %{python_module Django >= 2.2} BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module cmarkgfm} +BuildRequires: %{python_module django-debug-toolbar >= 2.2} BuildRequires: %{python_module django-mailman3 >= 1.3.7} +BuildRequires: %{python_module django-requests-debug-toolbar >= 0.0.3} BuildRequires: %{python_module isort} BuildRequires: %{python_module mailmanclient >= 3.3.3} BuildRequires: %{python_module pytest-django} @@ -97,7 +96,9 @@ %package -n %{postorius_pkgname} Summary: A web user interface for GNU Mailman Requires: %{mypython}-Django >= 1.11 +Requires: %{mypython}-django-debug-toolbar >= 2.2.0 Requires: %{mypython}-django-mailman3 >= 1.3.7 +Requires: %{mypython}-django-requests-debug-toolbar >= 0.0.3 Requires: %{mypython}-mailmanclient >= 3.3.2 Requires: %{mypython}-readme_renderer %if "%{expand:%%%{mypython}_provides}" == "python3" @@ -112,9 +113,9 @@ %package -n %{postorius_pkgname}-web Summary: The webroot for GNU Mailman +Requires: %{postorius_pkgname} Requires: acl Requires: openssl -Requires: %{postorius_pkgname} Requires: sudo %description -n %{postorius_pkgname}-web @@ -199,14 +200,12 @@ install -m 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/uwsgi/vassals/postorius.ini %check -pushd example_project -export PYTHONPATH='../src' +export PYTHONPATH="$(pwd):$(pwd)/src" export LANG=C.UTF-8 -%pytest .. +%pytest # clean flavored alternatives created by test setup, because we are going to install the example_project as docs rm -rf build/flavorbin rm -rf build/xdgflavorconfig -popd %pre -n %{postorius_pkgname}-web /usr/sbin/groupadd -r postorius &>/dev/null || : @@ -246,6 +245,7 @@ %{postorius_basedir}/static/admin %{postorius_basedir}/static/django-mailman3 %{postorius_basedir}/static/postorius +%{postorius_basedir}/static/debug_toolbar %attr(750,root,postorius) %dir %{postorius_etcdir} %attr(640,root,postorius) %config(noreplace) %{postorius_etcdir}/settings_local.py ++++++ postorius-1.3.6.tar.gz -> postorius-1.3.7.tar.gz ++++++ ++++ 156143 lines of diff (skipped) ++++++ postorius-settings.patch ++++++ --- /var/tmp/diff_new_pack.34n1Hn/_old 2022-11-22 16:10:55.790257352 +0100 +++ /var/tmp/diff_new_pack.34n1Hn/_new 2022-11-22 16:10:55.794257373 +0100 @@ -1,8 +1,8 @@ -Index: postorius-1.3.6/example_project/settings.py +Index: postorius-1.3.7/example_project/settings.py =================================================================== ---- postorius-1.3.6.orig/example_project/settings.py 2021-09-19 03:21:45.000000000 +0200 -+++ postorius-1.3.6/example_project/settings.py 2021-11-18 08:48:27.881938336 +0100 -@@ -136,7 +136,7 @@ WSGI_APPLICATION = 'wsgi.application' +--- postorius-1.3.7.orig/example_project/settings.py 2022-10-22 07:10:31.000000000 +0200 ++++ postorius-1.3.7/example_project/settings.py 2022-11-17 16:05:22.163232646 +0100 +@@ -142,7 +142,7 @@ WSGI_APPLICATION = 'wsgi.application' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', @@ -11,7 +11,7 @@ } } -@@ -180,7 +180,7 @@ USE_TZ = True +@@ -190,7 +190,7 @@ USE_TZ = True # Don't put anything in this directory yourself; store your static files # in apps' "static/" subdirectories and in STATICFILES_DIRS. # Example: "/var/www/example.com/static/" @@ -20,7 +20,7 @@ # URL prefix for static files. # Example: "http://example.com/static/", "http://static.example.com/" -@@ -259,7 +259,7 @@ LOGGING = { +@@ -269,7 +269,7 @@ LOGGING = { 'level': 'INFO', #'class': 'logging.handlers.RotatingFileHandler', 'class': 'logging.handlers.WatchedFileHandler',