Skip to content

Commit a5fb407

Browse files
authored
Added Django 4.2.0 and Python 3.11 compatibility (#484)
1 parent 2b78d9c commit a5fb407

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: [ 3.8, 3.9, '3.10' ]
19+
python-version: [ 3.8, 3.9, '3.10', '3.11' ]
2020

2121
steps:
2222
- uses: actions/checkout@v3

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.8",
2727
"Programming Language :: Python :: 3.9",
2828
"Programming Language :: Python :: 3.10",
29+
"Programming Language :: Python :: 3.11",
2930
"Topic :: Software Development :: Libraries :: Python Modules",
3031
]
3132
requires-python = ">=3.8"

tox.ini

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
[tox]
22
envlist =
33
py{38,39,310}-django{32}
4-
py{38,39,310}-django{40,41}
4+
py{38,39,310}-django{40,41,42}
5+
py{311}-django{41,42}
56
isolated_build = True
67

78
[gh-actions]
89
python =
910
3.8: py38
1011
3.9: py39
1112
3.10: py310
13+
3.11: py311
1214

1315
[testenv]
1416
allowlist_externals = ./run.sh
1517
deps =
1618
django32: Django>=3.2,<3.3
1719
django40: Django>=4.0,<4.1
1820
django41: Django>=4.1,<4.2
21+
django42: Django>=4.2,<4.3
1922
djangomain: https://github.com/django/django/archive/main.tar.gz
2023
-r{toxinidir}/requirements.txt
2124
commands =
@@ -32,7 +35,7 @@ commands =
3235

3336
[testenv:typecheck]
3437
deps =
35-
Django>=3.2,<4.2
38+
Django>=3.2,<4.3
3639
-r{toxinidir}/requirements.txt
3740
commands =
3841
./run.sh typecheck

0 commit comments

Comments
 (0)