From 5e770918ebc6b1a197f6a5742ae0c0f8cc14a27b Mon Sep 17 00:00:00 2001 From: Ashhar Hasan Date: Fri, 19 Jan 2024 12:21:20 +0530 Subject: [PATCH] Add tests against Python 3.12 --- .github/workflows/ci.yml | 8 +++++--- setup.py | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 500897be..8e5a3e52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,8 +44,10 @@ jobs: "3.9", "3.10", "3.11", + "3.12", "pypy-3.8", "pypy-3.9", + "pypy-3.10", ] trino: [ "latest", @@ -55,11 +57,11 @@ jobs: ] include: # Test with older Trino versions for backward compatibility - - { python: "3.11", trino: "351", sqlalchemy: "~=1.4.0" } # first Trino version + - { python: "3.12", trino: "351", sqlalchemy: "~=1.4.0" } # first Trino version # Test with sqlalchemy 1.3 - - { python: "3.11", trino: "latest", sqlalchemy: "~=1.3.0" } + - { python: "3.12", trino: "latest", sqlalchemy: "~=1.3.0" } # Test with sqlalchemy 2.0 - - { python: "3.11", trino: "latest", sqlalchemy: "~=2.0.0" } + - { python: "3.12", trino: "latest", sqlalchemy: "~=2.0.0" } env: TRINO_VERSION: "${{ matrix.trino }}" steps: diff --git a/setup.py b/setup.py index ed83fdde..5e9428be 100755 --- a/setup.py +++ b/setup.py @@ -70,6 +70,7 @@ "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", "Topic :: Database :: Front-Ends",