Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-djangorestframework-stubs for
openSUSE:Factory checked in at 2026-09-07 11:31:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-djangorestframework-stubs (Old)
and /work/SRC/openSUSE:Factory/.python-djangorestframework-stubs.new.1265
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-djangorestframework-stubs"
Mon Sep 7 11:31:04 2026 rev:4 rq:1375805 version:3.18.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-djangorestframework-stubs/python-djangorestframework-stubs.changes
2025-09-18 21:11:01.624327367 +0200
+++
/work/SRC/openSUSE:Factory/.python-djangorestframework-stubs.new.1265/python-djangorestframework-stubs.changes
2026-09-07 11:33:17.069314146 +0200
@@ -1,0 +2,43 @@
+Fri Aug 28 12:43:41 UTC 2026 - Markéta Machová <[email protected]>
+
+- Update to version 3.18.1:
+ * Fix `ManyRelatedField` type parameters & relation field
`default`/`initial` types (#1049)
+ * Fix `PrimaryKeyRelatedField` `pk_field` attribute & parameter type (#1047)
+ * Fix remaining items in stubtest `allowlist_todo.txt` and remove the file
(#1039)
+ * Mark stub-only synthetic types with @type_check_only (#1038)
+ * Categorize stubtest allowlist_todo.txt entries (#1037)
+ * Drop Python 3.10 support (#1035)
+ * Update stubs for djangorestframework 3.18.0 (#1030)
+ * Update dependency djangorestframework to v3.18.0 & create new allowlist
(#1024)
+ * Fix Request.data type to include list[Any] for JSON bulk payloads (#1016)
+ * Update dependency mypy to >=1.13,<2.4 (#1009)
+ * fix: accept Sequence in paginate_queryset, not just QuerySet (#1001)
+ * Clean up and improve `rest_framework.fields` (#988)
+ * Update dependency pytest-mypy-plugins to v4.0.3 (#985)
+
+-------------------------------------------------------------------
+Thu Jul 16 07:56:44 UTC 2026 - Markéta Machová <[email protected]>
+
+- Update to version 3.17.0:
+ * Clean up and improve `rest_framework.fields` (#964)
+ * Unpin `types-*` dev dependencies for automatic Renovate updates (#983)
+ * Update dependency mypy to v2 (#975)
+ * Clean up and improve `rest_framework.renderers` (#960)
+ * Change `Serializer` context type `dict` -> `Mapping` (#946)
+ * Add missing decorator stubs for DRF 3.17 (#949)
+ * Fix incomplete types in `rest_framework.utils` (#935)
+ * Add @override decorators & align mypy config with django-stubs (#928)
+ * Remove redundant subclass method annotations in `pagination` (#917)
+ * Fix incorrect function signatures in documentation and schemas stubs (#909)
+ * Add stub for APIClient.generic. (#911)
+ * Fix Request stub allowing arbitrary attribute access (#904)
+ * Remove `requests` dependency (#896)
+ * Convert simpler tests to `assert_type()` tests (#854)
+ * Add official support & test with Python 3.14 (#850)
+ * Fix `SlugRelatedField.slug_field` type: cannot be `None` (#830)
+ * Use explicit mypy error codes in ignore comments and output (#497)
+ * Remove non-existant function
`templatetags.rest_framework.urlize_quoted_links()` (#699)
+ * [Breaking change] Remove work-around for `ModelSerializer.instance` field
for `many=True` (#719)
+ * Accept lazy strings as path in `APIRequestFactory` and `APIClient` http
methods (#825)
+
+-------------------------------------------------------------------
Old:
----
djangorestframework-stubs-3.16.2.obscpio
New:
----
djangorestframework-stubs-3.18.1.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-djangorestframework-stubs.spec ++++++
--- /var/tmp/diff_new_pack.7Fi5Yz/_old 2026-09-07 11:33:17.689335871 +0200
+++ /var/tmp/diff_new_pack.7Fi5Yz/_new 2026-09-07 11:33:17.691335941 +0200
@@ -27,7 +27,7 @@
%define package_name djangorestframework_stubs
%{?sle15_python_module_pythons}
Name: python-djangorestframework-stubs%{psuffix}
-Version: 3.16.2
+Version: 3.18.1
Release: 0
Summary: PEP-484 stubs for django-rest-framework
License: MIT
@@ -35,24 +35,18 @@
Source: %{short_name}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module uv-build}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-django-stubs
-Requires: python-django-stubs-ext
-Requires: python-requests
Requires: python-types-PyYAML
-Requires: python-types-requests
Requires: python-typing_extensions
BuildArch: noarch
%if %{with test}
-BuildRequires: %{python_module django-stubs-ext}
-BuildRequires: %{python_module django-stubs}
+BuildRequires: %{python_module djangorestframework}
+BuildRequires: %{python_module djangorestframework-stubs = %{version}}
BuildRequires: %{python_module pytest-mypy-plugins}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module requests}
-BuildRequires: %{python_module types-PyYAML}
-BuildRequires: %{python_module types-requests}
-BuildRequires: %{python_module typing_extensions}
%endif
%python_subpackages
@@ -63,7 +57,9 @@
%autosetup -p1 -n %{short_name}-%{version}
%build
+%if !%{with test}
%pyproject_wheel
+%endif
%install
%if !%{with test}
@@ -74,8 +70,8 @@
%check
%if %{with test}
-%python_expand PYTHONPATH=$PWD
-%pytest --mypy-only-local-stub
+export PYTHONPATH=$PWD
+%pytest
%endif
%if !%{with test}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.7Fi5Yz/_old 2026-09-07 11:33:17.744337798 +0200
+++ /var/tmp/diff_new_pack.7Fi5Yz/_new 2026-09-07 11:33:17.750338009 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param
name="url">https://github.com/typeddjango/djangorestframework-stubs.git</param>
<param name="scm">git</param>
- <param name="revision">3.16.2</param>
+ <param name="revision">3.18.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
</service>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.7Fi5Yz/_old 2026-09-07 11:33:17.776338920 +0200
+++ /var/tmp/diff_new_pack.7Fi5Yz/_new 2026-09-07 11:33:17.781339095 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/typeddjango/djangorestframework-stubs.git</param>
- <param
name="changesrevision">0eddd3d34b42b801ba8b2301962de505a9e2af4c</param></service></servicedata>
+ <param
name="changesrevision">11062a8e197e9b003e0b1d1a63a930bf0ceed2c0</param></service></servicedata>
(No newline at EOF)
++++++ djangorestframework-stubs-3.16.2.obscpio ->
djangorestframework-stubs-3.18.1.obscpio ++++++
++++ 6601 lines of diff (skipped)
++++++ djangorestframework-stubs.obsinfo ++++++
--- /var/tmp/diff_new_pack.7Fi5Yz/_old 2026-09-07 11:33:18.011347154 +0200
+++ /var/tmp/diff_new_pack.7Fi5Yz/_new 2026-09-07 11:33:18.019347434 +0200
@@ -1,5 +1,5 @@
name: djangorestframework-stubs
-version: 3.16.2
-mtime: 1755194111
-commit: 0eddd3d34b42b801ba8b2301962de505a9e2af4c
+version: 3.18.1
+mtime: 1787697490
+commit: 11062a8e197e9b003e0b1d1a63a930bf0ceed2c0