SHA256
14
0
forked from pool/python-rq

Accepting request 947054 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/947054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rq?expand=0&rev=8
This commit is contained in:
2022-01-17 21:34:31 +00:00
committed by Git OBS Bridge
4 changed files with 47 additions and 6 deletions

View File

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

View File

@@ -1,3 +1,43 @@
-------------------------------------------------------------------
Mon Jan 17 18:35:11 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- Update to 1.10.1
- Failure callbacks are now properly called when job is run
synchronously. Thanks @ericman93!
- Fixes a bug that could cause job keys to be left over when
`result_ttl=0`. Thanks @selwin!
- Allow `ssl_cert_reqs` argument to be passed to Redis. Thanks
@mgcdanny!
- Better compatibility with Python 3.10. Thanks @rpkak!
- `job.cancel()` should also remove itself from registries.
Thanks @joshcoden!
- Pubsub threads are now launched in `daemon` mode. Thanks
@mik3y!
- You can now enqueue jobs from CLI. Docs
[here](https://python-rq.org/docs/#cli-enqueueing). Thanks
@rpkak!
- Added a new `CanceledJobRegistry` to keep track of canceled
jobs. Thanks @selwin!
- Added custom serializer support to various places in RQ. Thanks
@joshcoden!
- `cancel_job(job_id, enqueue_dependents=True)` allows you to
cancel a job while enqueueing its dependents. Thanks
@joshcoden!
- Added `job.get_meta()` to fetch fresh meta value directly from
Redis. Thanks @aparcar!
- Fixes a race condition that could cause jobs to be incorrectly
added to FailedJobRegistry. Thanks @selwin!
- Requeueing a job now clears `job.exc_info`. Thanks @selwin!
- Repo infrastructure improvements by @rpkak.
- Other minor fixes by @cesarferradas and @bbayles.
- Added success and failure callbacks. You can now do
`queue.enqueue(foo, on_success=do_this, on_failure=do_that)`.
Thanks @selwin!
- Added `queue.enqueue_many()` to enqueue many jobs in one go.
Thanks @joshcoden!
- Various improvements to CLI commands. Thanks @rpkak!
- Minor logging improvements. Thanks @clavigne and @natbusa!
-------------------------------------------------------------------
Mon Jun 28 14:33:46 UTC 2021 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-rq
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,15 @@
%define mod_name rq
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-rq
Version: 1.8.1
Version: 1.10.1
Release: 0
Summary: Easy Job Queues for Python
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/rq/rq
Source: https://github.com/rq/rq/archive/v%{version}/%{name}-%{version}.tar.gz
Source: https://github.com/rq/rq/archive/v%{version}/%{mod_name}-%{version}.tar.gz
BuildRequires: %{python_module click >= 5.0.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module psutil}

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

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