From 95399dfe5098924fd8a7362198aeaab214e788b9 Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Fri, 22 Mar 2024 12:45:45 +1100 Subject: [PATCH] Add support for Python 3.11 and 3.12 --- .github/workflows/ci.yml | 2 +- tox.ini | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6caeab8..bf144a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] experimental: [false] toxenv: ["py"] include: diff --git a/tox.ini b/tox.ini index af40e48..7b16505 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,8 @@ envlist = py{37,38,39,310}-django{22,32}, py{38,39,310}-django40, + py{38,39,310,311}-django41, + py{38,39,310,311,312}-django42, packaging, [testenv] @@ -12,9 +14,11 @@ deps = django22: Django~=2.2 django32: Django~=3.2 django40: Django~=4.0 + django41: Django~=4.1 + django42: Django~=4.2 commands = - py{37,38,39,310},pypy3: coverage run tests/manage.py test testsuite {posargs: -v 2} - py{37,38,39,310},pypy3: coverage report -m + py{37,38,39,310,311,312},pypy3: coverage run tests/manage.py test testsuite {posargs: -v 2} + py{37,38,39,310,311,312},pypy3: coverage report -m [testenv:packaging] usedevelop = false