Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macOS arm64 support for cibuildwheel #7606

Closed
wants to merge 1 commit into from

Add macOS arm64 support

1f2872e
Select commit
Loading
Failed to load commit list.
Closed

Add macOS arm64 support for cibuildwheel #7606

Add macOS arm64 support
1f2872e
Select commit
Loading
Failed to load commit list.
Cirrus CI / Build macOS arm64 wheels. failed Jun 13, 2024 in 3m 25s

Task Summary

Instruction run_cibuildwheel failed in 02:36

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:26 clone
✅ 00:13 install_pre_requirements
✅ 00:03 debug
✅ 00:01 install_cibuildwheel
❌ 02:36 run_cibuildwheel

  creating build/bdist.macosx-11.0-arm64/wheel/libtorrent-2.0.11.data/data
  creating build/bdist.macosx-11.0-arm64/wheel/libtorrent-2.0.11.data/data/libtorrent
  running install_egg_info
  running egg_info
  writing libtorrent.egg-info/PKG-INFO
  writing dependency_links to libtorrent.egg-info/dependency_links.txt
  writing top-level names to libtorrent.egg-info/top_level.txt
  reading manifest file 'libtorrent.egg-info/SOURCES.txt'
  writing manifest file 'libtorrent.egg-info/SOURCES.txt'
  Copying libtorrent.egg-info to build/bdist.macosx-11.0-arm64/wheel/libtorrent-2.0.11-py3.9.egg-info
  running install_scripts
  creating build/bdist.macosx-11.0-arm64/wheel/libtorrent-2.0.11.dist-info/WHEEL
  creating '/private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/pip-wheel-aqpj5dr6/.tmp-tu7hlt9x/libtorrent-2.0.11-cp39-cp39-macosx_11_0_arm64.whl' and adding 'build/bdist.macosx-11.0-arm64/wheel' to it
  adding 'libtorrent/__init__.cpython-39-darwin.so'
  adding 'libtorrent-2.0.11.dist-info/METADATA'
  adding 'libtorrent-2.0.11.dist-info/WHEEL'
  adding 'libtorrent-2.0.11.dist-info/top_level.txt'
  adding 'libtorrent-2.0.11.dist-info/RECORD'
  removing build/bdist.macosx-11.0-arm64/wheel
  Building wheel for libtorrent (pyproject.toml): finished with status 'done'
  Created wheel for libtorrent: filename=libtorrent-2.0.11-cp39-cp39-macosx_11_0_arm64.whl size=3168113 sha256=9f07c259f13c792e99f84cbc0bd8674235ea7e646a5f31fc2b67471ad46b469c
  Stored in directory: /Users/admin/Library/Caches/pip/wheels/87/ea/16/30581ffdc4b4180eba7a361a2d8f0be946e8f4ffec9656aa24
Successfully built libtorrent
Removed build tracker: '/private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/pip-build-tracker-rn0y9aof'

                                                                      ✓ 98.72s
Repairing wheel...

+ delocate-listdeps /private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/built_wheel/libtorrent-2.0.11-cp39-cp39-macosx_11_0_arm64.whl && delocate-wheel --require-archs arm64 -w /private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/repaired_wheel -v /private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/built_wheel/libtorrent-2.0.11-cp39-cp39-macosx_11_0_arm64.whl

/opt/homebrew/Cellar/openssl@3/3.3.0/lib/libcrypto.3.dylib
/opt/homebrew/Cellar/openssl@3/3.3.0/lib/libssl.3.dylib
INFO:delocate.delocating:Copying library /opt/homebrew/Cellar/openssl@3/3.3.0/lib/libssl.3.dylib to libtorrent.dylibs/libssl.3.dylib
INFO:delocate.delocating:Copying library /opt/homebrew/Cellar/openssl@3/3.3.0/lib/libcrypto.3.dylib to libtorrent.dylibs/libcrypto.3.dylib
INFO:delocate.delocating:Modifying install name in libtorrent/__init__.cpython-39-darwin.so from /opt/homebrew/opt/openssl@3/lib/libcrypto.3.dylib to @loader_path/../libtorrent.dylibs/libcrypto.3.dylib
INFO:delocate.delocating:Modifying install name in libtorrent.dylibs/libssl.3.dylib from /opt/homebrew/Cellar/openssl@3/3.3.0/lib/libcrypto.3.dylib to @loader_path/libcrypto.3.dylib
INFO:delocate.delocating:Modifying install name in libtorrent/__init__.cpython-39-darwin.so from /opt/homebrew/opt/openssl@3/lib/libssl.3.dylib to @loader_path/../libtorrent.dylibs/libssl.3.dylib
Fixing: /private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/built_wheel/libtorrent-2.0.11-cp39-cp39-macosx_11_0_arm64.whl
Traceback (most recent call last):
  File "/private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/build/venv/bin/delocate-wheel", line 8, in <module>
    sys.exit(main())
  File "/private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/build/venv/lib/python3.9/site-packages/delocate/cmd/delocate_wheel.py", line 110, in main
    copied = delocate_wheel(
  File "/private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/build/venv/lib/python3.9/site-packages/delocate/delocating.py", line 1004, in delocate_wheel
    out_wheel_fixed = _check_and_update_wheel_name(
  File "/private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/build/venv/lib/python3.9/site-packages/delocate/delocating.py", line 839, in _check_and_update_wheel_name
    raise DelocationError(
delocate.libsana.DelocationError: Library dependencies do not satisfy target MacOS version 11.0:
/private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/tmp_i7zu1ht/wheel/libtorrent.dylibs/libcrypto.3.dylib has a minimum target of 14.0
/private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/tmp_i7zu1ht/wheel/libtorrent.dylibs/libssl.3.dylib has a minimum target of 14.0

                                                                       ✕ 1.81s
Error: Command delocate-listdeps /private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/built_wheel/libtorrent-2.0.11-cp39-cp39-macosx_11_0_arm64.whl && delocate-wheel --require-archs arm64 -w /private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/repaired_wheel -v /private/var/folders/4_/xyjwmyz1497g3qhhndg003800000gn/T/cibw-run-ylx865mi/cp39-macosx_arm64/built_wheel/libtorrent-2.0.11-cp39-cp39-macosx_11_0_arm64.whl
 failed with code 1. 

������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������