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 66
77from typing import TYPE_CHECKING
88
9- from .._logging import logger
109from .rpath import RpathWheelRepairer
1110
1211if TYPE_CHECKING :
@@ -30,12 +29,10 @@ class MacOSWheelRepairer(RpathWheelRepairer):
3029 _origin_symbol = "@loader_path"
3130
3231 def get_library_rpath (self , artifact : Path ) -> list [str ]:
33- from delocate .tools import _get_rpaths
32+ from delocate .tools import get_rpaths
3433
35- arch_rpaths = _get_rpaths (artifact )
36- if len (arch_rpaths ) > 1 :
37- logger .warning ("Multiple architecture rpath parsing not implemented" )
38- return [path for arch in arch_rpaths for path in arch_rpaths [arch ]]
34+ # Using the deprecated method here in order to support python 3.8
35+ return list (get_rpaths (str (artifact )))
3936
4037 def patch_library_rpath (self , artifact : Path , rpaths : list [str ]) -> None :
4138 from delocate .tools import _delete_rpaths , add_rpath
You can’t perform that action at this time.
0 commit comments