Skip to content

Commit c2ac3cf

Browse files
committed
Add support for Python 3.11
1 parent 86c5309 commit c2ac3cf

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v2
14-
- name: Set up Python 3.9
14+
- name: Set up Python 3.11
1515
uses: actions/setup-python@v2
1616
with:
17-
python-version: 3.9
17+
python-version: 3.11
1818
- name: Build wheel and source tarball
1919
run: |
2020
pip install wheel

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v2
11-
- name: Set up Python 3.9
11+
- name: Set up Python 3.11
1212
uses: actions/setup-python@v2
1313
with:
14-
python-version: 3.9
14+
python-version: 3.11
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install --upgrade pip

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
max-parallel: 4
1010
matrix:
1111
django: ["3.2", "4.0", "4.1"]
12-
python-version: ["3.8", "3.9", "3.10"]
12+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1313
include:
1414
- django: "3.2"
1515
python-version: "3.7"

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
python: python3.9
2+
python: python3.11
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
55
rev: v4.3.0

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"Programming Language :: Python :: 3.8",
5151
"Programming Language :: Python :: 3.9",
5252
"Programming Language :: Python :: 3.10",
53+
"Programming Language :: Python :: 3.11",
5354
"Programming Language :: Python :: Implementation :: PyPy",
5455
"Framework :: Django",
5556
"Framework :: Django :: 3.2",

tox.ini

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
3-
py{37,38,39,310}-django32,
4-
py{38,39,310}-django{40,41,main},
3+
py{37,38,39,310,311}-django32,
4+
py{38,39,310,311}-django{40,41,main},
55
pre-commit
66

77
[gh-actions]
@@ -10,6 +10,7 @@ python =
1010
3.8: py38
1111
3.9: py39
1212
3.10: py310
13+
3.11: py311
1314

1415
[gh-actions:env]
1516
DJANGO =

0 commit comments

Comments
 (0)