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 2f69acae05343b8020e045eef323914e8b65f248
Author: chaokunyang <[email protected]>
AuthorDate: Fri Aug 15 14:02:58 2025 +0800

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

diff --git a/ci/deploy.sh b/ci/deploy.sh
index 7de5af5a3..d7384762f 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -72,6 +72,18 @@ 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
+    if [[ "$MACOS_VERSION" == "13"* ]]; then
+      export MACOSX_DEPLOYMENT_TARGET=13.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