summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Change redismod docker to redis-stack-server (#2556)dvora-h2023-01-191-4/+4
| | | | | | | | | | | | | * Change redismod docker to redis-stack-server * redis-stack-server * syntax * Update tox.ini * fetching docker from redis repo Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
* Updating graph tests to support new execution plan (#2486)Raz Monsonego2022-12-061-1/+1
|
* Version 4.4.0 (#2485)v4.4.0Chayim2022-12-041-1/+1
|
* Updating the docker image for the module cluster (#2426)Chayim2022-10-241-1/+1
|
* Update dockers tags (#2409)dvora-h2022-10-181-8/+8
|
* Adding support for readable test results (#2381)Chayim2022-09-151-4/+4
| | | | | | | | | | | | | | | * test result xml share * trying to limit to failed * pathing upload * syntax * syntax * renaming test results * name fix
* Drop redisnod_cluster (#2307)dvora-h2022-07-271-1/+0
|
* Drop python 3.6 support (#2306)dvora-h2022-07-271-2/+2
|
* Fix warnings and resource usage problems in asyncio unittests (#2258)Kristján Valur Jónsson2022-07-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use pytest-asyncio in auto mode Remove overly genereric `pytestmark=pytest.mark.asyncio` causing lots of warning noise * Use "Factories as Fixtures" test pattern for the `create_redis` fixture this fixture is now async, avoiding teardown problems with missing event loops. * Fix sporadic error on fast event loops, such as `--uvloop` * Close connection, even if "username" was in kwargs This fixes a resource usage warning in the async unittests. * Do async cleanup of acl passwords via a fixture * Remove unused import, fix whitespace * Fix test with missing "await" * Close pubsub objects after use in unittest Use a simple fixture where possible, otherwise manually call pubsub.close() * re-introduce `pytestmark=pytest.mark.asyncio` for python 3.6 * Use context manager to clean up connections in connection pool for unit tests * Provide asynccontextmanager for python 3.6 * make `test_late_subscribe()` more robuste * Catch a couple of additional leaked resources
* Add Async RedisCluster (#2099)Utkarsh Gupta2022-05-081-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Copy Cluster Client, Commands, Commands Parser, Tests for asyncio * Async Cluster Tests: Async/Await * Add Async RedisCluster * cluster: use ERRORS_ALLOW_RETRY from self.__class__ * async_cluster: rework redis_connection, initialize, & close - move redis_connection from NodesManager to ClusterNode & handle all related logic in ClusterNode class - use Locks while initializing or closing - in case of error, close connections instead of instantly reinitializing - create ResourceWarning instead of manually deleting client object - use asyncio.gather to run commands/initialize/close in parallel - inline single use functions - fix test_acl_log for py3.6 * async_cluster: add types * async_cluster: add docs * docs: update sphinx & add sphinx_autodoc_typehints * async_cluster: move TargetNodesT to cluster module * async_cluster/commands: inherit commands from sync class if possible * async_cluster: add benchmark script with aredis & aioredis-cluster * async_cluster: remove logging * async_cluster: inline functions * async_cluster: manage Connection instead of Redis Client * async_cluster/commands: optimize parser * async_cluster: use ensure_future & generators for gather * async_conn: optimize * async_cluster: optimize determine_slot * async_cluster: optimize determine_nodes * async_cluster/parser: optimize _get_moveable_keys * async_cluster: inlined check_slots_coverage * async_cluster: update docstrings * async_cluster: add concurrent test & use read_response/_update_moved_slots without lock Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Async tests for redis commands, json, bloom, timeseries (#2087)dvora-h2022-04-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * test async commands * test async json commands * test async timeseries commands * test async bloom commands * linters * linters * skip on cluster * linters * linters * isort * flynt * remove print
* Clean up test supoort enterprise environments (#2082)dvora-h2022-04-041-0/+1
| | | | | * skip tests on enterprise * delete dping implementation
* Mark tests for redis-stack (#2052)dvora-h2022-03-161-0/+2
| | | | | * mark tests for redis-stack * linters
* Add cluster support for functions (#2016)dvora-h2022-03-061-1/+2
| | | | | | | | | | | | | | | | | | | * cluster support for functions * fix test_list_on_cluster mark * fix mark * cluster unstable url * fix * fix cluster url * skip tests * linters * linters
* Add support for JSON, TIMESERIES, BLOOM & GRAPH commands in cluster (#2032)dvora-h2022-03-061-1/+1
| | | Co-authored-by: Chayim <chayim@users.noreply.github.com>
* redismod cluster docker (#2022)Chayim2022-03-011-0/+15
| | | | | | | | | * redismod cluster docker * add to tox * mod cluster Co-authored-by: dvora-h <dvora.heller@redis.com>
* Add Async Support (#1899)Andrew Chen Wang2022-02-221-1/+4
| | | | Co-authored-by: Chayim I. Kirshen <c@kirshen.com> Co-authored-by: dvora-h <dvora.heller@redis.com>
* Add redis5 and redis4 dockers (#1871)dvora-h2022-02-031-7/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add redis5 and redis4 dockers * redis versions testenv * path changes * fix linters * fix tests * fixing linter * Increased pubsub's wait_for_messages timeout to prevent flaky tests (#1893) * Fixing TypeError in GraphCommands.explain (#1901) * Fixing AttributeError in UnixDomainSocketConnection (#1903) * Fixing AttributeError on some connection errors (#1905) * cluster script fixes to support future cluster versions and redis unstable (#1900) * Fixing LMOVE, BLMOVE returning an incorrect response (#1906) * Raising ConnectionError on invalid ocsp certificates - with status information (#1907) * 4.1.2 (#1904) * adding cluster env timeout time (#1908) * Update changes file with changes since 4.0.0-beta2 (#1915) * Fixing volume for unstable_cluster docker (#1914) * Change json.clear test multi to be up to date with redisjson (#1922) * fix json clear test * fix json clear test * Add support for BZMPOP (#1851) * add bzmpop * add comment * fix pr comment * fix linters * fix pr comments * add client no-evict (#1856) * Add support for ZINTERCARD (#1857) * add zintercard * fix pr comment * linters * Add support for EVAL_RO (#1862) * add sort_ro * mark test as onlynon cluster * delete mark test as onlynoncluster * add eval_ro * fix linters * delete sort_ro * fix pr comment * add type hints * add type hints * linters * Add support for EVALSHA_RO (#1863) * add evalsha-ro * fix pr comment * add type hints * add type hints * Fix naming conventions (#1872) * fix naming convention * fix worng changes * change ports to resolve conflict with unstable_cluster Co-authored-by: Chayim I. Kirshen <c@kirshen.com> Co-authored-by: Chayim <chayim@users.noreply.github.com> Co-authored-by: Bar Shaul <88437685+barshaul@users.noreply.github.com> Co-authored-by: Varun Chopra <v@chopraaa.com>
* Fixing volume for unstable_cluster docker (#1914)dvora-h2022-01-301-1/+1
|
* redis-unstable cluster docker (#1889)Chayim2022-01-251-0/+14
|
* OCSP Stapling Support (#1873)Chayim2022-01-171-2/+2
|
* Support for unstable docker (#1842)Chayim2021-12-301-0/+10
|
* Connection examples (#1835)dvora-h2021-12-301-2/+2
| | | Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
* OCSP stapling support (#1820)Chayim2021-12-261-7/+2
|
* Removing lots-of-pythons container (#1827)Chayim2021-12-231-6/+0
|
* Support for password-encrypted SSL private keys (#1782)Chayim2021-12-161-9/+18
| | | Adding support for SSL private keys with a password. This PR also adds support for future SSL tests.
* Locking latest tag for pythons docker (#1769)Chayim2021-12-021-1/+1
|
* Integrate RedisBloom support (#1683)Avital Fine2021-12-011-0/+1
| | | Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
* Adding RedisGraph support (#1673)Avital Fine2021-11-301-1/+2
| | | Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
* Added black and isort (#1734)Anas2021-11-301-1/+11
|
* Updating cluster docker location (#1760)Chayim2021-11-301-1/+1
|
* Pyupgrade + flynt + f-strings (#1759)Aarni Koskela2021-11-301-1/+2
| | | @akx Thank you so much for this! Thanks again for introducing me to a new tool that I'm sliding into my workflow as well.
* Fixing deprecating distutils (PEP 632) (#1730)Chayim2021-11-251-1/+1
|
* Splitting documentation for read the docs (#1743)Chayim2021-11-251-2/+9
|
* Fixing COMMAND GETKEYS tests (#1750)Chayim2021-11-251-2/+2
|
* Adding RedisCluster client to support Redis Cluster Mode (#1660)Bar Shaul2021-11-251-2/+24
| | | | Co-authored-by: Chayim <chayim@users.noreply.github.com> Co-authored-by: Anas <anas.el.amraoui@live.com>
* Re-enabling read-the-docs (#1707)Chayim2021-11-141-1/+2
|
* Re-enable pipeline support for JSON and TimeSeries (#1674)Chayim2021-11-091-2/+9
|
* Improved JSON accuracy (#1666)Chayim2021-11-021-1/+3
|
* Adding vulture for static analysis (#1655)Chayim2021-10-281-18/+11
| | | | | * Adding vulture for static analysis Removing dead code found previously by vulture in local runs.
* re-enabling codecov as part of CI process (#1646)Chayim2021-10-261-1/+1
|
* Adding support for redisearch (#1640)Chayim2021-10-251-1/+1
|
* redisjson support (#1636)Chayim2021-10-251-13/+15
|
* tox integrations with invoke and docker (#1632)Chayim2021-10-211-30/+108
|
* changing unit tests to account for defaults in redis flags (#1499)Chayim2021-07-151-1/+1
| | | Co-authored-by: Andy McCurdy <andy@andymccurdy.com>
* use github actions instead of travis-CIRoey Prat2021-06-301-2/+1
|
* Remove support for end-of-life Python 2.7 (#1318)Jon Dufresne2020-08-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* run the codecov env by default and disable when running outside TravisAndy McCurdy2020-07-201-1/+1
|
* add the covreport env to the list of default envs tox runsAndy McCurdy2020-07-201-1/+1
|
* Remove unnecessary pytest-cov depAndrew Brookins2020-07-171-2/+5
|