diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05f4e350..800182e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: branches: - main workflow_dispatch: + pull_request: + paths: + - .github/workflows/release.yml env: # Latest Jupyter requires this to acknowledge deprecation @@ -56,7 +59,9 @@ jobs: - if: ${{ matrix.arch == 'aarch64' }} uses: docker/setup-qemu-action@v3 - - uses: pypa/cibuildwheel@v2.17.0 + - uses: yezz123/setup-uv@v4 + + - uses: pypa/cibuildwheel@v2.19 env: CIBW_BUILD: ${{ matrix.py }}-* CIBW_ARCHS: ${{ matrix.arch }} diff --git a/pyproject.toml b/pyproject.toml index 6c336fb5..26aa07bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,6 +121,7 @@ files = ["src"] no_implicit_optional = false [tool.cibuildwheel] +build-frontend = "build[uv]" # update skip when numpy wheels become available skip = ["*-musllinux_*", "cp31?-manylinux_i686"] test-requires = "pytest" @@ -139,3 +140,4 @@ PIP_ONLY_BINARY = ":all:" select = "cp3?-*" manylinux-x86_64-image = "manylinux2010" manylinux-i686-image = "manylinux2010" +build-frontend = "build"