Skip to content

Commit 7bc8b40

Browse files
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 <[email protected]>
1 parent 1e33e25 commit 7bc8b40

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
ignore-vulns: |
4343
GHSA-w596-4wvx-j9j6 # subversion related git dep, dependency for pytest. This is no impact here.
4444
GHSA-2p9h-ccw7-33gf # invalid ddos comment on the cleo package
45+
GHSA-hcpj-qp55-gfph
4546
4647
lint:
4748
name: Linter
@@ -99,7 +100,7 @@ jobs:
99100
strategy:
100101
matrix:
101102
os: [ ubuntu-latest ]
102-
pyver: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8", "pypy-3.7" ]
103+
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.7" ]
103104
redisstack: [ "latest" ]
104105
fail-fast: false
105106
services:

poetry.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ classifiers = [
1717
"Operating System :: OS Independent",
1818
"Topic :: Database",
1919
'License :: OSI Approved :: BSD License',
20-
'Programming Language :: Python :: 3.10',
2120
'Programming Language :: Python :: 3.7',
2221
'Programming Language :: Python :: 3.8',
2322
'Programming Language :: Python :: 3.9',
23+
'Programming Language :: Python :: 3.10',
24+
'Programming Language :: Python :: 3.11',
2425
'Programming Language :: Python',
2526
]
2627
include=[
@@ -34,7 +35,7 @@ include=[
3435
"Issue tracker" = "https://github.com/redis/redis-om-python/issues"
3536

3637
[tool.poetry.dependencies]
37-
python = "^3.7,<=3.11"
38+
python = ">=3.7,<4.0"
3839
redis = ">=3.5.3,<5.0.0"
3940
aioredis = "^2.0.0"
4041
pydantic = "^1.10.2"

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
skipsdist = true
3-
envlist = py37, py38, py39, py310
3+
envlist = py37, py38, py39, py310, py311
44

55
[testenv]
66
whitelist_externals = poetry

0 commit comments

Comments
 (0)