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 2026-09-17 15:24:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-drf-spectacular (Old)
and /work/SRC/openSUSE:Factory/.python-drf-spectacular.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-drf-spectacular"
Thu Sep 17 15:24:22 2026 rev:8 rq:1378489 version:0.30.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-drf-spectacular/python-drf-spectacular.changes
2026-08-21 16:59:53.205971737 +0200
+++
/work/SRC/openSUSE:Factory/.python-drf-spectacular.new.383539/python-drf-spectacular.changes
2026-09-17 15:24:33.464909943 +0200
@@ -1,0 +2,7 @@
+Thu Sep 17 00:31:33 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-django-oauth-toolkit-3.4.patch:
+ * Silence new errors from django-oauth-toolkit 3.4+
+- Ship license and README in the built packages.
+
+-------------------------------------------------------------------
New:
----
support-django-oauth-toolkit-3.4.patch
----------(New B)----------
New:
- Add patch support-django-oauth-toolkit-3.4.patch:
* Silence new errors from django-oauth-toolkit 3.4+
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-drf-spectacular.spec ++++++
--- /var/tmp/diff_new_pack.mRSYWG/_old 2026-09-17 15:24:34.359947480 +0200
+++ /var/tmp/diff_new_pack.mRSYWG/_new 2026-09-17 15:24:34.360947522 +0200
@@ -24,6 +24,8 @@
License: BSD-3-Clause
URL: https://github.com/tfranzel/drf-spectacular
Source:
https://files.pythonhosted.org/packages/source/d/drf-spectacular/drf_spectacular-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Silence new errors from django-oauth-toolkit 3.4+
+Patch0: support-django-oauth-toolkit-3.4.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -71,6 +73,8 @@
%pytest
%files %{python_files}
+%license LICENSE
+%doc README.rst
%{python_sitelib}/drf_spectacular
%{python_sitelib}/drf_spectacular-%{version}.dist-info
++++++ support-django-oauth-toolkit-3.4.patch ++++++
Index: drf_spectacular-0.30.0/tests/conftest.py
===================================================================
--- drf_spectacular-0.30.0.orig/tests/conftest.py
+++ drf_spectacular-0.30.0/tests/conftest.py
@@ -116,7 +116,10 @@ def pytest_configure(config):
DEFAULT_AUTO_FIELD='django.db.models.AutoField',
SILENCED_SYSTEM_CHECKS=[
'rest_framework.W001', 'fields.E210', 'security.W001',
'security.W002',
- 'security.W003', 'security.W009', 'security.W012'
+ 'security.W003', 'security.W009', 'security.W012',
+ 'oauth2_provider.W001', 'oauth2_provider.W002',
'oauth2_provider.W003',
+ 'oauth2_provider.W004', 'oauth2_provider.W005',
'oauth2_provider.W006',
+ 'oauth2_provider.W007', 'oauth2_provider.W008'
],
)