Skip to content

Commit 49816bd

Browse files
committed
Add support for Python 3.11
1 parent af8888f commit 49816bd

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

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

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88

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

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
python: python3.10
2+
python: python3.11
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
55
rev: v4.4.0

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
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
"Programming Language :: Python :: Implementation :: PyPy",
5556
"Framework :: Django",
5657
"Framework :: Django :: 3.2",

tox.ini

Lines changed: 3 additions & 2 deletions
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)