From 395b9d5bc3e44495e3639177d71238ad6430eab1ab25c1c80721b81fb6a13599 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 17 Jan 2022 20:40:00 +0000 Subject: [PATCH] Accepting request 947038 from home:darix:apps - Update to 1.10.1 OBS-URL: https://build.opensuse.org/request/show/947038 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=16 --- python-rq-1.8.1.tar.gz | 3 --- python-rq.changes | 40 ++++++++++++++++++++++++++++++++++++++++ python-rq.spec | 7 ++++--- rq-1.10.1.tar.gz | 3 +++ 4 files changed, 47 insertions(+), 6 deletions(-) delete mode 100644 python-rq-1.8.1.tar.gz create mode 100644 rq-1.10.1.tar.gz diff --git a/python-rq-1.8.1.tar.gz b/python-rq-1.8.1.tar.gz deleted file mode 100644 index 442c3ef..0000000 --- a/python-rq-1.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36afb1d32bd222318848eb64ea9426bcf200b87f6771c35bff7f46a3b11bca89 -size 585211 diff --git a/python-rq.changes b/python-rq.changes index bac3c07..2a7d4cf 100644 --- a/python-rq.changes +++ b/python-rq.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Mon Jan 17 18:35:11 UTC 2022 - Marcus Rueckert + +- 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á diff --git a/python-rq.spec b/python-rq.spec index 4df81fd..ae87b5b 100644 --- a/python-rq.spec +++ b/python-rq.spec @@ -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} diff --git a/rq-1.10.1.tar.gz b/rq-1.10.1.tar.gz new file mode 100644 index 0000000..8fde428 --- /dev/null +++ b/rq-1.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:197482e174b862d2068e1ec4164259159ada9d3f93d9e995bf385680d55b9e71 +size 599678