From 60699afc1d1717ef72db9b1c6e35d5e9fbf994dac622956c819925efbaac59b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 2 Nov 2023 09:06:53 +0000 Subject: [PATCH 1/2] Accepting request 1122202 from home:gladiac:mailman - Update to version 1.3.11 * See https://gitlab.com/mailman/django-mailman3/-/blob/master/README.rst or README.rst packaged in this file. * BREAKING CHANGE: django_mailman3 now requires django_allauth>=0.56. This requires the addition of allauth.account.middleware.AccountMiddleware to MIDDLEWARE in your Django settings. If your installation uses settings from mailman-web as here, upgrading mailman-web to 0.0.7 will do this. OBS-URL: https://build.opensuse.org/request/show/1122202 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-django-mailman3?expand=0&rev=30 --- django-mailman3-1.3.11.tar.gz | 3 +++ django-mailman3-1.3.9.tar.gz | 3 --- python-django-mailman3.changes | 11 +++++++++++ python-django-mailman3.spec | 6 +++--- 4 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 django-mailman3-1.3.11.tar.gz delete mode 100644 django-mailman3-1.3.9.tar.gz diff --git a/django-mailman3-1.3.11.tar.gz b/django-mailman3-1.3.11.tar.gz new file mode 100644 index 0000000..5d1e39d --- /dev/null +++ b/django-mailman3-1.3.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b888c96991d62f67af8fea0848ba6bbca593e529b97f610a8140f5b702f555b4 +size 417809 diff --git a/django-mailman3-1.3.9.tar.gz b/django-mailman3-1.3.9.tar.gz deleted file mode 100644 index b80e605..0000000 --- a/django-mailman3-1.3.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a92355b43bd689a4b17f99c4b6de4b490d9b0febd4b6cd0cbb76b3a25819d33 -size 412463 diff --git a/python-django-mailman3.changes b/python-django-mailman3.changes index c967c89..0e4e4ae 100644 --- a/python-django-mailman3.changes +++ b/python-django-mailman3.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Nov 2 07:18:55 UTC 2023 - Andreas Schneider + +- Update to version 1.3.11 + * See https://gitlab.com/mailman/django-mailman3/-/blob/master/README.rst + or README.rst packaged in this file. + * BREAKING CHANGE: django_mailman3 now requires django_allauth>=0.56. This + requires the addition of allauth.account.middleware.AccountMiddleware to + MIDDLEWARE in your Django settings. If your installation uses settings from + mailman-web as here, upgrading mailman-web to 0.0.7 will do this. + ------------------------------------------------------------------- Sun Jun 25 08:23:00 UTC 2023 - Andreas Schneider diff --git a/python-django-mailman3.spec b/python-django-mailman3.spec index 42a46e8..9a9276c 100644 --- a/python-django-mailman3.spec +++ b/python-django-mailman3.spec @@ -19,17 +19,17 @@ %{?sle15_python_module_pythons} %define modname django_mailman3 Name: python-django-mailman3 -Version: 1.3.9 +Version: 1.3.11 Release: 0 Summary: Django library to help interaction with Mailman License: GPL-3.0-only URL: https://gitlab.com/mailman/django-mailman3 -Source: https://files.pythonhosted.org/packages/04/b0/34331deb242988466cd34ffaa04c316c5eaf40760998d9ff2055142e2c6a/django-mailman3-1.3.9.tar.gz +Source: https://files.pythonhosted.org/packages/source/d/django-mailman3/django-mailman3-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Django >= 1.11 -Requires: python-django-allauth +Requires: python-django-allauth >= 0.56 Requires: python-django-gravatar2 >= 1.0.6 Requires: python-mailmanclient Requires: python-pytz From 934ba5fff96ca6f35b778651026c098186ea7d29292789472d191b8266187950 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 6 Nov 2023 08:25:40 +0000 Subject: [PATCH 2/2] Accepting request 1123457 from home:darix:branches:devel:languages:python:mailman - make it easier to notice to keep buildrequires and runtime requires version limits in sync. This will also help us to notice early when the version of other libraries do not match the requires encoded in the source code. OBS-URL: https://build.opensuse.org/request/show/1123457 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-django-mailman3?expand=0&rev=31 --- python-django-mailman3.changes | 8 ++++++++ python-django-mailman3.spec | 21 +++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/python-django-mailman3.changes b/python-django-mailman3.changes index 0e4e4ae..603e1f6 100644 --- a/python-django-mailman3.changes +++ b/python-django-mailman3.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Nov 6 00:11:01 UTC 2023 - Marcus Rueckert + +- make it easier to notice to keep buildrequires and runtime + requires version limits in sync. This will also help us to notice + early when the version of other libraries do not match the + requires encoded in the source code. + ------------------------------------------------------------------- Thu Nov 2 07:18:55 UTC 2023 - Andreas Schneider diff --git a/python-django-mailman3.spec b/python-django-mailman3.spec index 9a9276c..8f18d7f 100644 --- a/python-django-mailman3.spec +++ b/python-django-mailman3.spec @@ -15,6 +15,11 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%global django_min_version 3.2 +%global django_max_version 4.3 +%global mailmanclient_min_version 3.3.3 +%global django_allauth_min_version 0.56 +%global django_gravatar2_min_version 1.0.6 %{?sle15_python_module_pythons} %define modname django_mailman3 @@ -28,17 +33,17 @@ Source: https://files.pythonhosted.org/packages/source/d/django-mailman3 BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Django >= 1.11 -Requires: python-django-allauth >= 0.56 -Requires: python-django-gravatar2 >= 1.0.6 -Requires: python-mailmanclient +Requires: (python-Django >= %{django_min_version} with python-Django < %{django_max_version}) +Requires: python-django-allauth >= %{django_allauth_min_version} +Requires: python-django-gravatar2 >= %{django_gravatar2_min_version} +Requires: python-mailmanclient >= %{mailmanclient_min_version} Requires: python-pytz BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module Django >= 1.11} -BuildRequires: %{python_module django-allauth} -BuildRequires: %{python_module django-gravatar2 >= 1.0.6} -BuildRequires: %{python_module mailmanclient} +BuildRequires: %{python_module Django >= %{django_min_version}} +BuildRequires: %{python_module django-allauth >= %{django_allauth_min_version}} +BuildRequires: %{python_module django-gravatar2 >= %{django_gravatar2_min_version}} +BuildRequires: %{python_module mailmanclient >= %{mailmanclient_min_version}} BuildRequires: %{python_module pytest-django} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz}