Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-rq for
openSUSE:Factory checked in at 2026-06-17 16:28:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-rq (Old)
and /work/SRC/openSUSE:Factory/.python-django-rq.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-rq"
Wed Jun 17 16:28:04 2026 rev:15 rq:1360041 version:4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-django-rq/python-django-rq.changes
2026-04-19 18:17:06.062357453 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-rq.new.1981/python-django-rq.changes
2026-06-17 16:29:26.846949836 +0200
@@ -1,0 +2,6 @@
+Wed Jun 10 12:06:39 UTC 2026 - Daniel Garcia <[email protected]>
+
+- Add upstream patch fix-job-id-test-failures.patch, to fix tests with
+ latest python-req. gh#rq/django-rq@7aa920acd594
+
+-------------------------------------------------------------------
New:
----
fix-job-id-test-failures.patch
----------(New B)----------
New:
- Add upstream patch fix-job-id-test-failures.patch, to fix tests with
latest python-req. gh#rq/django-rq@7aa920acd594
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-rq.spec ++++++
--- /var/tmp/diff_new_pack.PjH9YI/_old 2026-06-17 16:29:27.502977148 +0200
+++ /var/tmp/diff_new_pack.PjH9YI/_new 2026-06-17 16:29:27.506977315 +0200
@@ -25,6 +25,8 @@
Group: Development/Languages/Python
URL: https://github.com/rq/django-rq
Source:
https://github.com/rq/django-rq/archive/v%{version}/django_rq-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix-job-id-test-failures.patch
gh#rq/django-rq@7aa920acd594
+Patch0: fix-job-id-test-failures.patch
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
@@ -51,7 +53,7 @@
in django's settings.py and easily use them in your project.
%prep
-%setup -q -n django-rq-%{version}
+%autosetup -p1 -n django-rq-%{version}
%build
%pyproject_wheel
++++++ fix-job-id-test-failures.patch ++++++
>From 7aa920acd594cc89210749de6415a4a24d30e5b5 Mon Sep 17 00:00:00 2001
From: Selwin Ong <[email protected]>
Date: Sun, 26 Apr 2026 21:46:28 +0800
Subject: [PATCH] Fix job ID test failure (#786)
---
tests/test_views.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test_views.py b/tests/test_views.py
index baacb85b..b098528b 100644
--- a/tests/test_views.py
+++ b/tests/test_views.py
@@ -335,8 +335,8 @@ def test_scheduled_jobs(self):
response = self.client.get(reverse('admin:django_rq_scheduled_jobs',
args=[queue_index]))
self.assertEqual(response.context['jobs'], [job])
- # Test that page doesn't crash when job_id has special characters
(exclude :)
- queue.enqueue_at(datetime.now(), access_self,
job_id="job-!@#$%^&*()_=+[]{};',.<>?|`~")
+ # Test that page doesn't crash when job_id contains allowed
non-alphanumeric characters.
+ queue.enqueue_at(datetime.now(), access_self,
job_id="job-with_allowed-chars_123")
response = self.client.get(reverse('admin:django_rq_scheduled_jobs',
args=[queue_index]))
self.assertEqual(response.status_code, 200)