From 223a26b44e4ded112b48dce0fbb571849c24e1b1 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Fri, 6 Oct 2023 15:50:26 +0200 Subject: [PATCH] Add support for Python 3.12 --- .github/workflows/test.yml | 3 ++- setup.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2eae355..33eb0c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: run_test_suite: strategy: matrix: - python-version: [3.7, 3.11] # no current need for in-between versions + python-version: [3.7, 3.12] # no current need for in-between versions name: Run the Test Suite runs-on: ubuntu-20.04 steps: @@ -25,6 +25,7 @@ jobs: - name: Run the Test Suite run: |- set -x + pip install -U setuptools # for Python >=3.12 python setup.py sdist cd dist/ tar xf hsluv-*.tar.gz diff --git a/setup.py b/setup.py index 2df6b22..c0c73da 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3 :: Only", ], python_requires='>=3.7',