Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# TODO: add 3.15; relies on libcst which doesn't support 3.15 yet
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
{
CIBW_BUILD="cp310-*" cibuildwheel --print-build-identifiers --platform linux | pyp 'json.dumps({"only": x, "os": "ubuntu-latest"})'
CIBW_BUILD="cp314-*" cibuildwheel --print-build-identifiers --platform windows | pyp 'json.dumps({"only": x, "os": "windows-latest"})'
CIBW_BUILD="cp315-*" cibuildwheel --print-build-identifiers --platform windows | pyp 'json.dumps({"only": x, "os": "windows-latest"})'
} | pyp 'json.dumps(list(map(json.loads, lines)))' > /tmp/matrix
env:
CIBW_ARCHS_LINUX: x86_64
Expand Down
6 changes: 4 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

<!-- Include any especially major or disruptive changes here -->

- Python 3.15 support (#5101)
- Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810),
both new syntactic features in Python 3.15 (#5048)

### Stable style

<!-- Changes that affect Black's stable style -->
Expand All @@ -18,8 +22,6 @@
- Fix `# fmt: skip` being ignored in nested `if` expressions with parenthesized `in`
clauses (#4903)
- Fix crash when an f-string follows a `# fmt: off` comment inside brackets (#5097)
- Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810),
both new syntactic features in Python 3.15 (#5048)

### Preview style

Expand Down
1 change: 1 addition & 0 deletions plugin/black.vim
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ function BlackComplete(ArgLead, CmdLine, CursorPos)
\ 'target_version=py312',
\ 'target_version=py313',
\ 'target_version=py314',
\ 'target_version=py315',
\ ]
endfunction

Expand Down
1 change: 0 additions & 1 deletion tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
TargetVersion.PY37,
TargetVersion.PY38,
TargetVersion.PY39,
TargetVersion.PY315,
}

DEFAULT_MODE = black.Mode()
Expand Down
Loading