Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-rq for openSUSE:Factory 
checked in at 2026-10-20 12:38:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rq (Old)
 and      /work/SRC/openSUSE:Factory/.python-rq.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rq"

Tue Oct 20 12:38:29 2026 rev:22 rq:1386164 version:2.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rq/python-rq.changes      2026-07-06 
12:34:41.664316243 +0200
+++ /work/SRC/openSUSE:Factory/.python-rq.new.3698736/python-rq.changes 
2026-10-20 12:39:25.311250530 +0200
@@ -1,0 +2,28 @@
+Sat Oct 17 17:26:02 UTC 2026 - Andrea Manzini <[email protected]>
+
+- Update to 2.12.0:
+  * Added `CronJobRegistry` so cron job histories can be monitored
+    without an active `CronScheduler`.
+  * `CronScheduler.heartbeat()` now re-creates its Redis hash if it
+    expires.
+- Changes in 2.11.0:
+  * `CronJob` now keeps a history of jobs it created, accessible via
+    `cron_job.get_job_ids()`.
+  * `RQScheduler` now acquires and refreshes locks before enqueueing.
+  * Each `CronJob` now has a `name`.
+  * `rq worker-pool` now supports custom exception handlers and honors
+    the `DICT_CONFIG` logging setting from config files.
+  * `Execution` now stores the name of the worker running it.
+  * Fixed an issue where calling `create_cron()` multiple times
+    creates duplicate jobs.
+  * Fixed `SpawnWorker` compatibility with `redis-py` >= 8.1.
+  * Worker log messages now include the worker name and job ID.
+- Switch from update-alternatives to libalternatives.
+- Fix License tag to BSD-2-Clause to match upstream LICENSE and
+  pyproject.toml.
+- Drop obsolete python-sentry-sdk test BuildRequires.
+- Skip test_execution_order_with_sole_dependency on ppc64le: it assumes
+  a worker process starts within 0.5 s and fails intermittently on slow
+  builders.
+
+-------------------------------------------------------------------

Old:
----
  rq-2.10.tar.gz

New:
----
  rq-2.12.0.tar.gz

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

Other differences:
------------------
++++++ python-rq.spec ++++++
--- /var/tmp/diff_new_pack.GGHDIz/_old  2026-10-20 12:39:26.270290668 +0200
+++ /var/tmp/diff_new_pack.GGHDIz/_new  2026-10-20 12:39:26.272290752 +0200
@@ -24,18 +24,20 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-
 %define mod_name rq
-
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
 %{?sle15_python_module_pythons}
 Name:           python-rq%{psuffix}
-Version:        2.10
+Version:        2.12.0
 Release:        0
 Summary:        Easy Job Queues for Python
-License:        Apache-2.0
-Group:          Development/Languages/Python
+License:        BSD-2-Clause
 URL:            https://github.com/rq/rq
-Source:         
https://github.com/rq/rq/archive/v%{version}/%{mod_name}-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/r/rq/%{mod_name}-%{version}.tar.gz
 BuildRequires:  %{python_module click >= 5.0.0}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
@@ -47,17 +49,19 @@
 Requires:       python-click >= 5.0.0
 Requires:       python-croniter
 Requires:       python-redis >= 3.5.0
+BuildArch:      noarch
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
-BuildArch:      noarch
-
+%endif
 %if %{with test}
 BuildRequires:  %{python_module %{mod_name} = %{version}}
-BuildRequires:  %{python_module psutil}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module sentry-sdk}
+BuildRequires:  %{python_module psutil >= 7}
+BuildRequires:  %{python_module pytest >= 8.3.5}
 %endif
-
 %python_subpackages
 
 %description
@@ -67,6 +71,7 @@
 
 %prep
 %autosetup -p1 -n %{mod_name}-%{version}
+chmod -x rq/cli/cli.py
 
 %if !%{with test}
 %build
@@ -77,6 +82,7 @@
 %python_clone -a %{buildroot}%{_bindir}/rq
 %python_clone -a %{buildroot}%{_bindir}/rqinfo
 %python_clone -a %{buildroot}%{_bindir}/rqworker
+%python_group_libalternatives rq rqinfo rqworker
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
@@ -84,15 +90,25 @@
 %check
 export PATH="$PATH:%{buildroot}%{_bindir}"
 %{_sbindir}/redis-server --port 6379 &
-%pytest
-killall redis-server
+trap 'killall redis-server || true' EXIT
+# test_execution_order_with_sole_dependency assumes worker process w1 takes the
+# first job within 0.5 s; on slow ppc64le builders w2 wins the race
+# (uname, not %ifarch: both never match on a noarch package, rpm names the 
arch powerpc64le)
+skip=
+if [ "$(uname -m)" = ppc64le ]; then
+  skip="--deselect 
tests/test_job_dependency.py::TestJobDependency::test_execution_order_with_sole_dependency"
+fi
+%pytest $skip
 %endif
 
 %if !%{with test}
+%pre
+%python_libalternatives_reset_alternative rq
+%python_libalternatives_reset_alternative rqinfo
+%python_libalternatives_reset_alternative rqworker
+
 %post
-%python_install_alternative rq
-%python_install_alternative rqinfo
-%python_install_alternative rqworker
+%python_install_alternative rq rqinfo rqworker
 
 %postun
 %python_uninstall_alternative rq
@@ -103,7 +119,7 @@
 %doc README.md CHANGES.md
 %license LICENSE
 %{python_sitelib}/rq
-%{python_sitelib}/rq-%{version}*-info
+%{python_sitelib}/rq-%{version}.dist-info
 %python_alternative %{_bindir}/rq
 %python_alternative %{_bindir}/rqinfo
 %python_alternative %{_bindir}/rqworker

++++++ rq-2.10.tar.gz -> rq-2.12.0.tar.gz ++++++
++++ 6892 lines of diff (skipped)

Reply via email to