From 56c8d165c64571a0b2b16b2d20ba508b59b15520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mihai=20Capot=C4=83?= Date: Mon, 14 Jan 2019 10:08:08 -0800 Subject: [PATCH] dev: Workaround for Theano NumPy incompatibility Theano is not compatible with NumPy>=1.16. A fix exists, but it is not yet part of a release. See: https://github.com/Theano/Theano/pull/6671 As a workaround until the next Theano release, we can pin the NumPy version we use, similar to Keras: https://github.com/keras-team/keras/pull/12037 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7cb7e972c..bae1ad4d0 100644 --- a/setup.py +++ b/setup.py @@ -124,7 +124,7 @@ def finalize_options(self): 'cython', 'mpi4py', 'nitime', - 'numpy', + 'numpy<1.16', # See https://github.com/Theano/Theano/pull/6671 'scikit-learn[alldeps]>=0.18', 'scipy!=1.0.0', # See https://github.com/scipy/scipy/pull/8082 'statsmodels',