File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
src/scikit_build_core/repair_wheel Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 77import dataclasses
88from typing import TYPE_CHECKING
99
10- from .._logging import logger
1110from .rpath import RpathWheelRepairer
1211
1312if TYPE_CHECKING :
@@ -32,12 +31,10 @@ class MacOSWheelRepairer(RpathWheelRepairer):
3231 _origin_symbol = "@loader_path"
3332
3433 def get_library_rpath (self , artifact : Path ) -> list [str ]:
35- from delocate .tools import _get_rpaths
34+ from delocate .tools import get_rpaths
3635
37- arch_rpaths = _get_rpaths (artifact )
38- if len (arch_rpaths ) > 1 :
39- logger .warning ("Multiple architecture rpath parsing not implemented" )
40- return [path for arch in arch_rpaths for path in arch_rpaths [arch ]]
36+ # Using the deprecated method here in order to support python 3.8
37+ return list (get_rpaths (str (artifact )))
4138
4239 def patch_library_rpath (self , artifact : Path , rpaths : list [str ]) -> None :
4340 from delocate .tools import _delete_rpaths , add_rpath
You can’t perform that action at this time.
0 commit comments