From 9dd6d98da338a3924b0ed7440b843988cd5805df Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 9 Sep 2023 15:40:39 -0600 Subject: [PATCH] Add support for Python 3.12 (#48) --- .github/workflows/test.yml | 6 ++++-- setup.py | 1 + tox.ini | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 470c010..206d3af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: contents: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: @@ -52,14 +52,16 @@ jobs: "3.9", "3.10", "3.11", + "3.12", ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} + allow-prereleases: true - name: Install dependencies run: | diff --git a/setup.py b/setup.py index 5bd5f0f..259d058 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,7 @@ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Software Development', ] diff --git a/tox.ini b/tox.ini index b0766b5..d62caa1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 2.9.1 skip_missing_interpreters = true -envlist = py35, py36, py37, py38, py39, py310, py311 +envlist = py37, py38, py39, py310, py311, py312 [testenv] description = run the test driver with {basepython}