From f4d50ac57fba7025b3f036e2e79bd7cb4087638b Mon Sep 17 00:00:00 2001 From: Adam Taylor Date: Tue, 5 Dec 2023 19:55:13 -0700 Subject: [PATCH] Also test with Python 3.12 --- .github/workflows/test.yml | 2 ++ setup.py | 1 + tox.ini | 6 ++++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 202b307..c0d6282 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -109,6 +109,8 @@ jobs: python-version: "3.10" - django-version: "4.2" python-version: "3.11" + - django-version: "4.2" + python-version: "3.12" steps: - uses: actions/checkout@v2 diff --git a/setup.py b/setup.py index f1873fd..5d5e27d 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], install_requires=[], zip_safe=False, diff --git a/tox.ini b/tox.ini index 3e11991..1cdc3b5 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,8 @@ envlist = {py36,py37,py38,py39}-django{30,31} {py36,py37,py38,py39,py310}-django32 {py38,py39,py310}-django40 - {py38,py39,py310,py311}-django{41,42} + {py38,py39,py310,py311}-django41 + {py38,py39,py310,py311,py312}-django42 [testenv] passenv = DATABASE_URL @@ -28,7 +29,7 @@ deps = django42: Django>=4.2,<5.0 dj-database-url==0.5.0 py{27,35,36,37,38,39,310}: psycopg2==2.8.5 - py311: psycopg2==2.9.6 + py{311,312}: psycopg2==2.9.6 [gh-actions] python = @@ -40,6 +41,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [gh-actions:env] DJANGO =