From decb0975f249fbc12af33055c9aa08c7927087e0 Mon Sep 17 00:00:00 2001 From: Joshua Munn Date: Tue, 21 Nov 2023 10:47:29 +0000 Subject: [PATCH] Add Python 3.12 --- .github/workflows/ci.yml | 2 +- pyproject.toml | 3 ++- tox.ini | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4077bd7..6e8454c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 4 matrix: - python: ["3.8", "3.9", "3.10", "3.11"] + python: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index 3b04e70..50dc3b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ classifiers=[ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Framework :: Django', 'Framework :: Django :: 4', 'Framework :: Wagtail', @@ -29,7 +30,7 @@ packages = [ ] [tool.poetry.dependencies] -python = ">=3.8,<3.12" +python = ">=3.8,<3.13" wagtail = ">=5.2" airtable-python-wrapper = "~0.13.0" djangorestframework = ">=3.11.0" diff --git a/tox.ini b/tox.ini index 18d4de3..feb3edf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - python{3.8,3.9,3.10,3.11}-django4.2-wagtail5.2 + python{3.8,3.9,3.10,3.113.12}-django4.2-wagtail5.2 [testenv] commands = python runtests.py @@ -10,6 +10,7 @@ basepython = python3.9: python3.9 python3.10: python3.10 python3.11: python3.11 + python3.12: python3.12 deps = django4.2: Django>=4.2,<5.0