Commit Graph

14 Commits

Author SHA1 Message Date
Paul Spooren 0b55981631
Improve requirements handling (#1287)
* setup: read requirements.txt for dependencies

This makes it easier to keep required packages in sync.

Signed-off-by: Paul Spooren <mail@aparcar.org>

* requirements: Update to click 5.0 and redis 3.5.0

Click 5.0 was already required by the `setup.py` and is not brought in
sync. Redis Python library 3.5.0 introduces the `HSET` command with
mapping support which replaces the previous `hmset`. By lifting the
minimal required version to 3.5.0 we can remove the combat function if
Redis server 4.0 is guaranteed.

Signed-off-by: Paul Spooren <mail@aparcar.org>

* ci: remove Python3.4 testing

`redis-py` 3.5.0 does no longer support Python 3.4, so drop it in CI.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-06-29 13:29:28 +07:00
Darshan Rai ada2ad03ca modify zadd calls for redis-py 3.0 (#1016)
* modify zadd calls for redis-py 3.0

redis-py 3.0 changes the zadd interface that accepts a single
mapping argument that is expected to be a dict.
https://github.com/andymccurdy/redis-py#mset-msetnx-and-zadd

* change FailedQueue.push_job_id to always push a str

redis-py 3.0 does not attempt to cast values to str and is left
to the user.

* remove Redis connection patching

Since in redis-py 3.0, Redis == StrictRedis class, we no longer
need to patch _zadd and other methods.
Ref: https://github.com/rq/rq/pull/1016#issuecomment-441010847
2018-12-03 07:28:36 +07:00
Selwin Ong 10f615f4fe Reverted click requirement back to >= 3.0 2015-11-28 11:56:34 +07:00
Cal Leeming e76bde9bc0 Fix broken tests 2015-11-25 18:39:22 +00:00
Vincent Driessen f374053928 Don't require Redis 2.10. 2015-03-09 09:20:42 +01:00
Eric Bustarret 8000957009 Update requirements to redis-py 2.10.0 2015-03-06 15:34:07 +01:00
Jonathan Tushman 82333d2ad5 triggering shutdown by setting a redis flag 2014-12-12 16:58:41 -05:00
zhangliyong 07aea5e5c1 Add CLI `rq` to empty queues and requeue failed jobs 2014-08-14 15:11:43 +08:00
Vincent Driessen 19e58027ac Remove `times` dependency from requirements.txt. 2014-01-03 08:12:08 +01:00
Vincent Driessen 0bc451f75b Install importlib on Travis' py26 environment. 2013-01-24 10:17:46 +01:00
Vincent Driessen 879a87d158 Remove logbook and replace it with logging.
This reverts commit 1ab8c19696 and
reintroduces all changes made by @dstufft.

Still, it needs more patches to reeanble the default log-to-console
behaviour.  See #121.
2012-09-02 11:26:31 +02:00
Vincent Driessen 1ab8c19696 Revert "Remove logbook and replace it with logging".
This reverts the commit range f367c38..978ba2d.

Issue #121 is currently blocking the 0.3.1 release.
2012-08-30 21:35:44 +02:00
Donald Stufft f188d66354 Remove logbook from the install_requires and other dependency areas 2012-08-21 11:45:55 -04:00
Vincent Driessen b0a42f4e25 Add Travis CI configuration file. 2012-07-18 09:32:36 +02:00