Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-pipeline for
openSUSE:Factory checked in at 2026-09-08 16:57:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-pipeline (Old)
and /work/SRC/openSUSE:Factory/.python-django-pipeline.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-pipeline"
Tue Sep 8 16:57:43 2026 rev:9 rq:1376217 version:4.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-pipeline/python-django-pipeline.changes
2026-03-28 20:15:59.219950264 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-pipeline.new.1265/python-django-pipeline.changes
2026-09-08 17:00:58.693143493 +0200
@@ -1,0 +2,5 @@
+Tue Sep 1 15:35:45 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add django61.patch to fix build with Django 6.1
+
+-------------------------------------------------------------------
New:
----
django61.patch
----------(New B)----------
New:
- Add django61.patch to fix build with Django 6.1
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-pipeline.spec ++++++
--- /var/tmp/diff_new_pack.3pD57e/_old 2026-09-08 17:00:59.539178880 +0200
+++ /var/tmp/diff_new_pack.3pD57e/_new 2026-09-08 17:00:59.542179006 +0200
@@ -24,6 +24,8 @@
Group: Development/Languages/Python
URL: https://github.com/jazzband/django-pipeline
Source:
https://files.pythonhosted.org/packages/source/d/django-pipeline/django_pipeline-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM https://github.com/jazzband/django-pipeline/pull/853 Fix
tests with Django 6.1
+Patch0: django61.patch
BuildRequires: %{python_module Django >= 4.0}
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module css-html-js-minify}
++++++ django61.patch ++++++
>From 027769760d6cc423b4e80d6e93d82641308b5163 Mon Sep 17 00:00:00 2001
From: Charles Roelli <[email protected]>
Date: Tue, 11 Aug 2026 12:23:48 +0000
Subject: [PATCH] Fix tests with Django 6.1
* tests/tests/test_storage.py
(StorageTest.test_nonexistent_file_pipeline_finder_all): Invert
skip condition.
(StorageTest.test_manifest_finder_finds_all_stylesheet):
Conditionalize finders.find usage on Django version.
---
tests/tests/test_storage.py | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/tests/tests/test_storage.py b/tests/tests/test_storage.py
index a8e7105c..844a2b4c 100644
--- a/tests/tests/test_storage.py
+++ b/tests/tests/test_storage.py
@@ -100,7 +100,7 @@ def test_nonexistent_file_pipeline_finder_find_all(self):
@modify_settings(STATICFILES_FINDERS={"append":
"pipeline.finders.PipelineFinder"})
def test_nonexistent_file_pipeline_finder_all(self):
- if django.__version__ < "6.0":
+ if django.__version__ >= "6.0":
self.skipTest("Only applicable to versions of Django before 6.0")
path = finders.find("nothing.css", all=True)
@@ -136,10 +136,16 @@ def test_manifest_finder_finds_stylesheet(self):
@modify_settings(STATICFILES_FINDERS={"append":
"pipeline.finders.ManifestFinder"})
def test_manifest_finder_finds_all_stylesheet(self):
- paths = finders.find("screen.css", all=True)
+ if django.__version__ < "5.2":
+ paths = finders.find("screen.css", all=True)
+ else:
+ paths = finders.find("screen.css", find_all=True)
self.assertIsNotNone(paths)
self.assertEqual(1, len(paths))
- paths = finders.find("screen.scss", all=True)
+ if django.__version__ < "5.2":
+ paths = finders.find("screen.scss", all=True)
+ else:
+ paths = finders.find("screen.scss", find_all=True)
self.assertIsNotNone(paths)
self.assertEqual([], paths)