Accepting request 1323532 from devel:languages:python:mailman

OBS-URL: https://build.opensuse.org/request/show/1323532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=34
This commit is contained in:
2025-12-18 17:37:27 +00:00
committed by Git OBS Bridge
3 changed files with 34 additions and 2 deletions

25
django52.patch Normal file
View File

@@ -0,0 +1,25 @@
From b8b7536c2cb7380ec55ed62140617cff8ae36b1d Mon Sep 17 00:00:00 2001
From: SATOH Fumiyasu <fumiyas@osstech.co.jp>
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",

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 18 09:09:01 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add upstream django52.patch to officially support Django 5.2
-------------------------------------------------------------------
Tue Mar 11 13:19:11 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-HyperKitty
#
# Copyright (c) 2024 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}}