Skip to content

delocate-wheel doesn't work for macos 14 #2472

@chaokunyang

Description

@chaokunyang

Search before asking

  • I had searched in the issues and found no similar issues.

Version

/

Component(s)

Python

Minimal reproduce step

https://github.com/apache/fory/actions/runs/16965392161/job/48087913025

What did you expect to see?

Installing collected packages: altgraph, typing_extensions, macholib, delocate

Successfully installed altgraph-0.17.4 delocate-0.13.0 macholib-1.16.3 typing_extensions-4.14.1
+ mkdir -p ../dist_repaired
+ delocate-wheel -w ../dist_repaired/ ../dist/pyfory-0.12.0rc1-cp312-cp312-macosx_14_0_universal2.whl
ERROR:delocate.libsana:
@rpath/libarrow.1500.dylib not found:
  Needed by: /private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/tmpormc75fv/wheel/pyfory/format/_format.so
  Search path:
    
ERROR:delocate.libsana:
@rpath/libarrow_python.dylib not found:
  Needed by: /private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/tmpormc75fv/wheel/pyfory/format/_format.so
  Search path:
    
ERROR:delocate.libsana:
@rpath/libarrow.1500.dylib not found:
  Needed by: /private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/tmpormc75fv/wheel/pyfory/format/_format.so
  Search path:
    
ERROR:delocate.libsana:@rpath/libarrow.1500.dylib not found, requested by /private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/tmpormc75fv/wheel/pyfory/format/_format.so
ERROR:delocate.libsana:
@rpath/libarrow_python.dylib not found:
  Needed by: /private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/tmpormc75fv/wheel/pyfory/format/_format.so
  Search path:
    
ERROR:delocate.libsana:@rpath/libarrow_python.dylib not found, requested by /private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/tmpormc75fv/wheel/pyfory/format/_format.so
Traceback (most recent call last):
  File "/Users/runner/hostedtoolcache/Python/3.12.10/arm64/bin/delocate-wheel", line 7, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/delocate/cmd/delocate_wheel.py", line 115, in main
    copied = delocate_wheel(
             ^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/delocate/delocating.py", line 1074, in delocate_wheel
    copied_libs = delocate_path(
                  ^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/delocate/delocating.py", line 501, in delocate_path
    lib_dict = tree_libs_from_directory(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/delocate/libsana.py", line 387, in tree_libs_from_directory
    return _tree_libs_from_libraries(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/delocate/libsana.py", line 330, in _tree_libs_from_libraries
    raise DelocationError("Could not find all dependencies.")
delocate.libsana.DelocationError: Could not find all dependencies.
Error: Process completed with exit code 1.

What did you see instead?

/

Anything Else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions