Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-drf-spectacular for
openSUSE:Factory checked in at 2025-10-07 18:27:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-drf-spectacular (Old)
and /work/SRC/openSUSE:Factory/.python-drf-spectacular.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-drf-spectacular"
Tue Oct 7 18:27:44 2025 rev:5 rq:1309429 version:0.28.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-drf-spectacular/python-drf-spectacular.changes
2025-04-29 16:40:32.338589639 +0200
+++
/work/SRC/openSUSE:Factory/.python-drf-spectacular.new.11973/python-drf-spectacular.changes
2025-10-07 18:29:08.395411796 +0200
@@ -1,0 +2,6 @@
+Tue Oct 7 05:54:56 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-drf-3.16.1.patch:
+ * Support djangorestframework 3.16.1 changes.
+
+-------------------------------------------------------------------
New:
----
support-drf-3.16.1.patch
----------(New B)----------
New:
- Add patch support-drf-3.16.1.patch:
* Support djangorestframework 3.16.1 changes.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-drf-spectacular.spec ++++++
--- /var/tmp/diff_new_pack.uQE3dX/_old 2025-10-07 18:29:09.155443943 +0200
+++ /var/tmp/diff_new_pack.uQE3dX/_new 2025-10-07 18:29:09.159444112 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-drf-spectacular
#
-# 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
@@ -25,7 +25,9 @@
URL: https://github.com/tfranzel/drf-spectacular
Source:
https://files.pythonhosted.org/packages/source/d/drf-spectacular/drf_spectacular-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/tfranzel/drf-spectacular/pull/1381
Django 5.2 and python 3.13 minor changes
-Patch: py313.patch
+Patch0: py313.patch
+# PATCH-FIX-UPSTREAM gh#tfranzel/drf-spectacular#1455
+Patch1: support-drf-3.16.1.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
++++++ support-drf-3.16.1.patch ++++++
>From 8f8e0c94617129b6009b9fdb844b38bd5948a8ce Mon Sep 17 00:00:00 2001
From: "T. Franzel" <[email protected]>
Date: Sun, 21 Sep 2025 19:33:56 +0200
Subject: [PATCH] fix test for i18n changes on DRF (#1444)
---
tests/test_i18n.py | 2 ++
tests/test_i18n.yml | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/test_i18n.py b/tests/test_i18n.py
index 15b771a1..19928f32 100644
--- a/tests/test_i18n.py
+++ b/tests/test_i18n.py
@@ -6,6 +6,7 @@
from django.urls import include, path
from django.utils import translation
from django.utils.translation import gettext_lazy as _
+from rest_framework import __version__ as DRF_VERSION # type:
ignore[attr-defined]
from rest_framework import mixins, routers, serializers, viewsets
from rest_framework.test import APIClient
@@ -64,6 +65,7 @@ def create(self, request, *args, **kwargs):
'drf_spectacular.settings.spectacular_settings.DESCRIPTION',
_('Lazy translated description with missing translation')
)
[email protected](DRF_VERSION < '3.16.1', reason='DRF updated translations')
def test_i18n_strings(no_warnings):
with translation.override('de-de'):
schema = generate_schema(None, patterns=urlpatterns)
diff --git a/tests/test_i18n.yml b/tests/test_i18n.yml
index b5a8d022..66b1faca 100644
--- a/tests/test_i18n.yml
+++ b/tests/test_i18n.yml
@@ -106,7 +106,7 @@ paths:
name: id
schema:
type: integer
- description: A unique integer value identifying this
Internätiönalisierung.
+ description: Ein eindeutiger Ganzzahl-Wert, der Internätiönalisierung
identifiziert.
required: true
tags:
- x