Accepting request 1323491 from devel:languages:python:mailman

OBS-URL: https://build.opensuse.org/request/show/1323491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-postorius?expand=0&rev=14
This commit is contained in:
2025-12-18 17:35:52 +00:00
committed by Git OBS Bridge
3 changed files with 39 additions and 4 deletions

28
django52.patch Normal file
View File

@@ -0,0 +1,28 @@
From 0468ab0329df85b89e6b5d9f7b4d1805f47450c9 Mon Sep 17 00:00:00 2001
From: SATOH Fumiyasu <fumiyas@osstech.co.jp>
Date: Tue, 5 Aug 2025 15:16:22 +0000
Subject: [PATCH] feat: Add Python 3.13 and Django 5.2 (LTS) support
---
.gitlab-ci.yml | 40 ++++++++++++++++----------------------
pyproject.toml | 2 +-
src/postorius/doc/news.rst | 2 ++
tox.ini | 8 +++++---
4 files changed, 25 insertions(+), 27 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 83b76d5c..de948694 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -16,7 +16,7 @@ classifiers = [
]
dependencies = [
"django-mailman3>=1.3.13",
- "django>=4.2,<5.1",
+ "django>=4.2,<5.3",
"mailmanclient>=3.3.3",
"readme_renderer[md]",
]
--
GitLab

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 17 13:32:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add upstream django52.patch to officially support Django 5.2
-------------------------------------------------------------------
Wed Mar 12 16:36:19 UTC 2025 - Christian Boltz <suse-beta@cboltz.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-postorius
#
# 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
@@ -18,10 +18,10 @@
%bcond_without testsuite
# keep in sync with setup.py
# keep in sync with pyproject.toml
%global django_mailman3_min_version 1.3.13
%global django_min_version 4.2
%global django_max_version 5.1
%global django_max_version 5.3
%global mailmanclient_min_version 3.3.3
%global srv_www_dir /srv/www
@@ -67,10 +67,12 @@ Source12: postorius.uwsgi
Source20: README.SUSE.md
#
Patch0: postorius-settings.patch
# PATCH-FIX-UPSTREAM https://gitlab.com/mailman/postorius/-/commit/0468ab0329df85b89e6b5d9f7b4d1805f47450c9 feat: Add Python 3.13 and Django 5.2 (LTS) support
Patch1: django52.patch
#
BuildRequires: %{python_module legacy-cgi}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: acl