Skip to content

Commit c16bf2c

Browse files
committed
Pin monai<=1.5.0 before compatibility issues with 1.5.1 is addressed
Signed-off-by: M Q <[email protected]>
1 parent da08e97 commit c16bf2c

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

examples/apps/ai_multi_ai_app/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ numpy-stl>=2.12.0
77
trimesh>=3.8.11
88
nibabel>=3.2.1
99
torch>=1.12.0
10-
monai>=1.0.0
10+
monai<=1.5.0

examples/apps/ai_spleen_seg_app/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ numpy-stl>=2.12.0
77
trimesh>=3.8.11
88
nibabel>=3.2.1
99
torch>=1.12.0
10-
monai>=1.0.0
10+
monai<=1.5.0

notebooks/tutorials/03_segmentation_app.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
},
9393
{
9494
"cell_type": "code",
95-
"execution_count": 1,
95+
"execution_count": null,
9696
"metadata": {},
9797
"outputs": [
9898
{
@@ -108,7 +108,7 @@
108108
],
109109
"source": [
110110
"# Install MONAI and other necessary image processing packages for the application\n",
111-
"!python -c \"import monai\" || pip install --upgrade -q \"monai\"\n",
111+
"!python -c \"import monai\" || pip install --upgrade -q \"monai<=1.5.0\"\n",
112112
"!python -c \"import torch\" || pip install -q \"torch>=1.10.2\"\n",
113113
"!python -c \"import numpy\" || pip install -q \"numpy>=1.21\"\n",
114114
"!python -c \"import nibabel\" || pip install -q \"nibabel>=3.2.1\"\n",

notebooks/tutorials/03_segmentation_viz_app.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@
8585
},
8686
{
8787
"cell_type": "code",
88-
"execution_count": 1,
88+
"execution_count": null,
8989
"metadata": {},
9090
"outputs": [],
9191
"source": [
9292
"# Install MONAI and other necessary image processing packages for the application\n",
93-
"!python -c \"import monai\" || pip install --upgrade -q \"monai\"\n",
93+
"!python -c \"import monai\" || pip install --upgrade -q \"monai<=1.5.0\"\n",
9494
"!python -c \"import torch\" || pip install -q \"torch>=1.12.0\"\n",
9595
"!python -c \"import numpy\" || pip install -q \"numpy>=1.21.6\"\n",
9696
"!python -c \"import nibabel\" || pip install -q \"nibabel>=3.2.1\"\n",

notebooks/tutorials/04_monai_bundle_app.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@
9494
},
9595
{
9696
"cell_type": "code",
97-
"execution_count": 1,
97+
"execution_count": null,
9898
"metadata": {},
9999
"outputs": [],
100100
"source": [
101101
"# Install MONAI and other necessary image processing packages for the application\n",
102-
"!python -c \"import monai\" || pip install --upgrade -q \"monai\"\n",
102+
"!python -c \"import monai\" || pip install --upgrade -q \"monai<=1.5.0\"\n",
103103
"!python -c \"import torch\" || pip install -q \"torch>=1.12.0\"\n",
104104
"!python -c \"import numpy\" || pip install -q \"numpy>=1.21.6\"\n",
105105
"!python -c \"import nibabel\" || pip install -q \"nibabel>=3.2.1\"\n",

notebooks/tutorials/05_multi_model_app.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@
135135
},
136136
{
137137
"cell_type": "code",
138-
"execution_count": 1,
138+
"execution_count": null,
139139
"metadata": {},
140140
"outputs": [],
141141
"source": [
142142
"# Install MONAI and other necessary image processing packages for the application\n",
143-
"!python -c \"import monai\" || pip install --upgrade -q \"monai\"\n",
143+
"!python -c \"import monai\" || pip install --upgrade -q \"monai<=1.5.0\"\n",
144144
"!python -c \"import torch\" || pip install -q \"torch>=1.12.0\"\n",
145145
"!python -c \"import numpy\" || pip install -q \"numpy>=1.21\"\n",
146146
"!python -c \"import nibabel\" || pip install -q \"nibabel>=3.2.1\"\n",

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pytest==7.4.0
2222
pytest-cov==4.1.0
2323
pytest-lazy-fixture==0.6.3
2424
cucim~=21.06; platform_system == "Linux"
25-
monai>=1.0.0
25+
monai<=1.5.0
2626
docker>=5.0.0
2727
pydicom>=2.3.0
2828
PyPDF2>=2.11.1

requirements-examples.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ nibabel>=3.2.1
99
numpy-stl>=2.12.0
1010
trimesh>=3.8.11
1111
torch>=2.0.1
12-
monai>=1.0.0
12+
monai<=1.5.0

0 commit comments

Comments
 (0)