From 0e9597d5d3c2f1ae62f128b6a2ca029dd86ea428 Mon Sep 17 00:00:00 2001 From: Sing_chan <51314274+betterpig@users.noreply.github.com> Date: Mon, 20 Dec 2021 14:21:36 +0800 Subject: [PATCH] Remove windows requirement numpy <=1.19 (#38104) * test if windows still need numpy <=1.19 * modify acoording to zhouwei's comment --- python/requirements.txt | 3 +-- python/unittest_py/requirements.txt | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/python/requirements.txt b/python/requirements.txt index 42327007615..50d28bd94fc 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,6 +1,5 @@ requests>=2.20.0 -numpy>=1.13 ; python_version>="3.5" and platform_system != "Windows" -numpy>=1.13, <=1.19.3 ; python_version>="3.5" and platform_system == "Windows" +numpy>=1.20 ; python_version>="3.5" protobuf>=3.1.0 Pillow six diff --git a/python/unittest_py/requirements.txt b/python/unittest_py/requirements.txt index fe8382faa0c..55e7d199cd1 100644 --- a/python/unittest_py/requirements.txt +++ b/python/unittest_py/requirements.txt @@ -10,4 +10,3 @@ paddle2onnx>=0.8.2 scipy>=1.6 prettytable distro -numpy>=1.20 -- GitLab