From 6a6424957959ee10cc37285aa03996bed0ba4671 Mon Sep 17 00:00:00 2001 From: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> Date: Wed, 19 Jun 2024 02:40:09 +0100 Subject: [PATCH 1/4] Fixing Numpy requirements to exclude 2.0 (#7859) ### Description This fixes the version of Numpy to be less than 2.0 so that we can get a working setup guaranteed. Numpy 2.0 isn't supported yet by MONAI and will need a number of changes to be compatible. This is only sometimes a problem because a number of dependencies we have require Numpy<2.0. When these are absent however, such as with minimal installs, Numpy 2.0 can be installed and causes problems. This is a temporary fix until we have worked out an update that's compatible with versions before and after 2.0. ### Types of changes - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: Eric Kerfoot --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1569646794..1d6ae13eec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ torch>=1.9 -numpy>=1.20 +numpy>=1.20,<2.0 From 589f1b4b18a68ca4cd6cadc6a18f8500548f2b3e Mon Sep 17 00:00:00 2001 From: Eric Kerfoot Date: Tue, 25 Jun 2024 13:47:28 +0100 Subject: [PATCH 2/4] DCO Remediation Commit for Eric Kerfoot <17726042+ericspod@users.noreply.github.com> I, Eric Kerfoot <17726042+ericspod@users.noreply.github.com>, hereby add my Signed-off-by to this commit: 6a6424957959ee10cc37285aa03996bed0ba4671 Signed-off-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> From c6e666b46f1b7b8268f11948bdd81f47ee60cec3 Mon Sep 17 00:00:00 2001 From: Eric Kerfoot Date: Tue, 25 Jun 2024 13:48:46 +0100 Subject: [PATCH 3/4] DCO Remediation Commit for Eric Kerfoot I, Eric Kerfoot , hereby add my Signed-off-by to this commit: 589f1b4b18a68ca4cd6cadc6a18f8500548f2b3e Signed-off-by: Eric Kerfoot From dd36f1a520b05b0249c86fe04d9f242e98d1180c Mon Sep 17 00:00:00 2001 From: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:40:52 +0100 Subject: [PATCH 4/4] DCO Remediation Commit for Eric Kerfoot <17726042+ericspod@users.noreply.github.com> I, Eric Kerfoot <17726042+ericspod@users.noreply.github.com>, hereby add my Signed-off-by to this commit: 6a6424957959ee10cc37285aa03996bed0ba4671 Signed-off-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>