From 7be9118be3d9d541aa0904ea01e92f04dbb5e4aa Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 10 Aug 2018 00:14:13 +0200 Subject: [PATCH] Require numpy>=1.15.0 to avoid the RuntimeWarning --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 19433ff52..bab3861db 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ cython>=0.24,<0.28.0 -numpy>=1.7 +numpy>=1.15.0 cymem>=1.30,<1.32 preshed>=1.0.0,<2.0.0 thinc>=6.10.3,<6.11.0 diff --git a/setup.py b/setup.py index bfda6bf91..77e4c9173 100755 --- a/setup.py +++ b/setup.py @@ -186,7 +186,7 @@ def setup_package(): ext_modules=ext_modules, scripts=['bin/spacy'], install_requires=[ - 'numpy>=1.7', + 'numpy>=1.15.0', 'murmurhash>=0.28,<0.29', 'cymem>=1.30,<1.32', 'preshed>=1.0.0,<2.0.0',