Skip to content

Commit 2644f27

Browse files
committed
revert to one wheel per python version; update actions
1 parent 927f508 commit 2644f27

1 file changed

Lines changed: 5 additions & 29 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ jobs:
4242
echo "PKG_CONFIG_PATH=C:/mingw64/lib/pkgconfig" >> $GITHUB_ENV
4343
# echo "C:/msys64/mingw64/bin" >> $GITHUB_PATH
4444
45-
- name: Build cp310/cp311 wheels
46-
uses: pypa/cibuildwheel@v3.3.1
45+
- name: Build wheels
46+
uses: pypa/cibuildwheel@v3.4.1
4747
env:
4848
# All cibuildwheel options are here (nothing "hidden" in pyproject.toml)
49-
CIBW_BUILD: "cp310-* cp311-*"
5049
CIBW_SKIP: "*-win32 *i686"
5150
CIBW_BUILD_FRONTEND: build
5251
CIBW_BUILD_VERBOSITY: 3
@@ -64,31 +63,8 @@ jobs:
6463
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: |
6564
bash ./cibw-scripts/repair_wheel_command_windows.sh {wheel} {dest_dir}
6665
67-
- name: Build cp312 abi3 wheels
68-
uses: pypa/cibuildwheel@v3.3.1
69-
env:
70-
CIBW_BUILD: "cp312-*"
71-
CIBW_SKIP: "*-win32 *i686"
72-
CIBW_BUILD_FRONTEND: build
73-
# meson-python uses this to set the wheel ABI tag to abi3.
74-
CIBW_CONFIG_SETTINGS: "tool.meson-python.limited-api=true"
75-
CIBW_BUILD_VERBOSITY: 3
76-
CIBW_TEST_REQUIRES: pytest scipy
77-
CIBW_TEST_COMMAND: |
78-
pytest {project}/tests
79-
CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux_2_28_x86_64
80-
CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_2
81-
CIBW_BEFORE_ALL_LINUX: |
82-
bash {project}/cibw-scripts/before_all_linux.sh {project}
83-
CIBW_BEFORE_ALL_WINDOWS: |
84-
bash {project}/cibw-scripts/before_all_windows.sh
85-
CIBW_BEFORE_BUILD_WINDOWS: |
86-
pip install delvewheel
87-
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: |
88-
bash ./cibw-scripts/repair_wheel_command_windows.sh {wheel} {dest_dir}
89-
9066
- name: Upload wheels
91-
uses: actions/upload-artifact@v4
67+
uses: actions/upload-artifact@v6
9268
with:
9369
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
9470
path: ./wheelhouse/*.whl
@@ -106,7 +82,7 @@ jobs:
10682
run: pipx run build --sdist
10783

10884
- name: Upload wheels
109-
uses: actions/upload-artifact@v4
85+
uses: actions/upload-artifact@v6
11086
with:
11187
name: cibw-sdist
11288
path: dist/*.tar.gz
@@ -148,4 +124,4 @@ jobs:
148124

149125
# - uses: pypa/gh-action-pypi-publish@release/v1
150126
# with:
151-
# repository-url: https://test.pypi.org/legacy/
127+
# repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)