Skip to content

Commit cab9b3c

Browse files
authored
Merge pull request kimetrica#54 from ShirinovAdil/origin/py311support
Enable python 3.11
2 parents d6c0db5 + a1db690 commit cab9b3c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def get_reqs(*fns):
5151
"Programming Language :: Python :: 3.8",
5252
"Programming Language :: Python :: 3.9",
5353
"Programming Language :: Python :: 3.10",
54+
"Programming Language :: Python :: 3.11",
5455
"Framework :: Django :: 2.2",
5556
"Framework :: Django :: 3.0",
5657
"Framework :: Django :: 3.1",
@@ -61,5 +62,5 @@ def get_reqs(*fns):
6162
"pip-requirements.txt",
6263
),
6364
tests_require=get_reqs("pip-requirements-test.txt"),
64-
python_requires=">=3.6,<3.11",
65+
python_requires=">=3.6,<3.12",
6566
)

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ignore = W503, E203 # See https://github.com/PyCQA/pycodestyle/issues/373
44
max-line-length=160
55

66
[tox]
7-
envlist = py{36,37}-django{22},py{36,37,38}-django{30},py{36,37,38,39,310}-django{31},py{36,37,38,39,310}-django{32},py{38,39,310}-django{40}
7+
envlist = py{36,37}-django{22},py{36,37,38}-django{30},py{36,37,38,39,310,311}-django{31},py{36,37,38,39,310,311}-django{32},py{38,39,310,311}-django{40}
88
recreate = True
99

1010
[gh-actions]
@@ -14,6 +14,7 @@ python =
1414
3.8: py38
1515
3.9: py39
1616
3.10: py310
17+
3.11: py311
1718

1819
[testenv]
1920
basepython =
@@ -22,6 +23,7 @@ basepython =
2223
py38: python3.8
2324
py39: python3.9
2425
py310: python3.10
26+
py311: python3.11
2527
deps =
2628
-r{toxinidir}/pip-requirements-test.txt
2729
django22: Django>=2.2,<2.3

0 commit comments

Comments
 (0)