From 1ab298001faf0ddf69d84a924ae1c3c52cbe1a4e Mon Sep 17 00:00:00 2001
From: David Rafferty <drafferty@hs.uni-hamburg.de>
Date: Tue, 8 Dec 2020 14:19:16 +0100
Subject: [PATCH] Change required astropy version to 3.2

---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index ab7aded..0901b20 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,8 @@ else:
 if sys.version_info < (3, 0):
     reqlist = ['numpy', 'astropy >= 0.4, <3.0']
 else:
-    reqlist = ['numpy', 'astropy >= 0.4']
+    # Require astropy v3.2 or later to get much faster copies
+    reqlist = ['numpy', 'astropy >= 3.2']
 if build_c_extentions:
     reqlist.append('pybind11>=2.2.0')
     ext_modules = [Extension('lsmtool.operations._grouper',
-- 
GitLab