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 01/12] 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 02/12] 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 03/12] 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 04/12] 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] From f42066b219c1b526971eabc06625904dffc55eff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 12:12:26 -0400 Subject: [PATCH 05/12] chore: update pre-commit hooks (#232) 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.15 → v0.15.21](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.15...v0.15.21) 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 9b5380d..9b99a9e 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.15" + rev: "v0.15.21" hooks: - id: ruff-check args: ["--fix"] From da9e559e8a9e58e49df920cc942f5991a1f846f3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 12:12:37 -0400 Subject: [PATCH 06/12] chore: bump the actions group across 1 directory with 4 updates (#234) Bumps the actions group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python), [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) and [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) Updates `actions/setup-python` from 6 to 7 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v6...v7) Updates `astral-sh/setup-uv` from 8.1.0 to 8.3.2 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v8.1.0...v8.3.2) Updates `pypa/cibuildwheel` from 3.4 to 4.1 - [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.4...v4.1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: astral-sh/setup-uv dependency-version: 8.3.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: pypa/cibuildwheel dependency-version: '4.1' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/pip.yml | 6 +++--- .github/workflows/wheels.yml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index e6aae51..2121593 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -22,9 +22,9 @@ jobs: runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} @@ -51,7 +51,7 @@ jobs: mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-wheel - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Install pybind11 # This is required because --no-build-isolation disable dependences diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index c0502ea..8b7b4fe 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -19,7 +19,7 @@ jobs: name: Build SDist runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Build SDist run: pipx run build --sdist @@ -42,11 +42,11 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest, macos-26-intel, ubuntu-24.04-arm, windows-11-arm] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - - uses: astral-sh/setup-uv@v8.1.0 + - uses: astral-sh/setup-uv@v8.3.2 - - uses: pypa/cibuildwheel@v3.4 + - uses: pypa/cibuildwheel@v4.1 - name: Verify clean directory run: git diff --exit-code @@ -66,7 +66,7 @@ jobs: if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7 with: python-version: "3.x" From 09a1682b5460fbedc397c1a7c850820695719758 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 17:58:30 -0400 Subject: [PATCH 07/12] chore: update pre-commit hooks (#235) 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.21 → v0.16.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.21...v0.16.0) 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 9b99a9e..b3d7de6 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.21" + rev: "v0.16.0" hooks: - id: ruff-check args: ["--fix"] From 657c9f765fbb63ebd7a399cc11f55bd0e785abe3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 17:58:43 -0400 Subject: [PATCH 08/12] chore: bump astral-sh/setup-uv from 8.3.2 to 9.0.0 in the actions group (#236) Bumps the actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv). Updates `astral-sh/setup-uv` from 8.3.2 to 9.0.0 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v8.3.2...v9.0.0) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major 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 8b7b4fe..af689b0 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -44,7 +44,7 @@ jobs: steps: - uses: actions/checkout@v7 - - uses: astral-sh/setup-uv@v8.3.2 + - uses: astral-sh/setup-uv@v9.0.0 - uses: pypa/cibuildwheel@v4.1 From 5d70a0ad2b6b22a2cf31e5ee12424dde1ab77c84 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 01:19:21 -0400 Subject: [PATCH 09/12] chore: bump pypa/cibuildwheel from 4.1 to 4.2 in the actions group (#238) Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel). Updates `pypa/cibuildwheel` from 4.1 to 4.2 - [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/v4.1...v4.2) --- updated-dependencies: - dependency-name: pypa/cibuildwheel dependency-version: '4.2' 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 af689b0..694bcfa 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -46,7 +46,7 @@ jobs: - uses: astral-sh/setup-uv@v9.0.0 - - uses: pypa/cibuildwheel@v4.1 + - uses: pypa/cibuildwheel@v4.2 - name: Verify clean directory run: git diff --exit-code From 9cca4031bd163af11e7174478dc2c73dfba8d02e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 01:19:32 -0400 Subject: [PATCH 10/12] chore: update pre-commit hooks (#237) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.16.0 → v0.16.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.0...v0.16.2) 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 b3d7de6..2ce53da 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.16.0" + rev: "v0.16.2" hooks: - id: ruff-check args: ["--fix"] From 2e7f1991fb3a30d85959691026608ed3bfd86235 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 20:48:18 -0400 Subject: [PATCH 11/12] chore: update pre-commit hooks (#240) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.16.2 → v0.16.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.2...v0.16.3) 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 2ce53da..1122cba 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.16.2" + rev: "v0.16.3" hooks: - id: ruff-check args: ["--fix"] From f74b207512dbf9960ed1b4fcce13f8b6826a403d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 22:53:15 -0400 Subject: [PATCH 12/12] chore: bump astral-sh/setup-uv from 9.0.0 to 10.0.1 in the actions group (#239) Bumps the actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv). Updates `astral-sh/setup-uv` from 9.0.0 to 10.0.1 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v9.0.0...v10.0.1) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: 10.0.1 dependency-type: direct:production update-type: version-update:semver-major 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 694bcfa..91ebf03 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -44,7 +44,7 @@ jobs: steps: - uses: actions/checkout@v7 - - uses: astral-sh/setup-uv@v9.0.0 + - uses: astral-sh/setup-uv@v10.0.1 - uses: pypa/cibuildwheel@v4.2