Skip to content

Commit 2d56693

Browse files
authored
poetry, 2.7+, and 3.6+, no 2.9- (#132)
1 parent efa6e56 commit 2d56693

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

pyproject.toml

+11-6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ classifiers = [
1010
'Topic :: Database',
1111
'Programming Language :: Python',
1212
'Intended Audience :: Developers',
13+
'Programming Language :: Python :: 2.7',
1314
'Programming Language :: Python :: 3.6',
1415
'Programming Language :: Python :: 3.7',
1516
'Programming Language :: Python :: 3.8',
@@ -21,11 +22,15 @@ classifiers = [
2122
keywords = ["Redis Search Extension"]
2223

2324
[tool.poetry.dependencies]
24-
python = "^3.6"
25-
hiredis = "^2.0.0"
25+
python = ">=2.7,<=2.9.0 || >= 3.5.0"
2626
redis = "^3.5.3"
2727
six = "^1.16.0"
2828
rmtest = {git = "https://github.com/RedisLabs/rmtest"}
29+
hiredis = [
30+
{version = "1.1.0", python = "~2.7"},
31+
{version = "^2.0.0", python = "^3.6"},
32+
]
33+
2934

3035

3136
[tool.poetry.urls]
@@ -35,10 +40,10 @@ repository = "https://github.com/RedisSearch/redisearch-py"
3540
[tool.poetry.dev-dependencies]
3641
codecov = "^2.1.11"
3742
flake8 = "^3.9.2"
38-
tox = "^3.23.1"
39-
tox-poetry = "^0.3.0"
40-
bandit = "^1.7.0"
41-
vulture = "^2.3"
43+
tox = "3.15.1"
44+
tox-poetry = "0.3.0"
45+
bandit = "1.6.0"
46+
vulture = "1.6"
4247

4348
[build-system]
4449
requires = ["poetry-core>=1.0.0"]

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
skipsdist = True
3-
envlist = linters,cover,test_with_coverage
3+
envlist = linters,cover,test_with_coverage,py27,py36,py37,py38,py39
44

55
[flake8]
66
max-complexity = 10

0 commit comments

Comments
 (0)