Skip to content

Commit 3832d7f

Browse files
committed
ci: enable PyPy builds explicitly in preparation for cibuildwheel 3
1 parent b25b673 commit 3832d7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
env:
3434
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
3535
CIBW_BUILD: "*-manylinux_${{ matrix.wheel_arch }}"
36+
CIBW_ENABLE: pypy
3637
# Skip tests for Python 3.10 onwards because SciPy does not have
3738
# 32-bit wheels for Linux.
3839
CIBW_TEST_SKIP: "cp310-manylinux_i686 cp311-manylinux_i686 cp312-manylinux_i686 cp313-manylinux_i686"
@@ -64,6 +65,7 @@ jobs:
6465
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
6566
CIBW_ARCHS_LINUX: aarch64
6667
CIBW_BUILD: "*-manylinux_aarch64"
68+
CIBW_ENABLE: pypy
6769

6870
- uses: actions/upload-artifact@v4
6971
with:
@@ -153,6 +155,7 @@ jobs:
153155
env:
154156
CIBW_ARCHS_MACOS: "${{ matrix.wheel_arch }}"
155157
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
158+
CIBW_ENABLE: pypy
156159
CIBW_ENVIRONMENT: "LDFLAGS=-L$HOME/local/lib"
157160
IGRAPH_CMAKE_EXTRA_ARGS: -DCMAKE_OSX_ARCHITECTURES=${{ matrix.cmake_arch }} ${{ matrix.cmake_extra_args }} -DCMAKE_PREFIX_PATH=$HOME/local
158161

@@ -255,6 +258,7 @@ jobs:
255258
env:
256259
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
257260
CIBW_BUILD: "*-${{ matrix.wheel_arch }}"
261+
CIBW_ENABLE: pypy
258262
CIBW_TEST_COMMAND: "cd /d {project} && pip install --prefer-binary \".[test]\" && python -m pytest tests"
259263
# Skip tests for Python 3.10 onwards because SciPy does not have
260264
# 32-bit wheels for Linux.

0 commit comments

Comments
 (0)