Skip to content

Commit 9fa7f64

Browse files
Rollback itk version and apply only for python 3.10 (#1117)
Signed-off-by: Sachidanand Alle <[email protected]> Signed-off-by: Sachidanand Alle <[email protected]>
1 parent 809b8d2 commit 9fa7f64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# limitations under the License.
1111

1212
torch>=1.7
13-
itk>=5.3rc4.post3
13+
itk>=5.3rc4.post3; python_version == '3.10'
1414
monai[nibabel, skimage, pillow, tensorboard, gdown, ignite, torchvision, itk, tqdm, lmdb, psutil, openslide, fire]>=1.0.1
1515
uvicorn==0.17.6
1616
pydantic>=1.8.2

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ setup_requires =
3636
ninja
3737
install_requires =
3838
torch>=1.7
39-
itk>=5.3rc4.post3
39+
itk>=5.3rc4.post3; python_version == '3.10'
4040
monai[nibabel, skimage, pillow, tensorboard, gdown, ignite, torchvision, itk, tqdm, lmdb, psutil, openslide, fire]>=1.0.1
4141
uvicorn==0.17.6
4242
pydantic>=1.8.2

0 commit comments

Comments
 (0)