From 8af93f5e281b98d663bc3e2f507233a5655fa342 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 16 Jul 2024 11:35:58 +0100 Subject: [PATCH] Add tests on Python 3.12 --- .github/workflows/test_and_deploy.yml | 2 +- setup.cfg | 1 + tox.ini | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 2899c76..6a58ec7 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/setup.cfg b/setup.cfg index e22207a..f71f5d8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,6 +18,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Operating System :: OS Independent License :: OSI Approved :: BSD License project_urls = diff --git a/tox.ini b/tox.ini index 718568e..566f638 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ # For more information about tox, see https://tox.readthedocs.io/en/latest/ [tox] -envlist = py{38,39,310,311}-{linux,macos,windows} +envlist = py{38,39,310,311,312}-{linux,macos,windows} [gh-actions] python = @@ -8,6 +8,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [gh-actions:env] PLATFORM =