From b3e9410e0d8cc8988dd2729bed79a2b1f5ba71c0 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Tue, 11 Nov 2025 10:51:13 +0530 Subject: [PATCH] Fix wheels workflow --- .github/workflows/wheels.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 5816d98..a20967b 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v5 with: - submodules: true + submodules: recursive - name: Build SDist run: pipx run build --sdist @@ -41,14 +41,14 @@ jobs: steps: - uses: actions/checkout@v5 with: - submodules: true + submodules: recursive - name: Build wheels uses: pypa/cibuildwheel@v3.2 env: CIBW_PLATFORM: linux CIBW_ARCHS_LINUX: ${{ matrix.arch }} - CIBW_BUILD: "cp311-*" + CIBW_BUILD: "cp312-* cp313-*" CIBW_SKIP: "*-musllinux*" CIBW_TEST_COMMAND: "python -c 'import pylibbpf; print(f\"pylibbpf {pylibbpf.__version__} imported successfully\")'" CIBW_TEST_SKIP: "*-linux_aarch64" @@ -56,7 +56,9 @@ jobs: CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 CIBW_BEFORE_ALL_LINUX: | - dnf install -y elfutils-libelf-devel zlib-devel + dnf install -y elfutils-libelf-devel zlib-devel make gcc gcc-c++ git + CIBW_BEFORE_BUILD: > + pip install --upgrade "setuptools>=77.0.0" wheel cmake ninja pybind11 - name: Verify clean directory run: git diff --exit-code