Skip to content

Commit 9e87495

Browse files
Add CI coverage for Python 3.15 (#5127)
1 parent 9fd9ea2 commit 9e87495

6 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/fuzz.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27+
# TODO: add 3.15; relies on libcst which doesn't support 3.15 yet
2728
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2829

2930
steps:

.github/workflows/release_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ${{ matrix.os }}
2727
strategy:
2828
matrix:
29-
python-version: ["3.12", "3.13", "3.14"]
29+
python-version: ["3.12", "3.13", "3.14", "3.15"]
3030
os: [macOS-latest, ubuntu-latest, windows-latest]
3131

3232
steps:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
python-version: ["3.10", "3.11", "3.12.10", "3.13", "3.14", "pypy-3.11"]
40+
python-version: ["3.10", "3.11", "3.12.10", "3.13", "3.14", "3.15", "pypy-3.11"]
4141
os: [ubuntu-latest, macOS-latest, windows-latest, windows-11-arm]
4242
exclude:
4343
# setup-python only supports CPython 3.11+ on arm64 windows

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737

3838
<!-- Changes to how Black is packaged, such as dependency requirements -->
3939

40+
- Python 3.15 is now supported. Compiled wheels are not yet provided for Python 3.15, so
41+
performance may be slower than on existing Python versions. Wheels will be provided
42+
once Python 3.15 is later in its release cycle. (#5127)
43+
4044
### Parser
4145

4246
<!-- Changes to the parser or to version autodetection -->

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ classifiers = [
4949
"Programming Language :: Python :: 3.12",
5050
"Programming Language :: Python :: 3.13",
5151
"Programming Language :: Python :: 3.14",
52+
"Programming Language :: Python :: 3.15",
5253
"Topic :: Software Development :: Libraries :: Python Modules",
5354
"Topic :: Software Development :: Quality Assurance",
5455
]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
isolated_build = true
3-
envlist = {,ci-}py{310,311,312,313,314,py3},fuzz,run_self,generate_schema
3+
envlist = {,ci-}py{310,311,312,313,314,315,py3},fuzz,run_self,generate_schema
44

55
[testenv]
66
setenv =

0 commit comments

Comments
 (0)