From a59c119e61bd9df2b15f2ba30129df83c9d4f885 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Thu, 19 Oct 2023 11:22:57 +0100 Subject: [PATCH] Support python 3.12 --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 8 ++++---- pyproject.toml | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d301aea..6f9a319 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest'] - python: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] include: - os: 'macos-latest' python: '3.7' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2eaf934..c222bcb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,20 +20,20 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] coverage: [false] include: # Modify existing configurations: - os: ubuntu-latest - python-version: '3.11' + python-version: '3.12' coverage: false tz: 'XXX-05:30' # UTC+05:30 # Add new configurations: - os: ubuntu-latest - python-version: '3.11' + python-version: '3.12' coverage: true - os: macos-latest - python-version: '3.11' + python-version: '3.12' coverage: false name: ${{ matrix.os }} py-${{ matrix.python-version }} ${{ matrix.tz }} ${{ matrix.coverage && '(coverage)' || '' }} env: diff --git a/pyproject.toml b/pyproject.toml index 74f0472..4aaaaf4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,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 :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities"