Skip to content

Commit c236b97

Browse files
committed
BUG: Only delocate the platform wheels
The `itk` meta wheel does not have native binaries, its file name is `itk-*`. All the platform wheels are `itk_*`. To address: Traceback (most recent call last): File "/Users/svc-dashboard/D/P/ITKPythonPackage/scripts/../venvs/3.10/bin/delocate-wheel", line 8, in <module> sys.exit(main()) File "/Users/svc-dashboard/D/P/ITKPythonPackage/venvs/3.10/lib/python3.10/site-packages/delocate/cmd/delocate_wheel.py", line 110, in main copied = delocate_wheel( File "/Users/svc-dashboard/D/P/ITKPythonPackage/venvs/3.10/lib/python3.10/site-packages/delocate/delocating.py", line 1004, in delocate_wheel out_wheel_fixed = _check_and_update_wheel_name( File "/Users/svc-dashboard/D/P/ITKPythonPackage/venvs/3.10/lib/python3.10/site-packages/delocate/delocating.py", line 831, in _check_and_update_wheel_name new_name, problematic_files = _calculate_minimum_wheel_name( File "/Users/svc-dashboard/D/P/ITKPythonPackage/venvs/3.10/lib/python3.10/site-packages/delocate/delocating.py", line 798, in _calculate_minimum_wheel_name raise DelocationError( delocate.libsana.DelocationError: Failed to find any binary with the required architecture: 'x86_64'
1 parent c7719bb commit c236b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/macpython-build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ for VENV in "${VENVS[@]}"; do
221221
done
222222

223223
if [[ $(arch) != "arm64" ]]; then
224-
for wheel in dist/*.whl; do
224+
for wheel in dist/itk_*.whl; do
225225
echo "Delocating $wheel"
226226
${DELOCATE_LISTDEPS} $wheel # lists library dependencies
227227
${DELOCATE_WHEEL} $wheel # copies library dependencies into wheel

0 commit comments

Comments
 (0)