From c248bd954bdb80a92f701cee7d38076b4debe661 2017-01-17 10:46:19 From: Thomas Kluyver Date: 2017-01-17 10:46:19 Subject: [PATCH] Install older version of numpy to test on Python 3.3 --- diff --git a/setup.py b/setup.py index ddfe7a4..f5564ab 100755 --- a/setup.py +++ b/setup.py @@ -191,7 +191,7 @@ extras_require = dict( parallel = ['ipyparallel'], qtconsole = ['qtconsole'], doc = ['Sphinx>=1.3'], - test = ['nose>=0.10.1', 'requests', 'testpath', 'pygments', 'nbformat', 'ipykernel', 'numpy'], + test = ['nose>=0.10.1', 'requests', 'testpath', 'pygments', 'nbformat', 'ipykernel'], terminal = [], kernel = ['ipykernel'], nbformat = ['nbformat'], @@ -214,6 +214,8 @@ install_requires = [ # but requires pip >= 6. pip < 6 ignores these. extras_require.update({ + 'test:python_version >= "3.4"': ['numpy'], + 'test:python_version < "3.4"': ['numpy<1.12'], ':python_version == "3.3"': ['pathlib2'], ':sys_platform != "win32"': ['pexpect'], ':sys_platform == "darwin"': ['appnope'],