summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
...
* Go back to "merge" -- -a failedAndrew Brookins2020-07-171-1/+2
|
* Use the -a flag instead of "combine"Andrew Brookins2020-07-171-2/+1
|
* Attempt to combine coverage filesAndrew Brookins2020-07-171-1/+3
|
* Try running codecov from toxAndrew Brookins2020-07-171-1/+15
|
* remove unnecessary tox environmentsAndy McCurdy2020-07-151-1/+1
|
* Move test Dockerfile into root, use COPYAndrew Brookins2020-07-141-0/+3
|
* Second try to add pypy and pypy3 to test runsAndrew Brookins2020-07-141-1/+1
|
* Improvements based on review feedback:Andrew Brookins2020-07-131-0/+12
| | | | | | | | | | | | | | | | | | | | | 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.
* Switch to flake8 for static code analysis (#1328)Jon Dufresne2020-04-161-4/+4
| | | | | | | | | 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.
* Enable BytesWarning during test and fix discovered case (#1322)Jon Dufresne2020-04-131-1/+1
| | | | | | | | | | | | 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))
* Add testing and support for PyPyJon Dufresne2020-04-041-1/+1
|
* Enable warnings during tests and fix discovered cases (#1283)Jon Dufresne2020-02-121-1/+1
| | | | | | 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.
* Drop support for end-of-life Python 3.4Jon Dufresne2019-12-071-1/+1
| | | | | | | | | | 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
* Unify tox and Travis test matrix (#1243)Jon Dufresne2019-11-121-1/+2
| | | | | | | | | | | | | | | 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.
* Support Python 3.8 (#1241)Rajiv Bakulesh Shah2019-11-111-1/+1
|
* Use tox "extras" option to install package extrasJon Dufresne2018-12-061-2/+3
| | | | | | | | | 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.
* Use 'dist: xenial' in Travis to simplify configurationJon Dufresne2018-12-061-1/+1
| | | | | | | | | | 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.
* Unpin test dependenciesJon Dufresne2018-11-031-2/+2
| | | | | Now that redis-py has removed support for EOL Pythons, can once again run tests using the latest version of pytest.
* Remove support and testing for EOL Python 3.3Jon Dufresne2018-11-031-1/+1
| | | | | | | | 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
* Remove support and testing for EOL Python 2.6Jon Dufresne2018-11-031-1/+1
| | | | | | | | | | | | | | 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
* Sync tox.ini configuration with supported Python versionsJon Dufresne2018-11-011-1/+1
| | | | | Per Travis CI configuration and trove classifiers, Python 3.2 is not supported. Remove it from tox.ini.
* pycodestyle requires python 2.7 or greaterAndy McCurdy2018-10-281-1/+1
| | | Co-Authored-By: RoeyPrat <roey.prat@redislabs.com>
* pep8 was renamed to pycodestyleRoey Prat2018-10-281-4/+4
|
* Test Python 3.6 in Travis CI and document in setup.pyJon Dufresne2017-01-281-1/+1
|
* Specify mock requirement for toxCarlton Gibson2016-06-101-1/+3
|
* simplified testing configuration and added Python 3.5 to the matrixAlex Grönholm2015-11-031-39/+9
|
* test against Python 3.4 with tox. note 3.4.0 has issues, use 3.4.1 insteadAndy McCurdy2014-05-291-1/+8
|
* better error handling with hiredis. fully fixes #456Andy McCurdy2014-04-211-4/+4
|
* fix pep8 environment, explicit python versions and require pytest>=2.5Andy McCurdy2014-03-291-13/+11
|
* work with new pip/toxAndy McCurdy2013-08-231-6/+0
|
* updated tox config for pytestpytestandy2013-06-081-9/+30
|
* test hiredis builds with toxandy2013-05-251-1/+17
|
* make tox run newest pep8andy2013-05-061-1/+1
|
* Format code per pep8 guidelinesPaul Belanger2013-03-301-1/+5
| | | | | | A simple patch to enable pep8 in tox and format our code properly. Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
* Improved testing for multiple interpreters supportRoman Imankulov2012-11-211-0/+5
- Added version "3.3" to .travis.yml - Added configuration file to support testing with tox