From b07e5b9a120ce56e5015f30d13251d1a90af2718 Mon Sep 17 00:00:00 2001 From: acxz <17132214+acxz@users.noreply.github.com> Date: Wed, 9 Dec 2020 23:03:01 -0500 Subject: [PATCH] increase numpy version for py39 --- python/build-wheel-macos.sh | 10 ++++------ python/build-wheel-manylinux2014.sh | 10 ++++------ python/setup.py | 2 +- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/python/build-wheel-macos.sh b/python/build-wheel-macos.sh index 2ca4fd381..38355d407 100755 --- a/python/build-wheel-macos.sh +++ b/python/build-wheel-macos.sh @@ -27,12 +27,10 @@ PY_MMS=("3.6" "3.8" "3.9") -# The minimum supported numpy version is 1.14, see -# https://issues.apache.org/jira/browse/ARROW-3141 -NUMPY_VERSIONS=("1.14.5" - "1.14.5" - "1.14.5" - "1.14.5") +NUMPY_VERSIONS=("1.19.3" + "1.19.3" + "1.19.3" + "1.19.3") ./ci/travis/install-bazel.sh diff --git a/python/build-wheel-manylinux2014.sh b/python/build-wheel-manylinux2014.sh index 00d7cb0e8..68d02ed80 100755 --- a/python/build-wheel-manylinux2014.sh +++ b/python/build-wheel-manylinux2014.sh @@ -17,12 +17,10 @@ PYTHONS=("cp36-cp36m" "cp38-cp38" "cp39-cp39") -# The minimum supported numpy version is 1.14, see -# https://issues.apache.org/jira/browse/ARROW-3141 -NUMPY_VERSIONS=("1.14.5" - "1.14.5" - "1.14.5" - "1.14.5") +NUMPY_VERSIONS=("1.19.3" + "1.19.3" + "1.19.3" + "1.19.3") yum -y install unzip zip sudo yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel xz diff --git a/python/setup.py b/python/setup.py index 9a23aebb9..27d256f5c 100644 --- a/python/setup.py +++ b/python/setup.py @@ -139,7 +139,7 @@ install_requires = [ "grpcio >= 1.28.1", "jsonschema", "msgpack >= 1.0.0, < 2.0.0", - "numpy >= 1.16", + "numpy >= 1.19.3", "protobuf >= 3.8.0", "py-spy >= 0.2.0", "pyyaml",