Skip to content

Commit f632a19

Browse files
committed
Merge branch 'main' into develop
2 parents f6e6bce + bc9f26d commit f632a19

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ env:
77
CIBW_ENVIRONMENT_PASS_LINUX: PYTEST_TIMEOUT
88
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
99
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test]' && python -m pytest -v tests"
10+
# Free-threaded builds excluded for Python 3.14 because they do not support the limited API
11+
CIBW_SKIP: "cp314t-*"
1012
PYTEST_TIMEOUT: 60
1113

1214
jobs:
@@ -20,13 +22,13 @@ jobs:
2022
fetch-depth: 0
2123

2224
- name: Build wheels (manylinux)
23-
uses: pypa/cibuildwheel@v3.0.1
25+
uses: pypa/cibuildwheel@v3.2.1
2426
env:
2527
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"
2628
CIBW_BUILD: "*-manylinux_x86_64"
2729

2830
- name: Build wheels (musllinux)
29-
uses: pypa/cibuildwheel@v3.0.1
31+
uses: pypa/cibuildwheel@v3.2.1
3032
env:
3133
CIBW_BEFORE_BUILD: "apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
3234
CIBW_BUILD: "*-musllinux_x86_64"
@@ -47,7 +49,7 @@ jobs:
4749
fetch-depth: 0
4850

4951
- name: Build wheels (manylinux)
50-
uses: pypa/cibuildwheel@v3.0.1
52+
uses: pypa/cibuildwheel@v3.2.1
5153
env:
5254
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"
5355
CIBW_ARCHS_LINUX: aarch64
@@ -68,7 +70,7 @@ jobs:
6870
fetch-depth: 0
6971

7072
- name: Build wheels (musllinux)
71-
uses: pypa/cibuildwheel@v3.0.1
73+
uses: pypa/cibuildwheel@v3.2.1
7274
env:
7375
CIBW_BEFORE_BUILD: "apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
7476
CIBW_ARCHS_LINUX: aarch64
@@ -131,7 +133,7 @@ jobs:
131133
cmake --install .
132134
133135
- name: Build wheels
134-
uses: pypa/cibuildwheel@v3.0.1
136+
uses: pypa/cibuildwheel@v3.2.1
135137
env:
136138
CIBW_ARCHS_MACOS: "${{ matrix.wheel_arch }}"
137139
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
@@ -153,7 +155,7 @@ jobs:
153155
submodules: true
154156
fetch-depth: 0
155157

156-
- uses: actions/setup-python@v5
158+
- uses: actions/setup-python@v6
157159
name: Install Python
158160
with:
159161
python-version: "3.12.1"
@@ -236,14 +238,14 @@ jobs:
236238
shell: cmd
237239

238240
- name: Build wheels
239-
uses: pypa/cibuildwheel@v3.0.1
241+
uses: pypa/cibuildwheel@v3.2.1
240242
env:
241243
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
242244
CIBW_BUILD: "*-${{ matrix.wheel_arch }}"
243245
CIBW_TEST_COMMAND: 'cd /d {project} && pip install --prefer-binary ".[${{ matrix.test_extra }}]" && python -m pytest tests'
244246
# Skip tests for Python 3.10 onwards because SciPy does not have
245247
# 32-bit wheels for Windows any more
246-
CIBW_TEST_SKIP: "cp310-win32 cp311-win32 cp312-win32 cp313-win32"
248+
CIBW_TEST_SKIP: "cp310-win32 cp311-win32 cp312-win32 cp313-win32 cp314-win32"
247249
IGRAPH_CMAKE_EXTRA_ARGS: -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVCPKG_TARGET_TRIPLET=${{ matrix.vcpkg_arch }}-windows-static-md -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -A ${{ matrix.cmake_arch }}
248250
IGRAPH_EXTRA_LIBRARY_PATH: C:/vcpkg/installed/${{ matrix.vcpkg_arch }}-windows-static-md/lib/
249251
IGRAPH_STATIC_EXTENSION: True
@@ -276,7 +278,7 @@ jobs:
276278
if: steps.cache-c-core.outputs.cache-hit != 'true' # Only needed when building the C core
277279
run: sudo apt install ninja-build cmake flex bison
278280

279-
- uses: actions/setup-python@v5
281+
- uses: actions/setup-python@v6
280282
name: Install Python
281283
with:
282284
python-version: "3.9"
@@ -323,7 +325,7 @@ jobs:
323325
if: steps.cache-c-core.outputs.cache-hit != 'true' # Only needed when building the C core
324326
run: sudo apt install ninja-build cmake flex bison
325327

326-
- uses: actions/setup-python@v5
328+
- uses: actions/setup-python@v6
327329
name: Install Python
328330
with:
329331
python-version: "3.12"

0 commit comments

Comments
 (0)