From 70415f13a2713d09dfacc287e84b4a7ba2eadc827f8f2d4d369dd1f671e0c0dd Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 27 May 2023 21:35:55 +0000 Subject: [PATCH] - update to 1.15: * Added `Callback(on_stopped='my_callback)`. * `Callback` now accepts dotted path to function as input. * `queue.enqueue_many()` now supports job dependencies. * `rq worker` CLI script now configures logging based on `DICT_CONFIG` key present in config file. * Whenever possible, `Worker` now uses `lmove()` to implement reliable queue pattern. * `Scheduler` should only release locks that it successfully acquires. * Fixes crashes that may happen by changes to `as_text()` function in v1.14. * Various linting, CI and code quality improvements. * Fixes a crash that happens if Redis connection uses SSL. * Fixes a crash if `job.meta()` is loaded using the wrong serializer. * Added `WorkerPool` (beta) that manages multiple workers in a single CLI. * Added a new `Callback` class that allows more flexibility in declaring job callbacks. * Fixed a regression where jobs with unserializable return value crashes RQ. * Added `--dequeue-strategy` option to RQ's CLI. * Added `--max-idle-time` option to RQ's worker CLI. * Added `--maintenance-interval` option to RQ's worker CLI. * Fixed RQ usage in Windows as well as various other refactorings. * Show more info on `rq info` CLI command. Thanks @iggeehu! * `queue.enqueue_jobs()` now properly account for job dependencies. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=24 --- python-rq.changes | 59 +++++++++++++++++++++++++++++++++++++++++++++++ python-rq.spec | 4 ++-- rq-1.11.1.tar.gz | 3 --- rq-1.15.tar.gz | 3 +++ 4 files changed, 64 insertions(+), 5 deletions(-) delete mode 100644 rq-1.11.1.tar.gz create mode 100644 rq-1.15.tar.gz diff --git a/python-rq.changes b/python-rq.changes index d3ebdfe..322aceb 100644 --- a/python-rq.changes +++ b/python-rq.changes @@ -1,3 +1,62 @@ +------------------------------------------------------------------- +Sat May 27 21:32:30 UTC 2023 - Dirk Müller + +- update to 1.15: + * Added `Callback(on_stopped='my_callback)`. + * `Callback` now accepts dotted path to function as input. + * `queue.enqueue_many()` now supports job dependencies. + * `rq worker` CLI script now configures logging based on + `DICT_CONFIG` key present in config file. + * Whenever possible, `Worker` now uses `lmove()` to implement + reliable queue pattern. + * `Scheduler` should only release locks that it successfully + acquires. + * Fixes crashes that may happen by changes to `as_text()` + function in v1.14. + * Various linting, CI and code quality improvements. + * Fixes a crash that happens if Redis connection uses SSL. + * Fixes a crash if `job.meta()` is loaded using the wrong + serializer. + * Added `WorkerPool` (beta) that manages multiple workers in a + single CLI. + * Added a new `Callback` class that allows more flexibility in + declaring job callbacks. + * Fixed a regression where jobs with unserializable return + value crashes RQ. + * Added `--dequeue-strategy` option to RQ's CLI. + * Added `--max-idle-time` option to RQ's worker CLI. + * Added `--maintenance-interval` option to RQ's worker CLI. + * Fixed RQ usage in Windows as well as various other + refactorings. + * Show more info on `rq info` CLI command. Thanks @iggeehu! + * `queue.enqueue_jobs()` now properly account for job + dependencies. + * `TimerDeathPenalty` now properly handles negative/infinite + timeout. + * Added `work_horse_killed_handler` argument to `Worker`. + * Fixed an issue where results aren't properly persisted on + synchronous jobs. + * Fixed a bug where job results are not properly persisted when + `result_ttl` is `-1`. + * Various documentation and logging fixes. + * Improve Redis connection reliability. + * Scheduler reliability improvements. + * Fixed a bug where `dequeue_timeout` ignores `worker_ttl`. + * Use `job.return_value()` instead of `job.result` when + processing callbacks. + * Various internal refactorings to make `Worker` code more + easily extendable. + * RQ's source code is now black formatted. + * RQ now stores multiple job execution results. This feature is + only available on Redis >= 5.0 Redis Streams. Please refer to + the docs for more info. + * Improve performance when enqueueing many jobs at once. + * Redis server version is now cached in connection object. + * Properly handle `at_front` argument when jobs are scheduled. + * Add type hints to RQ's code base. + * Fixed a bug where exceptions are logged twice. + * Don't delete `job.worker_name` after job is finished. + ------------------------------------------------------------------- Thu Dec 22 08:21:10 UTC 2022 - Daniel Garcia diff --git a/python-rq.spec b/python-rq.spec index 6156c09..2366b0d 100644 --- a/python-rq.spec +++ b/python-rq.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,7 +29,7 @@ %define skip_python2 1 Name: python-rq%{psuffix} -Version: 1.11.1 +Version: 1.15 Release: 0 Summary: Easy Job Queues for Python License: Apache-2.0 diff --git a/rq-1.11.1.tar.gz b/rq-1.11.1.tar.gz deleted file mode 100644 index 655ca2f..0000000 --- a/rq-1.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a9211d2f73c6cf26d88d16ba61f2e435641003d8ce92f4b29840ca417813ec65 -size 604043 diff --git a/rq-1.15.tar.gz b/rq-1.15.tar.gz new file mode 100644 index 0000000..f673f28 --- /dev/null +++ b/rq-1.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9cf9baa6dd1fa9bdaf01f8bb86960927de389b1f679afc5f928753151f90c382 +size 633276