From a23d73debaa4cffa754539f25b30608cdc45b65d Mon Sep 17 00:00:00 2001 From: Lemonyte <49930425+lemonyte@users.noreply.github.com> Date: Sat, 26 Oct 2024 23:39:50 -0700 Subject: [PATCH] Bump cibuildwheel and move config to pyproject.toml --- .github/workflows/build.yaml | 6 +----- pyproject.toml | 5 +++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4243aae..b9a092b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -69,11 +69,7 @@ jobs: uses: astral-sh/setup-uv@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.21.1 - env: - CIBW_SKIP: pp* - CIBW_ARCHS: auto64 - CIBW_ARCHS_MACOS: universal2 + uses: pypa/cibuildwheel@v2.21.3 - name: Upload artifacts uses: actions/upload-artifact@v4 diff --git a/pyproject.toml b/pyproject.toml index b41b0cc..c03f377 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,8 +52,13 @@ package-data = {autotrace = ["py.typed"]} version = {attr = "autotrace.__version__"} [tool.cibuildwheel] +skip = "pp*" +archs = ["auto64"] build-frontend = "build[uv]" +[tool.cibuildwheel.macos] +archs = ["universal2"] + [tool.ruff] src = ["src"] line-length = 119