From 5354195266f47ce185d6aab626251746f705f66e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 17:08:43 -0400 Subject: [PATCH 1/4] chore: update pre-commit hooks (#227) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.4 → v0.15.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.4...v0.15.7) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 809e0ad..96329a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,7 +35,7 @@ repos: # Lints code - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.4" + rev: "v0.15.7" hooks: - id: ruff args: ["--fix", "--show-fixes"] From fc457bd9c16c3c4ba1a0b5423fcf03510bf76d9a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 17:08:55 -0400 Subject: [PATCH 2/4] chore: bump pypa/cibuildwheel from 3.3 to 3.4 in the actions group (#226) Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel). Updates `pypa/cibuildwheel` from 3.3 to 3.4 - [Release notes](https://github.com/pypa/cibuildwheel/releases) - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md) - [Commits](https://github.com/pypa/cibuildwheel/compare/v3.3...v3.4) --- updated-dependencies: - dependency-name: pypa/cibuildwheel dependency-version: '3.4' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f9deb1f..b0fb7af 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -44,7 +44,7 @@ jobs: steps: - uses: actions/checkout@v6 - - uses: pypa/cibuildwheel@v3.3 + - uses: pypa/cibuildwheel@v3.4 env: CIBW_ARCHS_MACOS: auto universal2 From 9520d68daa4827878b7072b1ee63c5e9a15c0c05 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 09:11:08 -0400 Subject: [PATCH 3/4] chore: update pre-commit hooks (#228) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.7 → v0.15.15](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.7...v0.15.15) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 96329a7..bbb88b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,7 +35,7 @@ repos: # Lints code - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.7" + rev: "v0.15.15" hooks: - id: ruff args: ["--fix", "--show-fixes"] From df676e2647880bdb135a60869bb782dd23acdcd3 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 5 Jun 2026 11:39:27 -0400 Subject: [PATCH 4/4] chore: add more wheels (#229) * chore: add more wheels Signed-off-by: Henry Schreiner * chore: use build[uv] (fixes build isolation issue) Signed-off-by: Henry Schreiner --------- Signed-off-by: Henry Schreiner --- .github/workflows/wheels.yml | 6 +++--- .pre-commit-config.yaml | 4 ++-- README.md | 2 +- pyproject.toml | 4 +++- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b0fb7af..c0502ea 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -39,14 +39,14 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel] + os: [ubuntu-latest, windows-latest, macos-latest, macos-26-intel, ubuntu-24.04-arm, windows-11-arm] steps: - uses: actions/checkout@v6 + - uses: astral-sh/setup-uv@v8.1.0 + - uses: pypa/cibuildwheel@v3.4 - env: - CIBW_ARCHS_MACOS: auto universal2 - name: Verify clean directory run: git diff --exit-code diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bbb88b0..9b5380d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,8 +37,8 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: "v0.15.15" hooks: - - id: ruff - args: ["--fix", "--show-fixes"] + - id: ruff-check + args: ["--fix"] - id: ruff-format # Changes tabs to spaces diff --git a/README.md b/README.md index 92522d6..541bae3 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ python_example [actions-wheels-badge]: https://github.com/pybind/python_example/workflows/Wheels/badge.svg An example project built with [pybind11](https://github.com/pybind/pybind11). -This requires Python 3.7+; for older versions of Python, check the commit +This requires Python 3.9+; for older versions of Python, check the commit history. Installation diff --git a/pyproject.toml b/pyproject.toml index 0c7cc8e..d4d568e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,10 +8,12 @@ build-backend = "setuptools.build_meta" [tool.cibuildwheel] test-command = "python {project}/tests/test.py" -test-skip = "*universal2:arm64" +enable = ["pypy", "graalpy"] +build-frontend = "build[uv]" [tool.ruff] +show-fixes = true target-version = "py39" [tool.ruff.lint]