Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-model-utils for 
openSUSE:Factory checked in at 2026-08-29 17:43:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-model-utils (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-model-utils.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-model-utils"

Sat Aug 29 17:43:48 2026 rev:11 rq:1374596 version:5.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-model-utils/python-django-model-utils.changes
      2026-01-30 18:23:17.816072635 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-model-utils.new.1265/python-django-model-utils.changes
    2026-08-29 17:44:53.308407095 +0200
@@ -1,0 +2,5 @@
+Thu Aug 27 09:15:55 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add dj52.patch to fix tests on Django 6.1, which dropped some deprecations
+
+-------------------------------------------------------------------

New:
----
  dj52.patch

----------(New B)----------
  New:
- Add dj52.patch to fix tests on Django 6.1, which dropped some deprecations
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-model-utils.spec ++++++
--- /var/tmp/diff_new_pack.kJMDSe/_old  2026-08-29 17:44:54.394445510 +0200
+++ /var/tmp/diff_new_pack.kJMDSe/_new  2026-08-29 17:44:54.397445617 +0200
@@ -24,6 +24,8 @@
 License:        BSD-3-Clause
 URL:            https://github.com/jazzband/django-model-utils
 Source:         
https://files.pythonhosted.org/packages/source/d/django-model-utils/django_model_utils-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM https://github.com/jazzband/django-model-utils/pull/641 
Add formal support for Django 5.2
+Patch:          dj52.patch
 BuildRequires:  %{python_module Django >= 4.2}
 BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module freezegun}

++++++ dj52.patch ++++++
>From 2ad921c04d9a36d63cd08bd08767f81999d5e062 Mon Sep 17 00:00:00 2001
From: jelmert <[email protected]>
Date: Tue, 8 Apr 2025 09:49:47 +0200
Subject: [PATCH] Model.save keyword only

---
 tests/test_fields/test_field_tracker.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/test_fields/test_field_tracker.py 
b/tests/test_fields/test_field_tracker.py
index f2f2127e..b823eb62 100644
--- a/tests/test_fields/test_field_tracker.py
+++ b/tests/test_fields/test_field_tracker.py
@@ -124,7 +124,12 @@ def test_pre_save_has_changed(self) -> None:
 
     def test_save_with_args(self) -> None:
         self.instance.number = 1
-        self.instance.save(False, False, None, None)
+        self.instance.save(
+            force_insert=False,
+            force_update=False,
+            using=None,
+            update_fields=None
+        )
         self.assertChanged()
 
     def test_first_save(self) -> None:

Reply via email to