From b39e641488f22b7dfe01ac786f73543b9f32728a Mon Sep 17 00:00:00 2001 From: Igor Tatarnikov <61896994+IgorTatarnikov@users.noreply.github.com> Date: Wed, 21 Aug 2024 16:35:18 +0100 Subject: [PATCH] Unpin numpy (#452) * Unpin numpy, pin keras to latest release with numpy 2 compatiblity * Test pinnning numpy/torch for x86 mac * Pin numpy<2.0 for windows --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1b96f344..f1300aa0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,10 +27,12 @@ dependencies = [ "fancylog>=0.0.7", "natsort", "numba", - "numpy<2", + "numpy<2.0.0; sys_platform=='darwin' and platform_machine=='x86_64' or sys_platform=='win32'", + "numpy", "scikit-image", "scikit-learn", - "keras>=3.0.0", + "keras>=3.5.0", + "torch<2.3.0; sys_platform=='darwin' and platform_machine=='x86_64'", "torch>=2.1.0", "tifffile", "tqdm",