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

chaokunyang pushed a commit to branch releases-0.10
in repository https://gitbox.apache.org/repos/asf/fury.git

commit 053fcc792d45bf36d3e29ad25a1e7340b482504c
Author: chaokunyang <[email protected]>
AuthorDate: Mon May 12 13:31:25 2025 +0800

    fix install pyarrow
---
 ci/deploy.sh | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/ci/deploy.sh b/ci/deploy.sh
index e514848c..1aaf28b7 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -113,7 +113,7 @@ deploy_python() {
     pyarrow_dir=$(python -c "import importlib.util; import os; 
print(os.path.dirname(importlib.util.find_spec('pyarrow').origin))")
     # ensure pyarrow is clean
     rm -rf "$pyarrow_dir"
-    pip install --ignore-installed pyarrow==$pyarrow_version
+    install_pyarrow
     python setup.py clean
     python setup.py bdist_wheel
     mv dist/pyfury*.whl "$WHEEL_DIR"
@@ -126,14 +126,8 @@ deploy_python() {
 }
 
 install_pyarrow() {
-  pyversion=$(python -V | cut -d' ' -f2)
-  if [[ $pyversion  ==  3.7* ]]; then
-    pyarrow_version=12.0.0
-    sed -i -E "s/pyarrow_version = .*/pyarrow_version = \"12.0.0\"/" 
"$ROOT"/python/setup.py
-  else
-    pyarrow_version=14.0.0
-  fi
-  pip install pyarrow==$pyarrow_version
+  pip install --ignore-installed "pyarrow==15.0.0; python_version<'3.13'"
+  pip install --ignore-installed "pyarrow==18.0.0; python_version>='3.13'"
 }
 
 deploy_scala() {


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

Reply via email to