From 67d87141d317096828799068d2bfaf4b46f94770 Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Sun, 3 Dec 2023 09:47:09 -0100 Subject: [PATCH] Admin: Enable tests for Python 3.12 --- .github/workflows/ci.yaml | 3 +++ requirements.txt | 2 +- setup.cfg | 1 + tox.ini | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 295efa9e..8be8dca1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,6 +32,7 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' implementation: - '' # CPython - 'pypy' # PyPy @@ -40,6 +41,8 @@ jobs: python-version: '3.10' - implementation: 'pypy' python-version: '3.11' + - implementation: 'pypy' + python-version: '3.12' steps: - uses: actions/checkout@master diff --git a/requirements.txt b/requirements.txt index bbeab8d9..c1fae014 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ pytest pytest-coverage coveralls python-dateutil >= 2.7 -maya; python_version >= '3.7' +maya; python_version < '3.12' diff --git a/setup.cfg b/setup.cfg index e93f3e9a..39ca7dc7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy diff --git a/tox.ini b/tox.ini index 96a57033..e021ed40 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py37, py38, py39, py310, py311, pypy3, mypy +envlist = py37, py38, py39, py310, py311, py312, pypy3, mypy [testenv] commands = pytest --cov {posargs}