From 248e56fd7b540f3128f6a8da40b4cf3226bf7b3d Mon Sep 17 00:00:00 2001 From: sunnycase Date: Sun, 29 Aug 2021 15:22:23 +0800 Subject: [PATCH] Update numpy version (#11) * Update numpy version * Test numpy 1.19 * Test numpy 1.19 * Test numpy 1.19 * Test numpy 1.19 * Test numpy 1.19 * Enable py3* --- pyproject.toml | 4 ++-- python/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 99c3d668c96..3b367e2457b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,12 +2,12 @@ requires-python = ">=3.6" [build-system] -requires = ["setuptools>=42", "wheel", "conan", "numpy", "ninja"] +requires = ["setuptools>=42", "wheel", "conan", "oldest-supported-numpy", "ninja"] [tool.cibuildwheel] build = ["cp36-*", "cp37-*", "cp38-*", "cp39-*"] manylinux-x86_64-image = "sunnycase/manylinux_2_24_x86_64:version1.1" -test-requires = ["pytest", "pydot"] +test-requires = ["pytest", "pydot", "numpy==1.19.5"] test-command = [ "pytest {project}/python/caffe/test" ] diff --git a/python/requirements.txt b/python/requirements.txt index ff581f48e7b..b30209635b6 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,4 +1,4 @@ -numpy>=1.7.1 +numpy>=1.17 scipy>=0.13.2 scikit-image>=0.9.3 protobuf>=2.5.0