SHA256
14
0
forked from pool/python-rq

- 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
This commit is contained in:
2023-05-27 21:35:55 +00:00
committed by Git OBS Bridge
parent f52364be6b
commit 70415f13a2
4 changed files with 64 additions and 5 deletions

View File

@@ -1,3 +1,62 @@
-------------------------------------------------------------------
Sat May 27 21:32:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <daniel.garcia@suse.com> Thu Dec 22 08:21:10 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,7 @@
%define skip_python2 1 %define skip_python2 1
Name: python-rq%{psuffix} Name: python-rq%{psuffix}
Version: 1.11.1 Version: 1.15
Release: 0 Release: 0
Summary: Easy Job Queues for Python Summary: Easy Job Queues for Python
License: Apache-2.0 License: Apache-2.0

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9211d2f73c6cf26d88d16ba61f2e435641003d8ce92f4b29840ca417813ec65
size 604043

3
rq-1.15.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9cf9baa6dd1fa9bdaf01f8bb86960927de389b1f679afc5f928753151f90c382
size 633276