Skip to content

Commit 8ee1eb9

Browse files
committed
ci: drop support for 32-bit Python wheels on Linux and remove deprecated options
1 parent fa6531f commit 8ee1eb9

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,13 @@ on: [push, pull_request]
55
env:
66
CIBW_ENVIRONMENT_PASS_LINUX: PYTEST_TIMEOUT
77
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test]' && python -m pytest -v tests"
8-
CIBW_SKIP: "cp36-* cp37-* cp38-* pp37-* pp38-*"
8+
CIBW_SKIP: "cp38-* pp38-*"
99
PYTEST_TIMEOUT: 60
1010

1111
jobs:
1212
build_wheel_linux:
13-
name: Build wheels on Linux (${{ matrix.wheel_arch }})
13+
name: Build wheels on Linux (x86_64)
1414
runs-on: ubuntu-22.04
15-
strategy:
16-
fail-fast: false
17-
matrix:
18-
wheel_arch: [x86_64, i686]
19-
2015
steps:
2116
- uses: actions/checkout@v4
2217
with:
@@ -27,22 +22,19 @@ jobs:
2722
uses: pypa/[email protected]
2823
env:
2924
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"
30-
CIBW_BUILD: "*-manylinux_${{ matrix.wheel_arch }}"
25+
CIBW_BUILD: "*-manylinux_x86_64"
3126
CIBW_ENABLE: pypy
32-
# Skip tests for Python 3.10 onwards because SciPy does not have
33-
# 32-bit wheels for Linux.
34-
CIBW_TEST_SKIP: "cp310-manylinux_i686 cp311-manylinux_i686 cp312-manylinux_i686 cp313-manylinux_i686"
3527

3628
- name: Build wheels (musllinux)
3729
uses: pypa/[email protected]
3830
env:
3931
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"
40-
CIBW_BUILD: "*-musllinux_${{ matrix.wheel_arch }}"
32+
CIBW_BUILD: "*-musllinux_x86_64"
4133
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test-musl]' && python -m pytest -v tests"
4234

4335
- uses: actions/upload-artifact@v4
4436
with:
45-
name: wheels-linux-${{ matrix.wheel_arch }}
37+
name: wheels-linux-x86_64
4638
path: ./wheelhouse/*.whl
4739

4840
build_wheel_linux_aarch64_manylinux:

0 commit comments

Comments
 (0)