Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-cacheops for 
openSUSE:Factory checked in at 2026-05-29 18:06:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-cacheops (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-cacheops.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-cacheops"

Fri May 29 18:06:56 2026 rev:14 rq:1355723 version:7.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-cacheops/python-django-cacheops.changes
    2025-06-03 17:53:43.970086603 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-cacheops.new.1937/python-django-cacheops.changes
  2026-05-29 18:08:38.834197101 +0200
@@ -1,0 +2,6 @@
+Fri May 29 02:04:25 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-python-314.patch:
+  * Support Python 3.14 pickle changes. (bsc#1266046)
+
+-------------------------------------------------------------------

New:
----
  support-python-314.patch

----------(New B)----------
  New:
- Add patch support-python-314.patch:
  * Support Python 3.14 pickle changes. (bsc#1266046)
----------(New E)----------

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

Other differences:
------------------
++++++ python-django-cacheops.spec ++++++
--- /var/tmp/diff_new_pack.xu0mVy/_old  2026-05-29 18:08:39.622229725 +0200
+++ /var/tmp/diff_new_pack.xu0mVy/_new  2026-05-29 18:08:39.626229890 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-cacheops
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 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
@@ -23,6 +23,8 @@
 License:        BSD-3-Clause
 URL:            http://github.com/Suor/django-cacheops
 Source:         
https://files.pythonhosted.org/packages/source/d/django_cacheops/django_cacheops-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#Suor/django-cacheops#511
+Patch0:         support-python-314.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
@@ -70,5 +72,5 @@
 %doc CHANGELOG README.rst
 %license LICENSE
 %{python_sitelib}/cacheops
-%{python_sitelib}/django_cacheops-%{version}*-info
+%{python_sitelib}/django_cacheops-%{version}.dist-info
 

++++++ support-python-314.patch ++++++
>From 938f8ba11c0676a1b9090c1cf788321ec24979e6 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Fri, 29 May 2026 12:00:23 +1000
Subject: [PATCH] Support Python 3.14 pickle changes

pickle.dump() and friends in Python 3.14 will now raise PicklingError
rather than AttributeError when they encounter something that can not be
pickled, extend test_385 to handle both exceptions.
---
 tests/tests.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/tests.py b/tests/tests.py
index f99f8e26..5ad67a55 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -2,6 +2,7 @@
 from functools import reduce
 import operator
 import re
+from pickle import PicklingError
 import platform
 import unittest
 from unittest import mock
@@ -659,7 +660,7 @@ def test_366(self):
     def test_385(self):
         Client.objects.create(name='Client Name')
 
-        with self.assertRaisesRegex(AttributeError, "local object"):
+        with self.assertRaisesRegex((AttributeError, PicklingError), "local 
object"):
             Client.objects.filter(name='Client Name').cache().first()
 
         invalidate_model(Client)

Reply via email to