Skip to content

Commit 718b7d9

Browse files
committed
chore: use build[uv] (fixes build isolation issue)
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
1 parent 531b7fe commit 718b7d9

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
steps:
4545
- uses: actions/checkout@v6
4646

47+
- uses: astral-sh/setup-uv@v8.1.0
48+
4749
- uses: pypa/cibuildwheel@v3.4
4850

4951
- name: Verify clean directory

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ repos:
3737
- repo: https://github.com/astral-sh/ruff-pre-commit
3838
rev: "v0.15.15"
3939
hooks:
40-
- id: ruff
41-
args: ["--fix", "--show-fixes"]
40+
- id: ruff-check
41+
args: ["--fix"]
4242
- id: ruff-format
4343

4444
# Changes tabs to spaces

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ build-backend = "setuptools.build_meta"
99
[tool.cibuildwheel]
1010
test-command = "python {project}/tests/test.py"
1111
enable = ["pypy", "graalpy"]
12+
build-frontend = "build[uv]"
1213

1314

1415
[tool.ruff]
16+
show-fixes = true
1517
target-version = "py39"
1618

1719
[tool.ruff.lint]

0 commit comments

Comments
 (0)