From f8e56f052fb3a8278ae21a1ec0799435109cf14c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=CC=8Akon=20Wiik=20A=CC=8Anes?= Date: Sat, 5 Oct 2024 13:49:22 +0200 Subject: [PATCH] Temporarily restrict to NumPy <2 due to dependency incompats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Håkon Wiik Ånes --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 01f8e041..c836efa2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,8 @@ dependencies = [ "lazy_loader", "matplotlib >= 3.5", "numba >= 0.57", - "numpy >= 1.23.0", + # TODO: Remove pinning of NumPy <2 once HyperSpy 2.0 is supported + "numpy >= 1.23.0, <2", "orix >= 0.12.1", "pooch >= 1.3.0", "pyyaml",