Skip to content

Commit f45f924

Browse files
committed
fix: restore plat name parameter
1 parent 757387d commit f45f924

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-python.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: ${PYBIN}/pip install build
4646

4747
- name: "Build wheel"
48-
run: ${PYBIN}/python -m build --wheel --verbose
48+
run: ${PYBIN}/python -m build --wheel --config-setting=--build-option=--plat-name=manylinux_2_28_x86_64 --verbose
4949

5050
- name: "Install wheel"
5151
run: ${PYBIN}/pip install ./dist/*.whl
@@ -91,7 +91,7 @@ jobs:
9191
- name: "Build wheel"
9292
# Specifying the plat-name argument is necessary to build a wheel with the correct name,
9393
# see issue #350 for more information
94-
run: python3 -m build --wheel --verbose
94+
run: python3 -m build --wheel --config-setting=--build-option=--plat-name=macosx_11_0_arm64 --verbose
9595

9696
# You can't install the arm64 wheel on the CI, so we skip these steps and simply test that the wheel builds
9797
# - name: "Install wheel and run tests"
@@ -134,7 +134,7 @@ jobs:
134134
run: pip3 install build
135135

136136
- name: "Build wheel"
137-
run: python3 -m build --wheel --verbose
137+
run: python3 -m build --wheel --config-setting=--build-option=--plat-name=macosx_11_0_x86_64 --verbose
138138

139139
- name: "Install wheel"
140140
run: pip3 install ./dist/*.whl

0 commit comments

Comments
 (0)