From 593492e6fb228c99f3c7a309455a7ec316c19fc2 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 27 Oct 2022 12:59:43 -0500 Subject: [PATCH 1/2] add python 3.11 to CI, tox, and trove classifiers --- .github/workflows/tests.yml | 1 + setup.py | 1 + tox.ini | 2 ++ 3 files changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9e2cf1e..04f3058 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,6 +37,7 @@ jobs: - "3.8" - "3.9" - "3.10" + - "3.11" exclude: # Windows 2.7 doesn't work because Microsoft removed stuff we needed. - os: windows-latest diff --git a/setup.py b/setup.py index d5fb17b..2f9f548 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ def read(*names, **kwargs): Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 +Programming Language :: Python :: 3.11 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Quality Assurance diff --git a/tox.ini b/tox.ini index 50f9df3..21f8b7a 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,7 @@ envlist = py38-django{22,32,40,tip}, py39-django{22,32,40,tip}, py310-django{32,40,tip}, + py311-django{32,40,tip}, check,pkgcheck,doc [testenv] @@ -79,3 +80,4 @@ python = 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 From ee8286fcc0c926b5eb2edc7329341dcbf2619a93 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 27 Oct 2022 15:57:10 -0500 Subject: [PATCH 2/2] python 3.11 only officially supported by Django 4.1+ --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 21f8b7a..f685e90 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ envlist = py38-django{22,32,40,tip}, py39-django{22,32,40,tip}, py310-django{32,40,tip}, - py311-django{32,40,tip}, + py311-django{tip}, check,pkgcheck,doc [testenv]