diff --git a/pyproject.toml b/pyproject.toml index 2be688a..78c9d05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ classifiers = [ 'Topic :: Database', 'Programming Language :: Python', 'Intended Audience :: Developers', + 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', @@ -21,11 +22,15 @@ classifiers = [ keywords = ["Redis Search Extension"] [tool.poetry.dependencies] -python = "^3.6" -hiredis = "^2.0.0" +python = ">=2.7,<=2.9.0 || >= 3.5.0" redis = "^3.5.3" six = "^1.16.0" rmtest = {git = "https://github.com/RedisLabs/rmtest"} +hiredis = [ + {version = "1.1.0", python = "~2.7"}, + {version = "^2.0.0", python = "^3.6"}, +] + [tool.poetry.urls] @@ -35,10 +40,10 @@ repository = "https://github.com/RedisSearch/redisearch-py" [tool.poetry.dev-dependencies] codecov = "^2.1.11" flake8 = "^3.9.2" -tox = "^3.23.1" -tox-poetry = "^0.3.0" -bandit = "^1.7.0" -vulture = "^2.3" +tox = "3.15.1" +tox-poetry = "0.3.0" +bandit = "1.6.0" +vulture = "1.6" [build-system] requires = ["poetry-core>=1.0.0"] diff --git a/tox.ini b/tox.ini index ae1f4fe..08d79ec 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] skipsdist = True -envlist = linters,cover,test_with_coverage +envlist = linters,cover,test_with_coverage,py27,py36,py37,py38,py39 [flake8] max-complexity = 10