From da1f19cba51edeccdabd57314b9d836ffc52c43d Mon Sep 17 00:00:00 2001 From: David Rafferty <drafferty@hs.uni-hamburg.de> Date: Mon, 14 Dec 2020 11:17:59 +0100 Subject: [PATCH] Exclude astropy 4.x to avoid installation problems --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 0901b20..81b22d3 100644 --- a/setup.py +++ b/setup.py @@ -17,8 +17,9 @@ else: if sys.version_info < (3, 0): reqlist = ['numpy', 'astropy >= 0.4, <3.0'] else: - # Require astropy v3.2 or later to get much faster copies - reqlist = ['numpy', 'astropy >= 3.2'] + # Require astropy v3.2 or later to get much faster copies (4.x can cause some + # installation problems, so exclude for now) + reqlist = ['numpy', 'astropy >= 3.2, <4.0'] if build_c_extentions: reqlist.append('pybind11>=2.2.0') ext_modules = [Extension('lsmtool.operations._grouper', -- GitLab