From 062676aafd424a993d40a30f9fee0335b970dc51 Mon Sep 17 00:00:00 2001 From: Jeffrey Gill Date: Tue, 30 Mar 2021 15:20:52 -0400 Subject: [PATCH] Require Numpy 1.20 or later Numpy 1.20 introduced a backwards-incompatible change to its C API, such that wheels built with Numpy 1.20 are incompatible with installations running Numpy 1.19 or older. To avoid problems like issue #8 in the future, axographio will now require Numpy 1.20 or later. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 16e8b28..c2ca25f 100644 --- a/setup.py +++ b/setup.py @@ -85,8 +85,8 @@ def _minimal_ext_cmd(cmd): setup( name = "axographio", version = VERSION, - setup_requires = ['numpy', 'cython>=0.19'], # needed to build axographio - install_requires = ['numpy'], # needed to run axographio + setup_requires = ['numpy>=1.20', 'cython>=0.19'], # needed to build axographio + install_requires = ['numpy>=1.20'], # needed to run axographio packages = ['axographio', 'axographio.tests'], ext_modules = [ Extension('axographio.extension', [