From 95ff4fba61385006af5194b951b29f3bdf37f422 Mon Sep 17 00:00:00 2001 From: Youwei Song Date: Wed, 7 Aug 2019 20:13:08 +0800 Subject: [PATCH] specify the highest numpy version under python 2.x (#19018) As mentioned in this link, the last version of NumPy to support Python 2.7 is numpy 1.16.4. --- python/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/requirements.txt b/python/requirements.txt index f35a1a312e3..26dc552140f 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,5 +1,6 @@ requests>=2.20.0 -numpy>=1.12 +numpy>=1.12, <=1.16.4 ; python_version<"3.5" +numpy>=1.12 ; python_version>="3.5" protobuf>=3.1.0 recordio>=0.1.0 matplotlib<=2.2.4 ; python_version<"3.6" -- GitLab