From e9004207e0120d41c9dd7f3f59358300f8f14c18 Mon Sep 17 00:00:00 2001 From: wfy18 Date: Thu, 1 Oct 2026 11:10:02 +0800 Subject: [PATCH 1/2] ci: test on Python 3.15 and declare it as a supported version --- .github/workflows/test.yml | 2 +- AGENTS.md | 2 +- pyproject.toml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 782ca12..60a7734 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.14", "3.13", "3.12", "3.11", "3.10"] + python-version: ["3.15", "3.14", "3.13", "3.12", "3.11", "3.10"] steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/AGENTS.md b/AGENTS.md index c737811..fd7ff2d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -11,7 +11,7 @@ ## Project in a Nutshell -A pre-commit hook repo that auto-installs and runs `clang-format` and `clang-tidy` from Python wheels. Supports Python 3.10+ (tested 3.9–3.14) on Windows, Linux, macOS. +A pre-commit hook repo that auto-installs and runs `clang-format` and `clang-tidy` from Python wheels. Supports Python 3.10+ (tested 3.10–3.15) on Windows, Linux, macOS. **Entry points** (defined in `pyproject.toml`): - `clang-format-hook` → `cpp_linter_hooks/clang_format.py:main` diff --git a/pyproject.toml b/pyproject.toml index 8db406c..c6d05ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Software Development :: Build Tools", ] dependencies = [ From dbacaaaa4af1c116c1505b978ec62135da2a51bf Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Mon, 12 Oct 2026 08:28:39 +0300 Subject: [PATCH 2/2] Update test.yml --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 60a7734..9c5e7e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,7 @@ jobs: uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Setup uv uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0