From c83816c771f267b4cb4cf3c967ddfc6b8f40ec8e Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 27 Oct 2022 13:46:44 -0500 Subject: [PATCH 1/3] add python 3.11 to CI, tox, and trove classifiers --- .github/workflows/test.yml | 2 +- setup.cfg | 1 + tox.ini | 9 +++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6409b6861..afab425b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 diff --git a/setup.cfg b/setup.cfg index bd4817e64..3004811a9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,6 +24,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Internet :: WWW/HTTP [options] diff --git a/tox.ini b/tox.ini index 24a34de8c..d6071f0d8 100644 --- a/tox.ini +++ b/tox.ini @@ -6,10 +6,10 @@ envlist = docs, sphinxlint, py{37,38,39}-dj22, - py{37,38,39,310}-dj32, - py{38,39,310}-dj40, - py{38,39,310}-dj41, - py{38,39,310}-djmain, + py{37,38,39,310,311}-dj32, + py{38,39,310,311}-dj40, + py{38,39,310,311}-dj41, + py{38,39,310,311}-djmain, [gh-actions] python = @@ -17,6 +17,7 @@ python = 3.8: py38, docs, flake8, migrations, migrate_swapped, sphinxlint 3.9: py39 3.10: py310 + 3.11: py311 [pytest] django_find_project = false From 536c4113cdad0265ff273b098bc1295d50c7c4c4 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 27 Oct 2022 14:09:11 -0500 Subject: [PATCH 2/3] update CHANGELOG and AUTHORS --- AUTHORS | 1 + CHANGELOG.md | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS b/AUTHORS index 8d8547ecd..9232f01e1 100644 --- a/AUTHORS +++ b/AUTHORS @@ -56,6 +56,7 @@ Jonas Nygaard Pedersen Jonathan Steffan Jordi Sanchez Joseph Abrahams +Josh Thomas Jozef Knaperek Julien Palard Jun Zhou diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c5bf0d93..c6530385e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed * #1211 documentation improve on 'AUTHORIZATION_CODE_EXPIRE_SECONDS'. +* #1218 Confim support for Python 3.11. ## [2.2.0] 2022-10-18 From b473c7121d5b9d99a203d3da6812ddf1ddf0f3e1 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 27 Oct 2022 15:53:26 -0500 Subject: [PATCH 3/3] python 3.11 only officially supported by Django 4.1+ --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index d6071f0d8..44557156f 100644 --- a/tox.ini +++ b/tox.ini @@ -6,8 +6,8 @@ envlist = docs, sphinxlint, py{37,38,39}-dj22, - py{37,38,39,310,311}-dj32, - py{38,39,310,311}-dj40, + py{37,38,39,310}-dj32, + py{38,39,310}-dj40, py{38,39,310,311}-dj41, py{38,39,310,311}-djmain,