From cdede7220442e26d819e98236c02170377b34cb9 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 10 Jun 2024 17:16:28 -0400 Subject: [PATCH 1/4] ci: faster cibuildwheel Signed-off-by: Henry Schreiner --- .github/workflows/tests.yml | 2 ++ .github/workflows/wheels.yml | 2 ++ pyproject.toml | 1 + 3 files changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ea04a738..252dcc1f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -122,6 +122,8 @@ jobs: submodules: true fetch-depth: 0 + - uses: yezz123/setup-uv@v4 + - uses: pypa/cibuildwheel@v2.18 env: CIBW_BUILD: "${{ matrix.build }}" diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f707fa45..09bd5415 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -113,6 +113,8 @@ jobs: fetch-depth: 0 submodules: true + - uses: yezz123/setup-uv@v4 + - uses: pypa/cibuildwheel@v2.18 env: CIBW_BUILD: ${{ matrix.build }} diff --git a/pyproject.toml b/pyproject.toml index b7b9914d..31f8541f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -155,6 +155,7 @@ ignore_missing_imports = true [tool.cibuildwheel] +build-frontend = "build[uv]" test-extras = "test" test-command = "pytest --benchmark-disable {project}/tests" test-skip = [ From a978d9602ebeea56b294a7a113a7666d9b4d3f29 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 10 Jun 2024 17:36:02 -0400 Subject: [PATCH 2/4] Apply suggestions from code review --- .github/workflows/tests.yml | 2 +- .github/workflows/wheels.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 252dcc1f..95916d74 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -124,7 +124,7 @@ jobs: - uses: yezz123/setup-uv@v4 - - uses: pypa/cibuildwheel@v2.18 + - uses: pypa/cibuildwheel@v2.19 env: CIBW_BUILD: "${{ matrix.build }}" CIBW_BUILD_VERBOSITY: 1 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 09bd5415..102a0f43 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -115,7 +115,7 @@ jobs: - uses: yezz123/setup-uv@v4 - - uses: pypa/cibuildwheel@v2.18 + - uses: pypa/cibuildwheel@v2.19 env: CIBW_BUILD: ${{ matrix.build }} CIBW_ARCHS: ${{ matrix.arch }} From 28b4c45a42a23038f5622a12a49f6032d7ec26df Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 11 Jun 2024 00:57:05 -0400 Subject: [PATCH 3/4] Update wheels.yml --- .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 102a0f43..ba853473 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -57,7 +57,7 @@ jobs: with: platforms: all - - uses: pypa/cibuildwheel@v2.18 + - uses: pypa/cibuildwheel@v2.19 env: CIBW_BUILD: cp${{ matrix.python }}-manylinux_* CIBW_ARCHS: ${{ matrix.arch }} From 9e55595b9b20e4c5475fb5391fdb179be75b626e Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 11 Jun 2024 11:46:20 -0400 Subject: [PATCH 4/4] Update .pre-commit-config.yaml --- .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 167df262..972c7072 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -98,6 +98,6 @@ repos: - id: check-github-workflows - repo: https://github.com/henryiii/validate-pyproject-schema-store - rev: 2024.06.03 + rev: 2024.06.10 hooks: - id: validate-pyproject