File project.diff of Package python-djangorestframework
--- python-djangorestframework.changes.orig
+++ python-djangorestframework.changes
@@ -1,4 +1,50 @@
-------------------------------------------------------------------
+Thu Aug 21 07:48:40 UTC 2025 - Jürgen Löhel <juergen@loehel.de>
+
+- Update to version 3.16.1:
+ * Prepare 3.16.1 release (#9752)
+ * Turkish Translation updates (#9749)
+ * Fix test with Django 5 when pytz is available (#9715)
+ * Add note to tutorial about required request in serializer context when using `HyperlinkedModelSerializer` (#9732)
+ * Revert docs back to djangorestframework-guardian (#9734)
+ * Document that unique constraints cause `required=True` in ModelSerializer (#9725)
+ * Add Kazakh(kk) locale support (#9713)
+ * Fix regression in unique_together validation with SerializerMethodField (#9712)
+ * Update Spanish translations (#9701)
+ * Update Django documentation links to use stable version (#9698)
+ * Fix broken Heroku JSON Schema link in schemas.md (#9693)
+ * Drop HTML line breaks on long headers in browsable API (#9438)
+ * Update persian translations (#9576)
+ * Update Arabic translations (#9595)
+ * Fix `UniqueTogetherValidator` to handle fields w/ `source` attr (#9688)
+ * Updated funding page to represent current scope. (#9686)
+ * Add pyupgrade to pre-commit hooks (#9682)
+ * Add `drf-restwind` and update outdated images in `browsable-api.md` (#9680)
+ * Cleanup dependencies and conditions for unsupported Python versions (#9681)
+ * Update Chinese translations (#9675)
+ * Update test matrix to use Django 5.2 stable version (#9679)
+ * Add missing & fix German translations (#9676)
+ * Update GitHub Actions to use Ubuntu 22.04 for testing (#9677)
+ * Add missing & fix Korean translations (#9571)
+ * Removed reference to GitHub Issues and Discussions (#9660)
+ * Fix some typos in pt_BR translations (#9673)
+
+-------------------------------------------------------------------
+Thu Aug 21 07:42:25 UTC 2025 - Jürgen Löhel <juergen@loehel.de>
+
+- Update to version 3.16.0:
+ * Prepare v3.16, release notes, and announcement. (#9671)
+ * Drop Python 3.8 as EOL (#9670)
+ * Add django-pyoidc as a third party authentication library (#9667)
+ * Fix typos (#9662)
+ * Update usage of open in setup.py (#9661)
+ * Update django 5.2b1 (#9657)
+ * Update relations.md (#9063)
+ * Fix unique together validator doesn't respect condition's fields (#9360)
+ * add django 5.2a1 initial support (#9634)
+ * Add missing ignore_outcome=true for the Python 3.13 - Django main combination (#9637)
+
+-------------------------------------------------------------------
Sat Jun 29 16:41:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.15.2:
--- python-djangorestframework.spec.orig
+++ python-djangorestframework.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-djangorestframework
#
-# 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
@@ -26,18 +26,18 @@
%bcond_with test
%endif
Name: python-djangorestframework%{psuffix}
-Version: 3.15.2
+Version: 3.16.1
Release: 0
Summary: A REST Framework for Django
License: BSD-2-Clause
URL: https://www.django-rest-framework.org/
-Source: https://github.com/encode/django-rest-framework/archive/%{version}.tar.gz#/djangorestframework-%{version}.tar.gz
+Source: django-rest-framework-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-Django >= 3.0
+Requires: python-Django >= 4.2
%if 0%{?suse_version} > 1500
Recommends: python-Markdown
%endif
@@ -48,15 +48,20 @@ Provides: python-django-rest-frame
Obsoletes: python-django-rest-framework < %{version}
BuildArch: noarch
%if %{with test}
-BuildRequires: %{python_module Django >= 3.0}
+BuildRequires: %{python_module Django >= 4.2}
%if 0%{?suse_version} > 1500
BuildRequires: %{python_module Markdown >= 3.3}
%endif
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module Pygments}
+BuildRequires: %{python_module attrs}
BuildRequires: %{python_module django-guardian >= 2.4.0}
+BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module psycopg}
-BuildRequires: %{python_module pytest-django >= 4.1.0}
+BuildRequires: %{python_module pytest >= 7.0.1}
+BuildRequires: %{python_module pytest-cov >= 4.0.0}
+BuildRequires: %{python_module pytest-django >= 4.5.2}
+BuildRequires: %{python_module pytz}
%endif
%python_subpackages