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

Build mac x86_64 wheels on native arch #184

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Cadair
Copy link
Member

@Cadair Cadair commented Dec 9, 2024

This is a semi-temporary fix to the wheel build failiure, but we are going to need to figure out the cross compile problem at somepoint.

@Cadair Cadair added the Run publish Run publish CI on this PR. label Dec 9, 2024
@nabobalis
Copy link
Contributor

  + delocate-wheel --require-archs x86_64 -w /private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/cibw-run-b55t8qiv/cp310-macosx_x86_64/repaired_wheel -v /private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/cibw-run-b55t8qiv/cp310-macosx_x86_64/built_wheel/streamtracer-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl
  Fixing: /private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/cibw-run-b55t8qiv/cp310-macosx_x86_64/built_wheel/streamtracer-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl
  Traceback (most recent call last):
    File "/private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/cibw-run-b55t8qiv/cp310-macosx_x86_64/build/venv/bin/delocate-wheel", line 8, in <module>
      sys.exit(main())
    File "/private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/cibw-run-b55t8qiv/cp310-macosx_x86_64/build/venv/lib/python3.10/site-packages/delocate/cmd/delocate_wheel.py", line 116, in main
      copied = delocate_wheel(
    File "/private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/cibw-run-b55t8qiv/cp310-macosx_x86_64/build/venv/lib/python3.10/site-packages/delocate/delocating.py", line 1090, in delocate_wheel
      out_wheel_fixed = _check_and_update_wheel_name(
    File "/private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/cibw-run-b55t8qiv/cp310-macosx_x86_64/build/venv/lib/python3.10/site-packages/delocate/delocating.py", line 925, in _check_and_update_wheel_name
      raise DelocationError(
  delocate.libsana.DelocationError: Library dependencies do not satisfy target MacOS version 10.9:
  /private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/tmp9x4eizyo/wheel/streamtracer/_streamtracer_rust.cpython-310-darwin.so has a minimum target of 10.12
  Set the environment variable 'MACOSX_DEPLOYMENT_TARGET=10.12' to update minimum supported macOS for this wheel.
                                                              ✕ 1.16s
Error: Command delocate-wheel --require-archs x86_64 -w /private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/cibw-run-b55t8qiv/cp310-macosx_x86_64/repaired_wheel -v /private/var/folders/x4/dc0wnrqs60v8cfdj3vx06s1h0000gn/T/cibw-run-b55t8qiv/cp310-macosx_x86_64/built_wheel/streamtracer-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl failed with code 1. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Run publish Run publish CI on this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants