From 54465249e1479f4e9e991e5467c04de2333cff17 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 17 Dec 2019 14:36:44 +0100 Subject: [PATCH] =?UTF-8?q?ARROW-7407:=20[Python]=C2=A0Declare=20NumPy=20a?= =?UTF-8?q?=20PEP517=20build=20dependency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/pyproject.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 712647e4f78..4eee45767d0 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -16,4 +16,11 @@ # under the License. [build-system] -requires = ["setuptools", "wheel", "setuptools_scm", "cython >= 0.29"] +requires = [ + "cython >= 0.29", + "numpy==1.14.5; python_version<'3.7'", + "numpy==1.16.0; python_version>='3.7'", + "setuptools", + "setuptools_scm", + "wheel" +]