From d0bb58aa9b324d7ad03dc9b462ffcc724883677b Mon Sep 17 00:00:00 2001 From: Krishna Teja Vedula Date: Thu, 27 Jun 2024 16:07:22 -0400 Subject: [PATCH] fix(dependencies): constrain scipy version to <=1.13.0 The latest update of scipy has deprecated the 'trapz' function in favor of 'trapezoid', which breaks dependencies and tests. The affected dependencies are 3ML and speclite. This commit restricts the scipy version to 1.13.0 or lower to maintain compatibility and ensure tests pass. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3905341e..d067bcdf 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,8 @@ 'matplotlib<=3.8.3', 'numba<=0.58.0', 'yayc', - 'awscli'], + 'awscli', + 'scipy<=1.13.0'], description = "High-level analysis for the COSI telescope data", entry_points={"console_scripts":[ "cosi-response = cosipy.response.FullDetectorResponse:cosi_response",