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" +]