Skip to content

Commit 2a2b092

Browse files
authored
Fix #8751 - Add support to Python 3.11 (#8752)
1 parent cac89ae commit 2a2b092

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- '3.8'
2020
- '3.9'
2121
- '3.10'
22+
- '3.11'
2223

2324
steps:
2425
- uses: actions/checkout@v3

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ continued development by **[signing up for a paid plan][funding]**.
8585

8686
REST framework requires the following:
8787

88-
* Python (3.6, 3.7, 3.8, 3.9, 3.10)
88+
* Python (3.6, 3.7, 3.8, 3.9, 3.10, 3.11)
8989
* Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1)
9090

9191
We **highly recommend** and only officially support the latest patch release of

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def get_version(package):
104104
'Programming Language :: Python :: 3.8',
105105
'Programming Language :: Python :: 3.9',
106106
'Programming Language :: Python :: 3.10',
107+
'Programming Language :: Python :: 3.11',
107108
'Programming Language :: Python :: 3 :: Only',
108109
'Topic :: Internet :: WWW/HTTP',
109110
],

tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ envlist =
44
{py36,py37,py38,py39}-django31,
55
{py36,py37,py38,py39,py310}-django32,
66
{py38,py39,py310}-{django40,django41,djangomain},
7+
{py311}-{django41,djangomain},
78
base,dist,docs,
89

910
[travis:env]
@@ -26,7 +27,7 @@ deps =
2627
django31: Django>=3.1,<3.2
2728
django32: Django>=3.2,<4.0
2829
django40: Django>=4.0,<4.1
29-
django41: Django>=4.1a1,<4.2
30+
django41: Django>=4.1,<4.2
3031
djangomain: https://github.com/django/django/archive/main.tar.gz
3132
-rrequirements/requirements-testing.txt
3233
-rrequirements/requirements-optionals.txt
@@ -59,3 +60,6 @@ ignore_outcome = true
5960

6061
[testenv:py310-djangomain]
6162
ignore_outcome = true
63+
64+
[testenv:py311-djangomain]
65+
ignore_outcome = true

0 commit comments

Comments
 (0)