Skip to content

Commit 541be65

Browse files
committed
pyproject: switch use non-legacy setuptools build backend
This may break some build configurations, like pip. But we should be using uv everywhere now. I don't have the patience to deal with pip anymore.
1 parent 779c84a commit 541be65

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/news.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Version History
2525
tests against a separate build that was theoretically identical. But the
2626
builds may have been subtly different, leading to preventable bugs in our
2727
wheels. (Enabling this test coverage did not uncover any failures.)
28+
* The ``pyproject.toml`` build backend has been switched from
29+
``setuptools.build_meta:__legacy__`` to ``setuptools.build_meta``.
2830

2931
0.24.0 (released 2025-08-17)
3032
============================

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ requires = [
3838
"packaging",
3939
"setuptools",
4040
]
41-
# Need to use legacy backend because setup_zstd.py breaks build isolation.
42-
build-backend = "setuptools.build_meta:__legacy__"
41+
build-backend = "setuptools.build_meta"
4342

4443
[dependency-groups]
4544
dev = [

0 commit comments

Comments
 (0)