forked from pool/python-rq
Accepting request 1042419 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1042419 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rq?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 5 15:35:13 UTC 2022 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Update to 1.11.1
|
||||
- queue.enqueue_many() now supports on_success and on on_failure
|
||||
arguments.
|
||||
- You can now pass enqueue_at_front to Dependency() objects to
|
||||
put dependent jobs at the front when they are enqueued.
|
||||
- Fixed a bug where workers may wrongly acquire scheduler locks.
|
||||
- Jobs should not be enqueued if any one of it's dependencies is
|
||||
canceled.
|
||||
- Fixed a bug when handling jobs that have been stopped.
|
||||
- Fixed a bug in handling Redis connections that don't allow
|
||||
SETNAME command.
|
||||
- Update to 1.11.0
|
||||
- This will be the last RQ version that supports Python 3.5.
|
||||
- Allow jobs to be enqueued even when their dependencies fail via
|
||||
Dependency(allow_failure=True).
|
||||
- When stopped jobs are deleted, they should also be removed from
|
||||
FailedJobRegistry.
|
||||
- job.requeue() now supports at_front() argument.
|
||||
- Added ssl support for sentinel connections.
|
||||
- SimpleWorker now works better on Windows.
|
||||
- Added on_failure and on_success arguments to @job decorator.
|
||||
- Fixed a bug in dependency handling.
|
||||
- Minor fixes and optimizations
|
||||
- Remove https://github.com/rq/rq/issues/1646 items in spec file.
|
||||
- Remove -k 'not (test_failure_capture or test_worker)' from pytest.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 14 08:52:04 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
%define skip_python2 1
|
||||
|
||||
Name: python-rq
|
||||
Version: 1.10.1
|
||||
Version: 1.11.1
|
||||
Release: 0
|
||||
Summary: Easy Job Queues for Python
|
||||
License: Apache-2.0
|
||||
@@ -32,6 +32,7 @@ BuildRequires: %{python_module click >= 5.0.0}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module redis >= 3.5.0}
|
||||
BuildRequires: %{python_module sentry-sdk}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: psmisc
|
||||
@@ -62,17 +63,9 @@ integrated into web stacks.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# https://github.com/rq/rq/issues/1646
|
||||
sed -i -e 's:import mock:from unittest import mock:' \
|
||||
-e 's:from mock.mock:from unittest.mock:' \
|
||||
-e 's:from mock import:from unittest.mock import:' \
|
||||
tests/test_*.py
|
||||
# test_failure_capture - circular dependency on sentry-sdk
|
||||
# test_worker - update-alternatives: only rqworker-%{python_version} is
|
||||
# available, skip test for simplicity
|
||||
export PATH="$PATH:%{buildroot}%{_bindir}"
|
||||
%{_sbindir}/redis-server --port 6379 &
|
||||
%pytest -k 'not (test_failure_capture or test_worker)'
|
||||
%pytest
|
||||
killall redis-server
|
||||
|
||||
%post
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:197482e174b862d2068e1ec4164259159ada9d3f93d9e995bf385680d55b9e71
|
||||
size 599678
|
3
rq-1.11.1.tar.gz
Normal file
3
rq-1.11.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a9211d2f73c6cf26d88d16ba61f2e435641003d8ce92f4b29840ca417813ec65
|
||||
size 604043
|
Reference in New Issue
Block a user