Skip to content

python 3.10 - without the experimental installer disabled #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/circle_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
poetry>=1.1.6
poetry
tox>=3.23.1
tox-poetry>=0.3.0
tox-poetry>=0.4.0
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ $ pip install redisearch
3. Install dependencies.
```poetry install```

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.
```
poetry config experimental.new-installer false
```

## Testing

Testing can easily be performed using using Docker.
Expand Down
15 changes: 7 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "redisearch"
version = "2.0.0"
version = "2.1.0"
description = "RedisSearch Python Client"
authors = ["RedisLabs <[email protected]>"]
license = "BSD-3-Clause"
Expand All @@ -10,25 +10,24 @@ 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',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable'

]
keywords = ["Redis Search Extension"]

[tool.poetry.dependencies]
python = ">=2.7,<=2.9.0 || >= 3.5.0"
python = "^3.6.0"
redis = "^3.5.3"
six = "^1.16.0"
rmtest = {git = "https://github.com/RedisLabs/rmtest"}
rejson = "^0.5.4"
hiredis = [
{version = "1.1.0", python = "~2.7"},
{version = "^2.0.0", python = "^3.6"},
]

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

[tool.poetry.dev-dependencies]
codecov = "^2.1.11"
flake8 = "^3.9.2"
tox = "3.15.1"
tox-poetry = "0.3.0"
flake8 = "^4.0.0"
tox = "^3.22.0 || <= 4.0.0"
tox-poetry = "^0.4.0"
bandit = "1.6.0"
vulture = "1.6"
vulture = "^2.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
skipsdist = True
envlist = linters,cover,test_with_coverage,py27,py36,py37,py38,py39
envlist = linters,cover,test_with_coverage,py27,py36,py37,py38,py39,py310

[flake8]
max-complexity = 10
Expand Down