diff --git a/setup.py b/setup.py index e2b0e346..f415947c 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,14 @@ long_description, ) -numpy_version = ">=1.15,!=1.17.0" +numpy_constraints = ( + ">=1.15", + "!=1.17.0", + # TODO: drop this once all deps support numpy 2.0 + # see https://github.com/dask/crick/issues/53 + "<2", +) +numpy_version = ",".join(numpy_constraints) setup( # metadata