From 55c8032131a6d10636a044a8b3eb8cf54b5e352e293eeb78f3445f60b1794d69 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 17 Jul 2025 12:50:53 +0000 Subject: [PATCH 1/2] cleanup OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=96 --- python-HyperKitty.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-HyperKitty.spec b/python-HyperKitty.spec index f4fc262..fac7374 100644 --- a/python-HyperKitty.spec +++ b/python-HyperKitty.spec @@ -1,7 +1,7 @@ # # spec file for package python-HyperKitty # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 267e4cb3ab5a6bed29183c5b6fd1c31c28b46db0838bc26e6f2f163d9d8ae4f3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 18 Dec 2025 14:41:42 +0000 Subject: [PATCH 2/2] - Add upstream django52.patch to officially support Django 5.2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=97 --- django52.patch | 25 +++++++++++++++++++++++++ python-HyperKitty.changes | 5 +++++ python-HyperKitty.spec | 6 ++++-- 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 django52.patch diff --git a/django52.patch b/django52.patch new file mode 100644 index 0000000..47c5b27 --- /dev/null +++ b/django52.patch @@ -0,0 +1,25 @@ +From b8b7536c2cb7380ec55ed62140617cff8ae36b1d Mon Sep 17 00:00:00 2001 +From: SATOH Fumiyasu +Date: Fri, 1 Aug 2025 23:18:30 +0000 +Subject: [PATCH] feat: Add Python 3.13 and Django 5.2 (LTS) support + +--- + .gitlab-ci.yml | 43 ++++++++++++++++--------------------------- + doc/news.rst | 2 ++ + pyproject.toml | 3 +-- + tox.ini | 4 ++-- + 4 files changed, 21 insertions(+), 31 deletions(-) + +Index: hyperkitty-1.3.12/pyproject.toml +=================================================================== +--- hyperkitty-1.3.12.orig/pyproject.toml ++++ hyperkitty-1.3.12/pyproject.toml +@@ -23,7 +23,7 @@ dependencies = [ + "django-gravatar2>=1.0.6", + "django-haystack>=2.8.0", + "django-q2>=1.0.0", +- "django>=4.2,<5.1", ++ "django>=4.2,<5.3", + "django_mailman3>=1.3.13", + "djangorestframework>=3.0.0", + "flufl.lock>=4.0", diff --git a/python-HyperKitty.changes b/python-HyperKitty.changes index 2850f1b..6504e2e 100644 --- a/python-HyperKitty.changes +++ b/python-HyperKitty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 18 09:09:01 UTC 2025 - Markéta Machová + +- Add upstream django52.patch to officially support Django 5.2 + ------------------------------------------------------------------- Tue Mar 11 13:19:11 UTC 2025 - Bernhard Wiedemann diff --git a/python-HyperKitty.spec b/python-HyperKitty.spec index fac7374..b3169be 100644 --- a/python-HyperKitty.spec +++ b/python-HyperKitty.spec @@ -1,7 +1,7 @@ # # spec file for package python-HyperKitty # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ # keep in sync with setup.py %global django_min_version 4.2 -%global django_max_version 5.1 +%global django_max_version 5.3 %global django_mailman3_min_version 1.3.13 %global django_gravatar2_min_version 1.0.6 %global djangorestframework_min_version 3.0.0 @@ -94,6 +94,8 @@ Patch98: gl-mr300-add-opengraph-metadata.patch Patch99: gl-mr470-introduce-feed-filtering.patch Patch100: reproducible.patch # +# PATCH-FIX-UPSTREAM django52.patch feat: Add Python 3.13 and Django 5.2 (LTS) support +Patch101: django52.patch BuildRequires: %{python_module Django >= %{django_min_version} with %python-Django < %{django_max_version}} BuildRequires: %{python_module Whoosh} BuildRequires: %{python_module django-compressor >= %{django_compressor_min_version}}