fix: proper python 3.11 support (#446)
* fix: propper python 3.11 support * fix tox config * wider python 3.x support * Update ci.yml Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
This commit is contained in:
parent
1e33e2513e
commit
7bc8b402d5
4 changed files with 8 additions and 6 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -42,6 +42,7 @@ jobs:
|
||||||
ignore-vulns: |
|
ignore-vulns: |
|
||||||
GHSA-w596-4wvx-j9j6 # subversion related git dep, dependency for pytest. This is no impact here.
|
GHSA-w596-4wvx-j9j6 # subversion related git dep, dependency for pytest. This is no impact here.
|
||||||
GHSA-2p9h-ccw7-33gf # invalid ddos comment on the cleo package
|
GHSA-2p9h-ccw7-33gf # invalid ddos comment on the cleo package
|
||||||
|
GHSA-hcpj-qp55-gfph
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
name: Linter
|
name: Linter
|
||||||
|
@ -99,7 +100,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-latest ]
|
os: [ ubuntu-latest ]
|
||||||
pyver: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8", "pypy-3.7" ]
|
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.7" ]
|
||||||
redisstack: [ "latest" ]
|
redisstack: [ "latest" ]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
services:
|
services:
|
||||||
|
|
4
poetry.lock
generated
4
poetry.lock
generated
|
@ -881,8 +881,8 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools"
|
||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "1.1"
|
lock-version = "1.1"
|
||||||
python-versions = "^3.7,<=3.11"
|
python-versions = ">=3.7,<4.0"
|
||||||
content-hash = "d2a86daef3a6a038b7989a89bd827459944cd531e753a483c41a4ec183d396d0"
|
content-hash = "cd2f5cfec3a012eeb149b6977837deeca3abf3e5b1ae9c6892144f2af1134dea"
|
||||||
|
|
||||||
[metadata.files]
|
[metadata.files]
|
||||||
aioredis = [
|
aioredis = [
|
||||||
|
|
|
@ -17,10 +17,11 @@ classifiers = [
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
"Topic :: Database",
|
"Topic :: Database",
|
||||||
'License :: OSI Approved :: BSD License',
|
'License :: OSI Approved :: BSD License',
|
||||||
'Programming Language :: Python :: 3.10',
|
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
'Programming Language :: Python :: 3.8',
|
'Programming Language :: Python :: 3.8',
|
||||||
'Programming Language :: Python :: 3.9',
|
'Programming Language :: Python :: 3.9',
|
||||||
|
'Programming Language :: Python :: 3.10',
|
||||||
|
'Programming Language :: Python :: 3.11',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
]
|
]
|
||||||
include=[
|
include=[
|
||||||
|
@ -34,7 +35,7 @@ include=[
|
||||||
"Issue tracker" = "https://github.com/redis/redis-om-python/issues"
|
"Issue tracker" = "https://github.com/redis/redis-om-python/issues"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.7,<=3.11"
|
python = ">=3.7,<4.0"
|
||||||
redis = ">=3.5.3,<5.0.0"
|
redis = ">=3.5.3,<5.0.0"
|
||||||
aioredis = "^2.0.0"
|
aioredis = "^2.0.0"
|
||||||
pydantic = "^1.10.2"
|
pydantic = "^1.10.2"
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
envlist = py37, py38, py39, py310
|
envlist = py37, py38, py39, py310, py311
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
whitelist_externals = poetry
|
whitelist_externals = poetry
|
||||||
|
|
Loading…
Reference in a new issue