diff --git a/.builders/images/runner_dependencies.txt b/.builders/images/runner_dependencies.txt index 192632213f618..657c0f71a8737 100644 --- a/.builders/images/runner_dependencies.txt +++ b/.builders/images/runner_dependencies.txt @@ -2,4 +2,5 @@ python-dotenv==1.0.0 urllib3==2.1.0 auditwheel==5.4.0; sys_platform == 'linux' delvewheel==1.5.2; sys_platform == 'win32' -delocate==0.10.7; sys_platform == 'darwin' +# Custom patch to be able to strip (sanitize) absolute rpaths +delocate @ git+https://github.com/DataDog/delocate.git@8423951d8ff69bb5f3c7a1c44689c59b5c4ea4e3; sys_platform == 'darwin' diff --git a/.builders/scripts/repair_wheels.py b/.builders/scripts/repair_wheels.py index 16ae60c1d9ee3..7c3cd8c6baf0c 100644 --- a/.builders/scripts/repair_wheels.py +++ b/.builders/scripts/repair_wheels.py @@ -164,6 +164,7 @@ def copy_filt_func(libname): str(wheel), os.path.join(output_dir, os.path.basename(wheel)), copy_filt_func=copy_filt_func, + sanitize_rpaths=True, ) print('Repaired wheel') if copied_libs: