This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to tag v0.12.0-rc1
in repository https://gitbox.apache.org/repos/asf/fory.git

commit 090487fc3b4ffb428963afe4c0addb0626a8ff44
Author: chaokunyang <[email protected]>
AuthorDate: Thu Aug 14 20:51:28 2025 +0800

    fix delocate on macos
---
 ci/deploy.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ci/deploy.sh b/ci/deploy.sh
index 6cce344b0..7d9387158 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -90,6 +90,9 @@ build_pyfory() {
     auditwheel repair ../dist/pyfory-*-linux_*.whl --plat "$PLAT" -w ../dist/
     rm ../dist/pyfory-*-linux_*.whl
   elif [[ "$OSTYPE" == "darwin"* ]]; then
+    # Get the Arrow library directory and set it in DYLD_LIBRARY_PATH
+    PYARROW_LIB_DIR=$(python -c 'import pyarrow; 
print(":".join(pyarrow.get_library_dirs()))')
+    export DYLD_LIBRARY_PATH="$PYARROW_LIB_DIR:$DYLD_LIBRARY_PATH"
     # macOS: use delocate to bundle dependencies and fix wheel tags
     pip install delocate
     mkdir -p ../dist_repaired


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to