Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | run CI on all branchespypytest | Andy McCurdy | 2021-06-30 | 1 | -2/+0 |
| | |||||
* | daemonize the thread to see if the tests will continue | Andy McCurdy | 2021-06-30 | 1 | -4/+3 |
| | |||||
* | use github actions instead of travis-CI | Roey Prat | 2021-06-30 | 7 | -29/+21 |
| | |||||
* | Return index 4 as the command if not a list | Ian Bucad | 2021-05-18 | 1 | -1/+6 |
| | | | | command is always a list. If index 3 is not a list, assume Redis Enterprise and return index 4 instead | ||||
* | Remove blocking behaviour from context manager __enter__ | alxasfuck | 2021-05-12 | 1 | -3/+1 |
| | |||||
* | Add support for the ABSTTL option of the RESTORE command. (#1423) | Simon Charette | 2020-11-22 | 3 | -1/+25 |
| | | | Add support for the ABSTTL option of the RESTORE command. | ||||
* | Sponsored (#1418) | Guy Korland | 2020-11-09 | 2 | -0/+8 |
| | | | Add note that redis-py is sponsored by Redis Labs | ||||
* | Add more documentation about encoding of strings (#1417) | Felipe Machado | 2020-11-09 | 1 | -0/+6 |
| | | | Additional docs about string encoding/decoding | ||||
* | develop and test against redis version 6.0.9 | Roey Prat | 2020-10-28 | 1 | -1/+1 |
| | |||||
* | Add optional exception handler to PubSubWorkerThread (#1395) | Abhimanyu Deora | 2020-10-26 | 3 | -5/+56 |
| | | | | | Add optional exception handler to PubSubWorkerThread Co-authored-by: Abhimanyu Deora <adeora@drwholdings.com> | ||||
* | Note that redis-py does not support Cluster Mode | Brad Solomon | 2020-10-12 | 1 | -0/+6 |
| | |||||
* | 🕰️ Use monotonic clock in Lock (and tests) | Jack Edge | 2020-10-12 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | During a call to `acquire()`, if the call is `blocking` and has a `blocking_timeout` set, it uses `time.time()` calls to determine when to give up attempting to acquire the lock. However, since `time.time()` is marked as "adjustable", it is possible for it to go backwards or forwards at a rate other than 1 second per second, meaning the spinloop may exit earlier or later than expected. By changing the implementation to use `time.monotonic()`, which is guaranteed to never go backwards, and not be affected by system clock updates, this potential problem is fixed. For the same reason, some time dependent lock tests have also been changed to use `time.monotonic()`. | ||||
* | Update docs with info about SSL hostname validation | Yann | 2020-09-21 | 1 | -3/+38 |
| | |||||
* | develop and test against redis version 6.0.8 | Roey Prat | 2020-09-15 | 1 | -1/+1 |
| | |||||
* | develop and test against redis version 6.0.7 | Roey Prat | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Fixing #1390 modules key in info command (#1393) | 2014bduck | 2020-09-03 | 1 | -1/+7 |
| | | | | | When modules are present, INFO's response will contain a `modules` key which will be a list of dicts describing each module. Co-authored-by: jiekun.zhu <jiekun.zhu@shopee.com> | ||||
* | Fix Dockerfile (cache clear of apt) | ryuichi1208 | 2020-08-24 | 1 | -1/+3 |
| | |||||
* | Added the ACL LOG command available in Redis 6 | Andy McCurdy | 2020-08-19 | 4 | -10/+126 |
| | | | | | | | | | `acl_log()` returns a list of dictionaries, each describing a log entry. `acl_log_reset()` instructs the server to truncate the log. Thanks @2014BDuck Fixes #1307 | ||||
* | fix: Align from_url in utils.py to remove DB as a 2nd param | Tom King | 2020-08-17 | 1 | -2/+2 |
| | |||||
* | All values within Redis URLs are url-unquoted via default. | Andy McCurdy | 2020-08-15 | 4 | -238/+126 |
| | | | | | | | | Prior versions of redis-py supported this by specifying the ``decode_components`` flag to the ``from_url`` functions. This is now done by default and cannot be disabled. Fixes #589 | ||||
* | turn off the codecov/patch status | Andy McCurdy | 2020-08-08 | 1 | -0/+2 |
| | |||||
* | codecov config | Andy McCurdy | 2020-08-06 | 1 | -0/+3 |
| | |||||
* | added codecov.yml | Andy McCurdy | 2020-08-06 | 1 | -0/+4 |
| | |||||
* | Remove support for end-of-life Python 2.7 (#1318) | Jon Dufresne | 2020-08-06 | 27 | -654/+378 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove support for end-of-life Python 2.7 Python 2.7 is end of life. It is no longer receiving bug fixes, including for security issues. Python 2.7 went EOL on 2020-01-01. For additional details on support Python versions, see: Supported: https://devguide.python.org/#status-of-python-branches EOL: https://devguide.python.org/devcycle/#end-of-life-branches Removing support for EOL Pythons will reduce testing and maintenance resources while allowing the library to move towards a modern Python 3 style. Python 2.7 users can continue to use the previous version of redis-py. Was able to simplify the code: - Removed redis._compat module - Removed __future__ imports - Removed object from class definition (all classes are new style) - Removed long (Python 3 unified numeric types) - Removed deprecated __nonzero__ method - Use simpler Python 3 super() syntax - Use unified OSError exception - Use yield from syntax Co-authored-by: Andy McCurdy <andy@andymccurdy.com> | ||||
* | Fix some documentation formatting | Jon Banafato | 2020-07-26 | 2 | -29/+32 |
| | | | | | Fix a few broken links and class references, move a docstring, and fix a code block. | ||||
* | changelog | Andy McCurdy | 2020-07-22 | 1 | -0/+2 |
| | |||||
* | LPOS: add new command (#1354) | Paul Spooren | 2020-07-22 | 3 | -1/+69 |
| | | | | | Added the LPOS command from Redis 6.0.6 Fixes #1353 | ||||
* | Dockerize (#1365) | Andy McCurdy | 2020-07-20 | 45 | -408/+636 |
|\ | | | | | | | | | | | | | | | | | Provide a docker development and testing environment * CI (Travis) now runs tests via the same docker environment that is available to developers. * A simple Makefile has been added to make getting started easier. * `make dev` will standup the development environment. * `make test` will standup the development environment and also run the test suite. * `make clean` will remove the development environment. | ||||
| * | changelog | Andy McCurdy | 2020-07-20 | 1 | -0/+3 |
| | | |||||
| * | run the codecov env by default and disable when running outside Travis | Andy McCurdy | 2020-07-20 | 2 | -6/+8 |
| | | |||||
| * | make the slowlog_get test more resilient to multiple clients being connected | Andy McCurdy | 2020-07-20 | 1 | -4/+2 |
| | | |||||
| * | add the covreport env to the list of default envs tox runs | Andy McCurdy | 2020-07-20 | 2 | -2/+1 |
| | | |||||
| * | Remove unnecessary pytest-cov dep | Andrew Brookins | 2020-07-17 | 3 | -2/+8 |
| | | |||||
| * | Go back to "merge" -- -a failed | Andrew Brookins | 2020-07-17 | 1 | -1/+2 |
| | | |||||
| * | Use the -a flag instead of "combine" | Andrew Brookins | 2020-07-17 | 1 | -2/+1 |
| | | |||||
| * | Attempt to combine coverage files | Andrew Brookins | 2020-07-17 | 1 | -1/+3 |
| | | |||||
| * | Try running codecov from tox | Andrew Brookins | 2020-07-17 | 4 | -5/+18 |
| | | |||||
| * | debug | Andy McCurdy | 2020-07-16 | 1 | -5/+0 |
| | | |||||
| * | debug | Andy McCurdy | 2020-07-16 | 2 | -0/+2 |
| | | |||||
| * | debug | Andy McCurdy | 2020-07-16 | 1 | -1/+1 |
| | | |||||
| * | debug | Andy McCurdy | 2020-07-16 | 2 | -2/+3 |
| | | |||||
| * | debug | Andy McCurdy | 2020-07-16 | 1 | -1/+1 |
| | | |||||
| * | debug | Andy McCurdy | 2020-07-16 | 1 | -1/+1 |
| | | |||||
| * | debug | Andy McCurdy | 2020-07-16 | 2 | -25/+27 |
| | | |||||
| * | pass travis/codecov env vars to docker | Andy McCurdy | 2020-07-16 | 3 | -4/+27 |
| | | |||||
| * | testing docker-entry | Andy McCurdy | 2020-07-16 | 5 | -11/+29 |
| | | |||||
| * | Try to pass the codecov token... | Andrew Brookins | 2020-07-16 | 1 | -1/+1 |
| | | |||||
| * | Try running codecov in the test container | Andrew Brookins | 2020-07-16 | 2 | -8/+5 |
| | | |||||
| * | restore codecov | Andy McCurdy | 2020-07-15 | 1 | -0/+9 |
| | | |||||
| * | Editing docs | Andrew Brookins | 2020-07-15 | 1 | -1/+1 |
| | |