| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. All make targets are now PHONY.
2. Cleaned up the 'dev' target so that it passes --build
to docker-compose.
3. Added pypy-specific tox environments. And added a new
Dockerfile to build an image for the "test" container
that contains pypy and pypy3.
4. Added a `make clean` target. It removes containers but
requires the user to confirm.
5. Specify the depends_on order for slave -> master and
made all sentinels depend on the slave coming up. The
container running doesn't mean that redis is actually
ready though, so I wrapped the "test" target in the
Makefile with a wait script that waits until
master is responding on port 6379.
|
|
|
|
|
|
|
|
|
| |
flake8 catches a wider net of mistakes than pycodestyle and is more
commonly used by the larger community. For example, it catches unused
imports, a few of which existed. These have since been removed.
Two "noqa" comments were added. One ignores the _compat.py file as it
has a large amount of Python version specific code. The second is in
utils.py which intentionally does not use an import.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Python command line argument -b causes Python to emit a warning when
bytes and str usage is mixed. This is generally considered bad practice
as either one or the other is required. Enabling this feature during
tests helps catch them before reaching production.
The warning appeared as:
tests/test_scripting.py::TestScripting::test_eval_msgpack_pipeline_error_in_lua
.../redis-py/redis/client.py:3967: BytesWarning: str() on a bytes instance
cmd = ' '.join(imap(safe_unicode, command))
|
| |
|
|
|
|
|
|
| |
Helps identify problematic or buggy code. When a warning is displayed,
it should be analyzed and fixed.
The r and r2 fixture now close the client after the test is complete.
|
|
|
|
|
|
|
|
|
|
| |
Python 3.4 has been EOL since 2019-03-18.
Removing from the test matrix helps reduce testing resources.
For additional details on unsupported Python versions, see:
https://devguide.python.org/devcycle/#end-of-life-branches
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tox can now always be used as the test entry point and allows for
contributors to easily test the full test matrix locally.
Starting with setuptools v41.5.0 (27 Oct 2019) the `setup.py test`
command is formally deprecated. It now emits a warning on use. Prior to
this version, it use was discouraged by the setuptools developers.
Now, always use tox as the one testing entry point. It handles multiple
version of Python and Redis.
The Travis CI configuration was reworked to use tox to install
dependencies and run tests in the same manner that contributors would do
locally.
|
| |
|
|
|
|
|
|
|
|
|
| |
For details, see:
https://tox.readthedocs.io/en/latest/config.html#conf-extras
Removes the need to duplicate the version string in tox.ini. Allow
setup.py to be the single source of truth.
|
|
|
|
|
|
|
|
|
|
| |
Allows using Python version 3.7 without sudo declarations.
Travis officially added support for Xenial on 2018-11-08.
https://blog.travis-ci.com/2018-11-08-xenial-release
Add Python 3.7 to tox.ini and setup.py as well.
|
|
|
|
|
| |
Now that redis-py has removed support for EOL Pythons, can once again
run tests using the latest version of pytest.
|
|
|
|
|
|
|
|
| |
Python 3.3 is EOL. It is no longer receiving bug fixes, including for
security issues. It has been EOL since 2017-09-29. For additional
details of the status of Python versions, see:
https://devguide.python.org/#status-of-python-branches
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Python 2.6 is EOL. It is no longer receiving bug fixes, including for
security issues. It has been EOL since 2013-10-29. For additional
details of the status of Python versions, see:
https://devguide.python.org/#status-of-python-branches
For discussions on why removing Python 2.6 benefits the entire
community, please see:
https://snarky.ca/stop-using-python-2-6/
http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html
|
|
|
|
|
| |
Per Travis CI configuration and trove classifiers, Python 3.2 is not
supported. Remove it from tox.ini.
|
|
|
| |
Co-Authored-By: RoeyPrat <roey.prat@redislabs.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
A simple patch to enable pep8 in tox and format our code properly.
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
|
|
- Added version "3.3" to .travis.yml
- Added configuration file to support testing with tox
|