Hello community, here is the log from the commit of package python-HyperKitty for openSUSE:Factory checked in at 2020-05-14 23:27:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-HyperKitty (Old) and /work/SRC/openSUSE:Factory/.python-HyperKitty.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-HyperKitty" Thu May 14 23:27:46 2020 rev:3 rq:805605 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-HyperKitty/python-HyperKitty.changes 2020-01-10 17:50:46.322121849 +0100 +++ /work/SRC/openSUSE:Factory/.python-HyperKitty.new.2738/python-HyperKitty.changes 2020-05-14 23:27:50.769380580 +0200 @@ -1,0 +2,13 @@ +Thu May 14 12:57:07 UTC 2020 - pgaj...@suse.com + +- version update to 1.3.2 + - Remove support for Django 1.11. (Closes #273) + - Skip ``Thread.DoesNotExist`` exception when raised within + ``rebuild_thread_cache_votes``. (Closes #245) + - Send 400 status code for ``ValueError`` when archiving. (Closes #271) + - Fix a bug where exception for elasticsearch backend would not be caught. (Closes #263) +- added patches + https://gitlab.com/mailman/hyperkitty/-/commit/03c99ad5beefeac4474b5a00c840fd9debccba02 + + python-HyperKitty-remove-legacy-use-of-available_attrs.patch + +------------------------------------------------------------------- Old: ---- HyperKitty-1.3.1.tar.gz New: ---- HyperKitty-1.3.2.tar.gz python-HyperKitty-remove-legacy-use-of-available_attrs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-HyperKitty.spec ++++++ --- /var/tmp/diff_new_pack.q1mdn4/_old 2020-05-14 23:27:52.333383993 +0200 +++ /var/tmp/diff_new_pack.q1mdn4/_new 2020-05-14 23:27:52.337384002 +0200 @@ -19,12 +19,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-HyperKitty -Version: 1.3.1 +Version: 1.3.2 Release: 0 Summary: A web interface to access GNU Mailman v3 archives License: GPL-3.0-only URL: https://gitlab.com/mailman/hyperkitty Source: https://files.pythonhosted.org/packages/source/H/HyperKitty/HyperKitty-%{version}.tar.gz +# https://gitlab.com/mailman/hyperkitty/-/commit/03c99ad5beefeac4474b5a00c840fd9debccba02 +Patch0: python-HyperKitty-remove-legacy-use-of-available_attrs.patch BuildRequires: %{python_module isort} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -56,6 +58,7 @@ BuildRequires: %{python_module django-mailman3 >= 1.2.0} BuildRequires: %{python_module django-q >= 1.0.0} BuildRequires: %{python_module djangorestframework >= 3.0.0} +BuildRequires: %{python_module elasticsearch} BuildRequires: %{python_module flufl.lock} BuildRequires: %{python_module mailmanclient >= 3.1.1} BuildRequires: %{python_module mock} @@ -73,6 +76,7 @@ %prep %setup -q -n HyperKitty-%{version} +%patch0 -p1 %build %python_build ++++++ HyperKitty-1.3.1.tar.gz -> HyperKitty-1.3.2.tar.gz ++++++ ++++ 131333 lines of diff (skipped) ++++++ python-HyperKitty-remove-legacy-use-of-available_attrs.patch ++++++ diff --git a/hyperkitty/lib/view_helpers.py b/hyperkitty/lib/view_helpers.py index 4e19e7c01d03cd3f52f8edb06876f135d59b284b..9094d2183a3eb650c33127270ec2e783f61b3a23 100644 --- a/hyperkitty/lib/view_helpers.py +++ b/hyperkitty/lib/view_helpers.py @@ -25,7 +25,6 @@ from functools import wraps from django.http import Http404 from django.shortcuts import render -from django.utils.decorators import available_attrs from django.utils.timezone import utc from django_mailman3.lib.mailman import get_subscriptions @@ -117,7 +116,7 @@ def get_category_widget(request, current_category=None): # View decorator: check that the list is authorized def check_mlist_private(func): - @wraps(func, assigned=available_attrs(func)) + @wraps(func) def inner(request, *args, **kwargs): if "mlist_fqdn" in kwargs: mlist_fqdn = kwargs["mlist_fqdn"]