Skip to content

Apache DataFusion SQL Query Engine

ARROW-7936: [Python] Fix and exercise tests on python 3.5

Krisztián Szűcs60b59805fff8
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 1b3e066550..6c15e0a212 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -34,11 +34,15 @@ on:
jobs:
ubuntu:
- name: AMD64 Ubuntu 18.04 Python 3
+ name: AMD64 Ubuntu ${{ matrix.ubuntu }} Python 3
runs-on: ubuntu-latest
if: github.event_name == 'push'
+ strategy:
+ fail-fast: false
+ matrix:
+ ubuntu: [16.04, 18.04]
env:
- UBUNTU: 18.04
+ UBUNTU: ${{ matrix.ubuntu }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v1
diff --git a/ci/docker/ubuntu-16.04-cpp.dockerfile b/ci/docker/ubuntu-16.04-cpp.dockerfile
index 78c446904b..1c101d35e5 100644
--- a/ci/docker/ubuntu-16.04-cpp.dockerfile
+++ b/ci/docker/ubuntu-16.04-cpp.dockerfile
@@ -44,7 +44,6 @@ RUN apt-get update -y -q && \
libgoogle-glog-dev \
liblz4-dev \
libre2-dev \
- libsnappy-dev \
libssl-dev \
llvm-7-dev \
make \
@@ -65,8 +64,8 @@ RUN apt-get update -y -q && \
# unit tests, so doing vendored build by default
ENV ARROW_BUILD_BENCHMARKS=OFF \
ARROW_BUILD_TESTS=ON \
- ARROW_DEPENDENCY_SOURCE=SYSTEM \
ARROW_DATASET=ON \
+ ARROW_DEPENDENCY_SOURCE=SYSTEM \
ARROW_GANDIVA_JAVA=OFF \
ARROW_GANDIVA=ON \
ARROW_HOME=/usr/local \
@@ -85,9 +84,10 @@ ENV ARROW_BUILD_BENCHMARKS=OFF \
gRPC_SOURCE=BUNDLED \
GTest_SOURCE=BUNDLED \
ORC_SOURCE=BUNDLED \
- PARQUET_BUILD_EXECUTABLES=ON \
PARQUET_BUILD_EXAMPLES=ON \
+ PARQUET_BUILD_EXECUTABLES=ON \
PATH=/usr/lib/ccache/:$PATH \
Protobuf_SOURCE=BUNDLED \
RapidJSON_SOURCE=BUNDLED \
+ Snappy_SOURCE=BUNDLED \
Thrift_SOURCE=BUNDLED
diff --git a/ci/scripts/cpp_build.sh b/ci/scripts/cpp_build.sh
index a9e97ab017..0286987caa 100755
--- a/ci/scripts/cpp_build.sh
+++ b/ci/scripts/cpp_build.sh
@@ -120,6 +120,7 @@ cmake -G "${CMAKE_GENERATOR:-Ninja}" \
-DProtobuf_SOURCE=${Protobuf_SOURCE:-AUTO} \
-DRapidJSON_SOURCE=${RapidJSON_SOURCE:-AUTO} \
-DRE2_SOURCE=${RE2_SOURCE:-AUTO} \
+ -DSnappy_SOURCE=${Snappy_SOURCE:-AUTO} \
-DThrift_SOURCE=${Thrift_SOURCE:-AUTO} \
-DZSTD_SOURCE=${ZSTD_SOURCE:-AUTO} \
${CMAKE_ARGS} \
diff --git a/dev/tasks/python-wheels/osx-build.sh b/dev/tasks/python-wheels/osx-build.sh
index 3bce2f798e..896bfb2465 100755
--- a/dev/tasks/python-wheels/osx-build.sh
+++ b/dev/tasks/python-wheels/osx-build.sh
@@ -58,7 +58,6 @@ function build_wheel {
pushd cpp
mkdir build
pushd build
-
cmake -DARROW_BUILD_SHARED=ON \
-DARROW_BUILD_TESTS=OFF \
-DARROW_DATASET=ON \