Skip to content

Commit df676e2

Browse files
authored
chore: add more wheels (#229)
* chore: add more wheels Signed-off-by: Henry Schreiner <henryfs@princeton.edu> * chore: use build[uv] (fixes build isolation issue) Signed-off-by: Henry Schreiner <henryfs@princeton.edu> --------- Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
1 parent 9520d68 commit df676e2

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel]
42+
os: [ubuntu-latest, windows-latest, macos-latest, macos-26-intel, ubuntu-24.04-arm, windows-11-arm]
4343

4444
steps:
4545
- uses: actions/checkout@v6
4646

47+
- uses: astral-sh/setup-uv@v8.1.0
48+
4749
- uses: pypa/cibuildwheel@v3.4
48-
env:
49-
CIBW_ARCHS_MACOS: auto universal2
5050

5151
- name: Verify clean directory
5252
run: git diff --exit-code

.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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python_example
1717
[actions-wheels-badge]: https://github.com/pybind/python_example/workflows/Wheels/badge.svg
1818

1919
An example project built with [pybind11](https://github.com/pybind/pybind11).
20-
This requires Python 3.7+; for older versions of Python, check the commit
20+
This requires Python 3.9+; for older versions of Python, check the commit
2121
history.
2222

2323
Installation

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ build-backend = "setuptools.build_meta"
88

99
[tool.cibuildwheel]
1010
test-command = "python {project}/tests/test.py"
11-
test-skip = "*universal2:arm64"
11+
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)