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

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

commit 5e31c1a0e1b20e78e93ec0518f29658d63964e4e
Author: chaokunyang <[email protected]>
AuthorDate: Fri Aug 15 14:02:58 2025 +0800

    fix MACOSX_DEPLOYMENT_TARGET
---
 ci/deploy.sh          | 9 +++++++++
 python/pyproject.toml | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ci/deploy.sh b/ci/deploy.sh
index 7de5af5a3..85d14ca2c 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -72,6 +72,15 @@ build_pyfory() {
   # Fix strange installed deps not found
   pip install setuptools -U
 
+  if [[ "$OSTYPE" == "darwin"* ]]; then
+    MACOS_VERSION=$(sw_vers -productVersion | cut -d. -f1-2)
+    echo "MACOS_VERSION: $MACOS_VERSION"
+    echo "MACOSX_DEPLOYMENT_TARGET: $MACOSX_DEPLOYMENT_TARGET"
+    if [[ "$MACOS_VERSION" == "14"* ]]; then
+      export MACOSX_DEPLOYMENT_TARGET=14.0
+    fi
+  fi
+
   python setup.py bdist_wheel --dist-dir=../dist
   ls -l ../dist
 
diff --git a/python/pyproject.toml b/python/pyproject.toml
index a18aa7b61..58b81674e 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -59,7 +59,7 @@ all = ["pyarrow"]
 dev = ["ruff"]
 
 [tool.setuptools]
-packages = ["pyfory", "pyfory.format", "pyfory.lib", "pyfory.meta"]
+packages = ["pyfory", "pyfory.format", "pyfory.lib", "pyfory.lib.mmh3", 
"pyfory.meta"]
 include-package-data = true
 zip-safe = false
 


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

Reply via email to