Skip to content

Commit 4ff5c92

Browse files
committed
ci: use CIBW_PROJECT_REQUIRES_PYTHON
1 parent fde5ba8 commit 4ff5c92

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on: [push, pull_request]
55
env:
66
CIBW_ENABLE: pypy
77
CIBW_ENVIRONMENT_PASS_LINUX: PYTEST_TIMEOUT
8+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
89
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test]' && python -m pytest -v tests"
9-
CIBW_SKIP: "cp38-* pp38-*"
1010
PYTEST_TIMEOUT: 60
1111

1212
jobs:
@@ -24,7 +24,6 @@ jobs:
2424
env:
2525
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"
2626
CIBW_BUILD: "*-manylinux_x86_64"
27-
CIBW_ENABLE: pypy
2827

2928
- name: Build wheels (musllinux)
3029
uses: pypa/cibuildwheel@v3.0.0
@@ -53,7 +52,6 @@ jobs:
5352
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"
5453
CIBW_ARCHS_LINUX: aarch64
5554
CIBW_BUILD: "*-manylinux_aarch64"
56-
CIBW_ENABLE: pypy
5755

5856
- uses: actions/upload-artifact@v4
5957
with:
@@ -137,7 +135,6 @@ jobs:
137135
env:
138136
CIBW_ARCHS_MACOS: "${{ matrix.wheel_arch }}"
139137
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
140-
CIBW_ENABLE: pypy
141138
CIBW_ENVIRONMENT: "LDFLAGS=-L$HOME/local/lib"
142139
IGRAPH_CMAKE_EXTRA_ARGS: -DCMAKE_OSX_ARCHITECTURES=${{ matrix.cmake_arch }} ${{ matrix.cmake_extra_args }} -DCMAKE_PREFIX_PATH=$HOME/local
143140

@@ -243,7 +240,6 @@ jobs:
243240
env:
244241
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
245242
CIBW_BUILD: "*-${{ matrix.wheel_arch }}"
246-
CIBW_ENABLE: pypy
247243
CIBW_TEST_COMMAND: 'cd /d {project} && pip install --prefer-binary ".[${{ matrix.test_extra }}]" && python -m pytest tests'
248244
# Skip tests for Python 3.10 onwards because SciPy does not have
249245
# 32-bit wheels for Windows any more

0 commit comments

Comments
 (0)