From 09fcd5ab32dc16fcc8d50c0770c9600134526cba Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 17 Jun 2024 09:49:49 -0400 Subject: [PATCH 1/2] pin numpy --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 32c2b05a60..8ef1423212 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ "crds>=11.17.14", "drizzle>=1.15.0", "gwcs>=0.21.0,<0.22.0", - "numpy>=1.22", + "numpy>=1.22,<2.0", "opencv-python-headless>=4.6.0.66", "photutils>=1.5.0", "psutil>=5.7.2", From dba65ae8e9e7c650eb6aa303566a6fd3d6bf61e6 Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 17 Jun 2024 09:50:47 -0400 Subject: [PATCH 2/2] add changelog --- CHANGES.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index e19188168f..ff7453565c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -128,6 +128,8 @@ flat_field general ------- +- Require numpy<2.0. [#8565] + - Removed deprecated stdatamodels model types ``DrizProductModel``, ``MIRIRampModel``, and ``MultiProductModel``. [#8388]