Skip to content

Apache DataFusion SQL Query Engine

ARROW-3926: [Python] Add Gandiva bindings to Python manylinux1 wheels

Uwe L. Korn2b20ab16bca2
diff --git a/dev/tasks/python-wheels/linux-test.sh b/dev/tasks/python-wheels/linux-test.sh
index 234ce8d561..45efdb0c91 100755
--- a/dev/tasks/python-wheels/linux-test.sh
+++ b/dev/tasks/python-wheels/linux-test.sh
@@ -24,10 +24,17 @@ pip install /arrow/python/manylinux1/dist/*.whl
python --version
# Test optional dependencies
-python -c "import pyarrow"
-python -c "import pyarrow.orc"
-python -c "import pyarrow.parquet"
-python -c "import pyarrow.plasma"
+command="
+import sys
+import pyarrow
+import pyarrow.orc
+import pyarrow.parquet
+import pyarrow.plasma
+
+if sys.version_info.major > 2:
+ import pyarrow.gandiva
+"
+python -c "$command"
# Run pyarrow tests
pip install -r /arrow/python/requirements-test.txt