From c3a4289791d1d2ada4b306d7de41449c5c0daae1 Mon Sep 17 00:00:00 2001 From: Brian Egge Date: Sat, 14 Mar 2026 16:43:15 -0400 Subject: [PATCH] Add Python 3.12, 3.13, and 3.14 support Add Python 3.12, 3.13, and 3.14 to the CI test matrix and package classifiers. This is needed for HomeAssistant which uses Python 3.14. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/tests.yaml | 3 ++- pyproject.toml | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8eea922da..f8b38833a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ["3.9", "3.10", "3.11"] + python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - name: Check out code from GitHub uses: actions/checkout@v4.2.2 @@ -29,6 +29,7 @@ jobs: uses: actions/setup-python@v5.6.0 with: python-version: ${{ matrix.python }} + allow-prereleases: true cache: "poetry" - name: Install workflow dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index ff8e3139e..9b4202e4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,10 @@ classifiers = [ "Natural Language :: English", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", ]