SHA256
14
0
forked from pool/python-rq
Commit Graph

19 Commits

Author SHA256 Message Date
a7e97adc9c - Update to 2.4.1
* `Worker` will now automatically choose `TimerDeathPenalty` if
    `UnixSignalDeathPenalty` is not available. Thanks @selwin!
  * Introduced `CREATED` `Job` status for jobs that are not enqueued
    not deferred. Thanks @selwin!
  * `Worker` can now import `Job` and `Queue` classes from string.
    Thanks @selwin!
  * Fixed a bug in `Group.cleanup()`. Thanks @dixoncrews-gdl!
  * Logging improvements and code cleanups. Thanks @selwin, @SpecLad!
- from version 2.4.0
  * Added `rq cron` CLI command. Thanks @selwin!
  * Various tests, typing improvements and cleanups. Thanks @SpecLad!
  * When a job is canceled, you can now optionally clean it from
    dependencies using `job.cancel(remove_from_dependencies=True)`.
    Thanks @Marishka17!
  * RQ now requires Python >= 3.9. Thanks @Jankovn and @selwin!
- from version 2.3.3
  * `WorkerPool` now accepts `queue_class` argument. Thanks @amonsh1!
  * Disallow `redis-py=6.0.0`. Thanks @selwin and @terencehonles!
  * Minor typing improvements. Thanks @SpecLad!
- from version 2.3.2
  * Don't log job description when `log_job_description` is set to False.
    Thanks @danilopeixoto!
  * Fixes an issue where `pubsub_thread` may die in the background.
    Thanks @ankush!
- from version 2.3.1
  * Fixes an issue running RQ on Windows. Thanks @selwin!
- from version 2.3.0
  * Added the feature to repeat jobs. Thanks @selwin!
  * Officially support Valkey. Thanks @selwin!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=33
2025-07-23 10:53:23 +00:00
e9c98f838e Accepting request 1222495 from home:nkrapp:branches:devel:languages:python
- Update to 2.0.0

OBS-URL: https://build.opensuse.org/request/show/1222495
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=31
2024-11-08 06:30:02 +00:00
64144dc673 - update to 1.15.1:
* Fixed a bug that may cause a crash when cleaning intermediate
    queue.
  * Fixed a bug that may cause canceled jobs to still run
    dependent jobs.
    function in v1.14.
- Update to 1.10.1
  * Now horses are killed by their parent group. This helps in cleanly
- BR redis to make the testsuite work

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=29
2023-12-06 22:26:21 +00:00
0e5db7612a Accepting request 1092303 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092303
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=26
2023-06-11 20:14:27 +00:00
70415f13a2 - 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
2023-05-27 21:35:55 +00:00
f52364be6b - Set BuildArch to noarch, this package doesn't have anything that depends on
the arch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=22
2022-12-22 08:22:00 +00:00
218e9ea586 - Add multibuild for tests to avoid build cycle with python-sentry-sdk.
bsc#1206590

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=21
2022-12-22 07:26:34 +00:00
b8e8b0e2c8 Accepting request 1040398 from home:ecsos
- 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.

OBS-URL: https://build.opensuse.org/request/show/1040398
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=19
2022-12-05 17:52:16 +00:00
e035807fa7 Accepting request 970088 from home:pgajdos:python
- do not require python-mock for build

OBS-URL: https://build.opensuse.org/request/show/970088
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=17
2022-04-14 09:01:07 +00:00
395b9d5bc3 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
2022-01-17 20:40:00 +00:00
f48be761e6 Accepting request 902852 from home:mcalabkova:branches:devel:languages:python
- Update to 1.8.1
  * You can now declare multiple job dependencies.
  * Added support for running asyncio tasks.
  * Now horses are killed by their parent group. This helps in cleanly 
    killing all related processes if job uses multiprocessing.
  * Fixed scheduler on Python > 3.8.0.
  * RQ is now aware of which version of Redis server it's running on.
  * More changes, see upstream changelog.

OBS-URL: https://build.opensuse.org/request/show/902852
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=15
2021-06-28 14:51:51 +00:00
Tomáš Chvátal
ac0f264610 Accepting request 822242 from home:ecsos
- Update to 1.4.3
  * Added job.get_position() and queue.get_job_position(). Thanks @aparcar!
  * Longer TTLs for worker keys to prevent them from expiring inside the worker lifecycle. Thanks @selwin!
  * Long job args/kwargs are now truncated during logging. Thanks @JhonnyBn!
  * job.requeue() now returns the modified job. Thanks @ericatkin!
