Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-HyperKitty for openSUSE:Factory checked in at 2023-06-22 23:27:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-HyperKitty (Old) and /work/SRC/openSUSE:Factory/.python-HyperKitty.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-HyperKitty" Thu Jun 22 23:27:03 2023 rev:20 rq:1094670 version:1.3.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-HyperKitty/python-HyperKitty.changes 2023-04-12 16:25:22.631855627 +0200 +++ /work/SRC/openSUSE:Factory/.python-HyperKitty.new.15902/python-HyperKitty.changes 2023-06-22 23:27:44.366355146 +0200 @@ -1,0 +2,9 @@ +Sun Jun 18 16:12:47 UTC 2023 - Andreas Schneider <[email protected]> + +- Update to version 1.3.7 + * ``hyperkitty_import`` will now import messages to a list with archiving + disabled. (Closes #451) + * Add support for Python 3.11. +- Use sle15_python_module_pythons + +------------------------------------------------------------------- @@ -4,0 +14,43 @@ + +------------------------------------------------------------------- +Mon Nov 21 09:34:53 UTC 2022 - Andreas Schneider <[email protected]> + +- Update to version 1.3.6 + * Fixed an issue in hyperkitty_import with an empty Message-ID. (Closes #396) + * Set Q_CLUSTER retry > timeout in example_project. (Closes #402) + * Set DEFAULT_AUTO_FIELD to silence errors with Django >= 3.2. + * Require mistune >= 2.0.0 and fix a problem with importing from it. (Closes + #395) + * Adapt parsing of emails to be compatible with python 3.10. (Closes #401) + * Add gitlab-ci integration for python 3.10. + * Skip lists with private archives in the find list search. (Closes #237) + * Add a new setting HYPERKITTY_MBOX_EXPORT which, when set to false, removes + the :guilabel:`Download` button and disables the export view. ( Fixes #386) + * Return 400 instead of 500 when the sort mode is invalid. (Fixes #270) + * Allow HyperKitty to find attachments in either the database or the + HYPERKITTY_ATTACHMENT_FOLDER. (Closes #213) + * Implemented a new attachments_to_file management command to move attachment + content to the file system after setting HYPERKITTY_ATTACHMENT_FOLDER. + (Closes #413) + * Handle exception when a banned address tries to post. (Fixes #325) + * Add an index on the 'name' column (fqdn)for the MailingList table since it + is most frequently used to query the MailingList object. + * Add the ability to view a thread without Javascript enabled. This uses the + same mechanism we use with bot-detection and rendering of the entire page + at once, which will be slow to load but allow reading. (See #422) + * Improve the performance of the thread view for logged-in users by + optimizing the total database calls made. (See !409) + * Add support for Django <= 4.1 + * Remove support for Django < 3.2 + * Remove support for Python 3.6 + * Fix tests to be compatible with Python 3.10 + * Replace use of mock with unittest.mock in all tests. (Closes #429) + * The check for writability of HYPERKITTY_ATTACHMENT_FOLDER when set has been + improved to avoid a potential race condition. (Closes #389) +- Run complete testsuite with pytest +- Removed hyperkitty-django4.patch +- Removed hyperkitty-fix-mistune-2.0-imports.patch +- Removed python-HyperKitty-no-mock.patch +- Removed hyperkitty-fix-qcluster-timeout.patch +- Removed hyperkitty-fix-py310-tests.patch +- Removed fix-django41.patch Old: ---- HyperKitty-1.3.5.tar.gz fix-django41.patch hyperkitty-django4.patch hyperkitty-fix-mistune-2.0-imports.patch hyperkitty-fix-py310-tests.patch hyperkitty-fix-qcluster-timeout.patch python-HyperKitty-no-mock.patch New: ---- HyperKitty-1.3.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-HyperKitty.spec ++++++ --- /var/tmp/diff_new_pack.IWGP82/_old 2023-06-22 23:27:45.842362674 +0200 +++ /var/tmp/diff_new_pack.IWGP82/_new 2023-06-22 23:27:45.898362960 +0200 @@ -38,15 +38,15 @@ %define __mypython %{__python39} %define mypython_sitelib %{python39_sitelib} %else -%{?!python_module:%define python_module() python3-%{**}} -%define pythons python3 +%{?sle15_python_module_pythons} +%define pythons python311 %define mypython python3 %define __mypython %{__python3} %define mypython_sitelib %{python3_sitelib} %endif Name: python-HyperKitty -Version: 1.3.5 +Version: 1.3.7 Release: 0 Summary: A web interface to access GNU Mailman v3 archives License: GPL-3.0-only @@ -67,21 +67,8 @@ # PATCH-FIX-OPENSUSE hyperkitty-settings.patch [email protected] # hard-code locations of configuration files Patch0: hyperkitty-settings.patch -# PATCH-FIX-UPSTREAM hyperkitty-fix-mistune-2.0-imports.patch gl#mailman/hyperkitty#379 [email protected] -# Two elements moved in mistune 2.0 -Patch1: hyperkitty-fix-mistune-2.0-imports.patch -# PATCH-FIX-UPSTREAM hyperkitty-django4.patch gl#mailman/hyperkitty#384 [email protected] -Patch2: hyperkitty-django4.patch -# https://gitlab.com/mailman/hyperkitty/-/issues/429 -Patch3: python-HyperKitty-no-mock.patch -# https://gitlab.com/mailman/hyperkitty/-/commit/3edc0c58b8dea3b0bdccd77c0794ada28d1c6f61 -Patch4: hyperkitty-fix-qcluster-timeout.patch -# https://gitlab.com/mailman/hyperkitty/-/merge_requests/381 + https://gitlab.com/mailman/hyperkitty/-/merge_requests/449 -Patch5: hyperkitty-fix-py310-tests.patch -# PATCH-FIX-UPSTREAM fix-django41.patch gl#mailman/hyperkitty#467 -Patch6: fix-django41.patch # PATCH-FIX-UPSTREAM fix-elasticsearch8.patch gl#mailman/hyperkitty#468 -Patch7: fix-elasticsearch8.patch +Patch1: fix-elasticsearch8.patch # BuildRequires: %{python_module django-debug-toolbar >= 2.2} BuildRequires: %{python_module isort} @@ -108,7 +95,7 @@ BuildRequires: %{python_module django-extensions >= 1.3.7} BuildRequires: %{python_module django-gravatar2 >= 1.0.6} BuildRequires: %{python_module django-haystack >= 2.8.0} -BuildRequires: %{python_module django-mailman3 >= 1.3.7} +BuildRequires: %{python_module django-mailman3 >= 1.3.8} BuildRequires: %{python_module django-q >= 1.3.9} BuildRequires: %{python_module djangorestframework >= 3.0.0} BuildRequires: %{python_module elasticsearch} @@ -191,18 +178,11 @@ cp %{SOURCE30} . touch settings_local.py -%patch2 -p1 - # Copy example_project to just build the static files rsync -a example_project/* build_static_files %patch0 -p1 %patch1 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 %build sed -i 's|^#!/usr/bin/env.*|#!%{__mypython}|' \ @@ -307,9 +287,9 @@ done %check -export DJANGO_SETTINGS_MODULE="hyperkitty.tests.settings_test" -export PYTHONPATH=$(pwd) -%python_exec example_project/manage.py test +export PYTHONPATH="$(pwd)" +export LANG=C.UTF-8 +%pytest %pre -n %{hyperkitty_pkgname}-web /usr/sbin/groupadd -r hyperkitty &>/dev/null || : @@ -364,7 +344,6 @@ %{hyperkitty_basedir}/static/debug_toolbar %{hyperkitty_basedir}/static/django-mailman3 %{hyperkitty_basedir}/static/django_extensions -%{hyperkitty_basedir}/static/facebook %{hyperkitty_basedir}/static/hyperkitty %{hyperkitty_basedir}/static/rest_framework ++++++ HyperKitty-1.3.5.tar.gz -> HyperKitty-1.3.7.tar.gz ++++++ ++++ 74449 lines of diff (skipped) ++++++ hyperkitty-settings.patch ++++++ --- /var/tmp/diff_new_pack.IWGP82/_old 2023-06-22 23:27:47.414370691 +0200 +++ /var/tmp/diff_new_pack.IWGP82/_new 2023-06-22 23:27:47.414370691 +0200 @@ -1,8 +1,8 @@ -Index: HyperKitty-1.3.5/example_project/settings.py +Index: HyperKitty-1.3.6/example_project/settings.py =================================================================== ---- HyperKitty-1.3.5.orig/example_project/settings.py 2021-10-12 23:40:25.000000000 +0200 -+++ HyperKitty-1.3.5/example_project/settings.py 2021-11-17 09:36:12.809720361 +0100 -@@ -135,7 +135,7 @@ DATABASES = { +--- HyperKitty-1.3.6.orig/example_project/settings.py 2022-05-19 03:16:49.000000000 +0200 ++++ HyperKitty-1.3.6/example_project/settings.py 2022-11-21 10:36:26.670671874 +0100 +@@ -134,7 +134,7 @@ DATABASES = { # Use 'sqlite3', 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'ENGINE': 'django.db.backends.sqlite3', # DB name or path to database file if using sqlite3. @@ -11,7 +11,7 @@ # The following settings are not used with sqlite3: 'USER': 'hyperkitty', 'PASSWORD': 'hkpass', -@@ -203,7 +203,7 @@ USE_TZ = True +@@ -205,7 +205,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/" -@@ -396,7 +396,7 @@ LOGGING = { +@@ -386,7 +386,7 @@ LOGGING = { 'level': 'INFO', #'class': 'logging.handlers.RotatingFileHandler', 'class': 'logging.handlers.WatchedFileHandler',
