From f5dfc5263b075fac2db9b7601bc1b557534a8d0b Mon Sep 17 00:00:00 2001 From: Marco Sulla <13075999+Marco-Sulla@users.noreply.github.com> Date: Sat, 29 Nov 2025 00:57:59 +0100 Subject: [PATCH 1/6] trying again with uv everywhere --- .github/workflows/build_secondary_wheels.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_secondary_wheels.yml b/.github/workflows/build_secondary_wheels.yml index c935d65..95c0aae 100644 --- a/.github/workflows/build_secondary_wheels.yml +++ b/.github/workflows/build_secondary_wheels.yml @@ -31,16 +31,13 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 + with: + extras: uv env: CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }} CIBW_ARCHS: ${{ matrix.arch }} - CIBW_BUILD_FRONTEND: > - ${{ - matrix.cbw_os == 'manylinux_' - && 'build[uv]' - || 'build' - }} + CIBW_BUILD_FRONTEND: build[uv] CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: > python -X faulthandler {package}/test/debug.py @@ -148,17 +145,15 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install dependencies - run: pip install uv - - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 + with: + extras: uv env: CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }} CIBW_ARCHS: ${{ matrix.arch }} - CIBW_BUILD_FRONTEND: > - ${{ matrix.os == 'macos-latest' && 'build' || 'build[uv]' }} + CIBW_BUILD_FRONTEND: build[uv] CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: > python -X faulthandler {package}/test/debug.py From 8e7b3d7525c7c7816b53c420d7a81e297095575f Mon Sep 17 00:00:00 2001 From: Marco Sulla <13075999+Marco-Sulla@users.noreply.github.com> Date: Sat, 29 Nov 2025 01:30:07 +0100 Subject: [PATCH 2/6] everything it takes for uv --- .github/workflows/build_secondary_wheels.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build_secondary_wheels.yml b/.github/workflows/build_secondary_wheels.yml index 95c0aae..0f712d8 100644 --- a/.github/workflows/build_secondary_wheels.yml +++ b/.github/workflows/build_secondary_wheels.yml @@ -16,6 +16,7 @@ jobs: os ${{ matrix.cbw_os }}, arch ${{ matrix.arch }} runs-on: ubuntu-latest strategy: + fail-fast: false matrix: py: [310, 39, 38] cbw_os: [manylinux_, musllinux_] @@ -29,11 +30,16 @@ jobs: with: platforms: all + - name: Install dependencies + run: pip install uv + - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 with: extras: uv env: + CIBW_BEFORE_BUILD: pip install uv + CIBW_XBUILD_TOOLS: uv CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }} CIBW_ARCHS: ${{ matrix.arch }} @@ -96,6 +102,7 @@ jobs: os ${{ matrix.cbw_os }}, arch ${{ matrix.arch }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: py: [310, 39, 38] os: [ @@ -145,11 +152,16 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Install dependencies + run: pip install uv + - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 with: extras: uv env: + CIBW_BEFORE_BUILD: pip install uv + CIBW_XBUILD_TOOLS: uv CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }} CIBW_ARCHS: ${{ matrix.arch }} From 855e1a2f9ec972de577fd8cd1ca143fe134728e8 Mon Sep 17 00:00:00 2001 From: Marco Sulla <13075999+Marco-Sulla@users.noreply.github.com> Date: Sat, 29 Nov 2025 02:16:07 +0100 Subject: [PATCH 3/6] trying again with uv everywhere --- .github/workflows/build_secondary_wheels.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_secondary_wheels.yml b/.github/workflows/build_secondary_wheels.yml index 0f712d8..00531e0 100644 --- a/.github/workflows/build_secondary_wheels.yml +++ b/.github/workflows/build_secondary_wheels.yml @@ -31,14 +31,14 @@ jobs: platforms: all - name: Install dependencies - run: pip install uv + uses: astral-sh/setup-uv@v7 - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 with: extras: uv env: - CIBW_BEFORE_BUILD: pip install uv + CIBW_BEFORE_BUILD: python -m pip install uv CIBW_XBUILD_TOOLS: uv CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }} @@ -153,14 +153,14 @@ jobs: - uses: actions/checkout@v3 - name: Install dependencies - run: pip install uv + uses: astral-sh/setup-uv@v7 - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 with: extras: uv env: - CIBW_BEFORE_BUILD: pip install uv + CIBW_BEFORE_BUILD: python -m pip install uv CIBW_XBUILD_TOOLS: uv CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }} From a9be6bb67e07ec9c3213ab058e81555cd486bba7 Mon Sep 17 00:00:00 2001 From: Marco Sulla <13075999+Marco-Sulla@users.noreply.github.com> Date: Sat, 29 Nov 2025 02:23:59 +0100 Subject: [PATCH 4/6] removing python -m pip install uv and others --- .github/workflows/build_secondary_wheels.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/build_secondary_wheels.yml b/.github/workflows/build_secondary_wheels.yml index 00531e0..adbec73 100644 --- a/.github/workflows/build_secondary_wheels.yml +++ b/.github/workflows/build_secondary_wheels.yml @@ -35,11 +35,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 - with: - extras: uv env: - CIBW_BEFORE_BUILD: python -m pip install uv - CIBW_XBUILD_TOOLS: uv CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }} CIBW_ARCHS: ${{ matrix.arch }} @@ -157,11 +153,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 - with: - extras: uv env: - CIBW_BEFORE_BUILD: python -m pip install uv - CIBW_XBUILD_TOOLS: uv CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }} CIBW_ARCHS: ${{ matrix.arch }} From ca82d92c1aed872fb232a800700de9a31e036526 Mon Sep 17 00:00:00 2001 From: Marco Sulla <13075999+Marco-Sulla@users.noreply.github.com> Date: Sat, 29 Nov 2025 02:35:04 +0100 Subject: [PATCH 5/6] trying adding CIBW_XBUILD_TOOLS: uv --- .github/workflows/build_secondary_wheels.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_secondary_wheels.yml b/.github/workflows/build_secondary_wheels.yml index adbec73..d20d0a9 100644 --- a/.github/workflows/build_secondary_wheels.yml +++ b/.github/workflows/build_secondary_wheels.yml @@ -36,6 +36,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 env: + CIBW_XBUILD_TOOLS: uv CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }} CIBW_ARCHS: ${{ matrix.arch }} From e3bc93bb3c6923de0f00d05f65662d0da50d93af Mon Sep 17 00:00:00 2001 From: Marco Sulla <13075999+Marco-Sulla@users.noreply.github.com> Date: Sat, 29 Nov 2025 03:12:20 +0100 Subject: [PATCH 6/6] trying to add also CIBW_BEFORE_BUILD --- .github/workflows/build_secondary_wheels.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_secondary_wheels.yml b/.github/workflows/build_secondary_wheels.yml index d20d0a9..9769cb0 100644 --- a/.github/workflows/build_secondary_wheels.yml +++ b/.github/workflows/build_secondary_wheels.yml @@ -36,6 +36,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 env: + CIBW_BEFORE_BUILD: curl -LsSf https://astral.sh/uv/install.sh | sh CIBW_XBUILD_TOOLS: uv CIBW_BUILD: > cp${{ matrix.py }}-${{ matrix.cbw_os }}${{ matrix.arch }}