Skip to content

Commit 0c5d159

Browse files
wufangyong973shenxianpeng
andauthored
test: add Python 3.15 to the CI test matrix (#291)
* ci: test on Python 3.15 and declare it as a supported version * Update test.yml --------- Co-authored-by: Xianpeng Shen <xianpeng.shen@gmail.com>
1 parent b1c0fc8 commit 0c5d159

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-latest, windows-latest, macos-latest]
21-
python-version: ["3.14", "3.13", "3.12", "3.11", "3.10"]
21+
python-version: ["3.15", "3.14", "3.13", "3.12", "3.11", "3.10"]
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -29,6 +29,7 @@ jobs:
2929
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3030
with:
3131
python-version: ${{ matrix.python-version }}
32+
allow-prereleases: true
3233

3334
- name: Setup uv
3435
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Project in a Nutshell
1313

14-
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.
14+
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.
1515

1616
**Entry points** (defined in `pyproject.toml`):
1717
- `clang-format-hook` → `cpp_linter_hooks/clang_format.py:main`

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ classifiers = [
2727
"Programming Language :: Python :: 3.12",
2828
"Programming Language :: Python :: 3.13",
2929
"Programming Language :: Python :: 3.14",
30+
"Programming Language :: Python :: 3.15",
3031
"Topic :: Software Development :: Build Tools",
3132
]
3233
dependencies = [

0 commit comments

Comments
 (0)