Skip to content

Commit 47f1c18

Browse files
authored
python 3.10 - without the experimental installer disabled (#153)
1 parent 9885add commit 47f1c18

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

.circleci/circle_requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
poetry>=1.1.6
1+
poetry
22
tox>=3.23.1
3-
tox-poetry>=0.3.0
3+
tox-poetry>=0.4.0

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,11 @@ $ pip install redisearch
404404
3. Install dependencies.
405405
```poetry install```
406406

407+
Note: Due to an [interaction between](https://github.com/python-poetry/poetry/issues/4210) and python 3.10, you *may* need to run the following, if you receive a JSONError while installing packages.
408+
```
409+
poetry config experimental.new-installer false
410+
```
411+
407412
## Testing
408413

409414
Testing can easily be performed using using Docker.

pyproject.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisearch"
3-
version = "2.0.0"
3+
version = "2.1.0"
44
description = "RedisSearch Python Client"
55
authors = ["RedisLabs <[email protected]>"]
66
license = "BSD-3-Clause"
@@ -10,25 +10,24 @@ classifiers = [
1010
'Topic :: Database',
1111
'Programming Language :: Python',
1212
'Intended Audience :: Developers',
13-
'Programming Language :: Python :: 2.7',
1413
'Programming Language :: Python :: 3.6',
1514
'Programming Language :: Python :: 3.7',
1615
'Programming Language :: Python :: 3.8',
1716
'Programming Language :: Python :: 3.9',
17+
'Programming Language :: Python :: 3.10',
1818
'License :: OSI Approved :: BSD License',
1919
'Development Status :: 5 - Production/Stable'
2020

2121
]
2222
keywords = ["Redis Search Extension"]
2323

2424
[tool.poetry.dependencies]
25-
python = ">=2.7,<=2.9.0 || >= 3.5.0"
25+
python = "^3.6.0"
2626
redis = "^3.5.3"
2727
six = "^1.16.0"
2828
rmtest = {git = "https://github.com/RedisLabs/rmtest"}
2929
rejson = "^0.5.4"
3030
hiredis = [
31-
{version = "1.1.0", python = "~2.7"},
3231
{version = "^2.0.0", python = "^3.6"},
3332
]
3433

@@ -40,11 +39,11 @@ repository = "https://github.com/RedisSearch/redisearch-py"
4039

4140
[tool.poetry.dev-dependencies]
4241
codecov = "^2.1.11"
43-
flake8 = "^3.9.2"
44-
tox = "3.15.1"
45-
tox-poetry = "0.3.0"
42+
flake8 = "^4.0.0"
43+
tox = "^3.22.0 || <= 4.0.0"
44+
tox-poetry = "^0.4.0"
4645
bandit = "1.6.0"
47-
vulture = "1.6"
46+
vulture = "^2.1"
4847

4948
[build-system]
5049
requires = ["poetry-core>=1.0.0"]

tox.ini

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

55
[flake8]
66
max-complexity = 10

0 commit comments

Comments
 (0)