- Fix build error for Leap: Since 1.4.0 rq require python >= 3.4.

OBS-URL: https://build.opensuse.org/request/show/822242
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=13
2020-07-22 13:16:40 +00:00
286f0cb585 - Update to 1.4.2:
* RQ 1.4.2 (2020-05-26)
    + Reverted changes to hmset command which causes workers on Redis server < 4 to crash. Thanks @selwin!
    + Merged in more groundwork to enable jobs with multiple dependencies. Thanks @thomasmatecki!
  * RQ 1.4.1 (2020-05-16)
    + Default serializer now uses pickle.HIGHEST_PROTOCOL for backward compatibility reasons. Thanks @bbayles!
    + Avoid deprecation warnings on redis-py >= 3.5.0. Thanks @bbayles!
  * RQ 1.4.0 (2020-05-13)
    + Custom serializer is now supported. Thanks @solababs!
    + delay() now accepts job_id argument. Thanks @grayshirt!
    + Fixed a bug that may cause early termination of scheduled or requeued jobs. Thanks @rmartin48!
    + When a job is scheduled, always add queue name to a set containing active RQ queue names. Thanks @mdawar!
    + Added --sentry-ca-certs and --sentry-debug parameters to rq worker CLI. Thanks @kichawa!
    + Jobs cleaned up by StartedJobRegistry are given an exception info. Thanks @selwin!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=11
2020-06-11 05:07:38 +00:00
42f1fefb06 Accepting request 813291 from home:darix:apps
- BR redis to make the testsuite work

OBS-URL: https://build.opensuse.org/request/show/813291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=10
2020-06-11 04:25:31 +00:00
Tomáš Chvátal
aad04e8f50 Accepting request 807237 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=8
2020-05-19 12:13:27 +00:00
1a6a928915 - Update to 1.3.0:
* RQ 1.3.0 (2020-03-09)
    + Support for infinite job timeout. Thanks @theY4Kman!
    + Added __main__ file so you can now do python -m rq.cli. Thanks @bbayles!
    + Fixes an issue that may cause zombie processes. Thanks @wevsty!
    + job_id is now passed to logger during failed jobs. Thanks @smaccona!
    + queue.enqueue_at() and queue.enqueue_in() now supports explicit args and kwargs function invocation. Thanks @selwin!
  * RQ 1.2.2 (2020-01-31)
    + Job.fetch() now properly handles unpickleable return values. Thanks @selwin!
  * RQ 1.2.1 (2020-01-31)
    + enqueue_at() and enqueue_in() now sets job status to scheduled. Thanks @coolhacker170597!
    + Failed jobs data are now automatically expired by Redis. Thanks @selwin!
    + Fixes RQScheduler logging configuration. Thanks @FlorianPerucki!
  * RQ 1.2.0 (2020-01-04)
    + This release also contains an alpha version of RQ's builtin job scheduling mechanism. Thanks @selwin!
    + Various internal API changes in preparation to support multiple job dependencies. Thanks @thomasmatecki!
    + --verbose or --quiet CLI arguments should override --logging-level. Thanks @zyt312074545!
    + Fixes a bug in rq info where it doesn't show workers for empty queues. Thanks @zyt312074545!
    + Fixed queue.enqueue_dependents() on custom Queue classes. Thanks @van-ess0!
    + RQ and Python versions are now stored in job metadata. Thanks @eoranged!
    + Added failure_ttl argument to job decorator. Thanks @pax0r!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=6
2020-03-19 04:24:11 +00:00
Tomáš Chvátal
cf10883474 Accepting request 725754 from home:jengelh:branches:devel:languages:python
- Trim conjecture from description.

OBS-URL: https://build.opensuse.org/request/show/725754
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=4
2019-08-24 07:41:09 +00:00
Tomáš Chvátal
5a3cc97a5c - Update to 1.1.0:
* Many feature updates and bugfixes to support new python stack
- Execute tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=2
2019-08-12 15:16:47 +00:00
Tomáš Chvátal
607bc84851 osc copypac from project:home:darix:apps package:python-rq revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=1
2019-08-12 15:05:14 +00:00