Skip to content

Commit af02dfe

Browse files
authored
Merge pull request #54 from Tenzer/python-3.11
Add Python 3.11 and Django 4.1 support
2 parents 80f019f + be99ae7 commit af02dfe

File tree

7 files changed

+21
-10
lines changed

7 files changed

+21
-10
lines changed

.github/workflows/front-end-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212

1313
- name: Use Node.js
14-
uses: actions/setup-node@v1
14+
uses: actions/setup-node@v3
1515
with:
1616
node-version: '13.x'
1717

.github/workflows/release-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
- uses: actions/checkout@v2
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v1
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: '3.x'
1919

2020
- name: Set up Node.js
21-
uses: actions/setup-node@v1
21+
uses: actions/setup-node@v3
2222
with:
2323
node-version: '13.x'
2424

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
12+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
1313

1414
steps:
1515
- name: Checkout the code
1616
uses: actions/checkout@v2
1717

1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v1
19+
uses: actions/setup-python@v4
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ Version numbers should follow https://semver.org/spec/v2.0.0.html
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added Python 3.11 support.
13+
- Added Django 4.1 support.
14+
1015
### Changed
1116

1217
- Remove upper boundary on supported Python version.
@@ -18,6 +23,7 @@ Version numbers should follow https://semver.org/spec/v2.0.0.html
1823

1924
- Fix broken CI by removing `tox-poetry-dev-dependencies`.
2025

26+
2127
## [2.1.0] - 2022-08-01
2228

2329
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ website outside of local development.
6060
## Support
6161

6262
Tests run on sensible combinations of:
63-
- Python (3.6-3.10)
64-
- Django (1.11-4.0)
63+
- Python (3.6-3.11)
64+
- Django (1.11-4.1)
6565

6666
If you're stuck on old version of Python or Django, you may consider installing
6767
old versions.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Framework :: Django :: 3.1",
2222
"Framework :: Django :: 3.2",
2323
"Framework :: Django :: 4.0",
24+
"Framework :: Django :: 4.1",
2425
"Intended Audience :: Developers",
2526
"License :: OSI Approved :: MIT License",
2627
"Natural Language :: English",
@@ -31,6 +32,7 @@ classifiers = [
3132
"Programming Language :: Python :: 3.8",
3233
"Programming Language :: Python :: 3.9",
3334
"Programming Language :: Python :: 3.10",
35+
"Programming Language :: Python :: 3.11",
3436
"Topic :: Database",
3537
"Topic :: Documentation",
3638
"Topic :: Utilities",

tox.ini

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
envlist =
33
py36-django{111,20,21,22,30,31,32}
44
py37-django{111,20,21,22,30,31,32}
5-
py38-django{22,30,31,32,40}
6-
py39-django{22,30,31,32,40}
7-
py310-django{32,40}
5+
py38-django{22,30,31,32,40,41}
6+
py39-django{22,30,31,32,40,41}
7+
py310-django{32,40,41}
8+
py311-django{32,40,41}
89

910
isolated_build = True
1011

@@ -15,6 +16,7 @@ python =
1516
3.8: py38
1617
3.9: py39
1718
3.10: py310
19+
3.11: py311
1820

1921
[testenv]
2022
commands =
@@ -32,6 +34,7 @@ deps =
3234
django31: django~=3.1.0
3335
django32: django~=3.2.0
3436
django40: django~=4.0.0
37+
django41: django~=4.1.0
3538
setenv =
3639
PYTHONDONTWRITEBYTECODE=1
3740

0 commit comments

Comments
 (0)