From 5c4587a02a4ba01b565d421c71f35856f9022053 Mon Sep 17 00:00:00 2001 From: Christopher Suter Date: Thu, 9 Aug 2018 15:26:21 -0700 Subject: [PATCH] Match TF's numpy version requirement. (<=1.14.5,>=1.13.3). They ran into some test failures with >=1.15 and restricted the version to get 1.10 out. Fix targeted for 1.11; until then we'll match their req's PiperOrigin-RevId: 208121036 --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 74d4863e22..45faf1f49f 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,11 @@ REQUIRED_PACKAGES = [ 'six >= 1.10.0', - 'numpy >= 1.11.1', + # Currently numpy>=1.15.0 causes test failures in TensorFlow so they've + # constrained to these slightly older versions. Fix is planned for 1.11 + # release. + # TODO(b/112417381): revert this once TF issues are fixed. + 'numpy <=1.14.5, >=1.13.3', ] REQUIRED_TENSORFLOW_VERSION = '1.9.0'