Skip to content

Conversation

@github-actions github-actions bot added 2024a issues & PRs related to 2024a common toolchains new update labels Dec 24, 2025
@github-actions
Copy link

Updated software MONAI-1.4.0-foss-2024a-CUDA-12.6.0.eb

Diff against MONAI-1.4.0-foss-2023b.eb

easybuild/easyconfigs/m/MONAI/MONAI-1.4.0-foss-2023b.eb

diff --git a/easybuild/easyconfigs/m/MONAI/MONAI-1.4.0-foss-2023b.eb b/easybuild/easyconfigs/m/MONAI/MONAI-1.4.0-foss-2024a-CUDA-12.6.0.eb
index 9339801a4f..33028c6766 100644
--- a/easybuild/easyconfigs/m/MONAI/MONAI-1.4.0-foss-2023b.eb
+++ b/easybuild/easyconfigs/m/MONAI/MONAI-1.4.0-foss-2024a-CUDA-12.6.0.eb
@@ -2,6 +2,7 @@ easyblock = 'PythonBundle'
 
 name = 'MONAI'
 version = '1.4.0'
+versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://monai.io/'
 description = """
@@ -9,7 +10,7 @@ MONAI is a PyTorch-based, open-source framework for deep learning in healthcare
 imaging, part of PyTorch Ecosystem.
 """
 
-toolchain = {'name': 'foss', 'version': '2023b'}
+toolchain = {'name': 'foss', 'version': '2024a'}
 
 github_account = 'Project-MONAI'
 
@@ -18,83 +19,88 @@ local_pip_extras += "openslide,pandas,pillow,psutil,pyyaml,skimage,tensorboard,t
 local_pip_extras += "transformers,mlflow,clearml,matplotlib,tensorboardX,tifffile,imagecodecs,onnx,zarr,lpips,pynrrd"
 
 builddependencies = [
-    ('hatchling', '1.18.0'),
-    ('Ninja', '1.11.1'),
+    ('hatchling', '1.24.2'),
+    ('Ninja', '1.12.1'),
 ]
 
 dependencies = [
-    ('Python', '3.11.5'),
-    ('Python-bundle-PyPI', '2023.10'),
-    ('SciPy-bundle', '2023.11'),
-    ('PyTorch', '2.1.2'),
-    ('einops', '0.8.0'),
-    ('BeautifulSoup', '4.12.2'),
-    ('tqdm', '4.66.2'),
-    ('ITK', '5.4.0'),
+    ('CUDA', '12.6.0', '', SYSTEM),
+    ('Python', '3.12.3'),
+    ('SciPy-bundle', '2024.05'),
+    ('PyTorch', '2.6.0', versionsuffix),
+    ('einops', '0.8.1'),
+    ('BeautifulSoup', '4.12.3'),
+    ('tqdm', '4.66.5'),
+    ('ITK', '5.4.4'),
     ('pydicom', '3.0.1'),
     ('NiBabel', '5.3.2'),
-    ('openslide-python', '1.4.1'),
-    ('Pillow', '10.2.0'),
-    ('PyYAML', '6.0.1'),
-    ('scikit-image', '0.24.0'),
+    ('openslide-python', '1.4.2'),
+    ('Pillow', '10.4.0'),
+    ('PyYAML', '6.0.2'),
+    ('scikit-image', '0.25.0'),
     ('tensorboard', '2.18.0'),
-    ('torchvision', '0.17.0'),
-    ('Transformers', '4.44.0'),
-    ('MLflow', '2.18.0'),
-    ('matplotlib', '3.8.2'),
-    ('clearml', '1.16.5'),
-    ('tensorboardX', '2.6.2.2'),
-    ('imagecodecs', '2024.6.1'),
-    ('h5py', '3.11.0'),
-    ('Optuna', '3.6.1'),
-    ('ONNX', '1.17.0'),
-    ('zarr', '2.18.3'),
-    ('PyAMG', '5.2.1'),
+    ('torchvision', '0.21.0', versionsuffix),
+    ('Transformers', '4.55.0'),
+    ('MLflow', '2.22.4'),
+    ('matplotlib', '3.9.2'),
+    ('clearml', '2.0.2'),
+    ('tensorboardX', '2.6.4'),
+    ('imagecodecs', '2024.12.30'),
+    ('h5py', '3.12.1'),
+    ('Optuna', '4.1.0'),
+    ('ONNX', '1.20.0'),
+    ('zarr', '2.18.4'),
+    ('PyAMG', '5.3.0'),
 ]
 
 exts_list = [
     ('nptyping', '2.5.0', {
         'checksums': ['e3d35b53af967e6fb407c3016ff9abae954d3a0568f7cc13a461084224e8e20a'],
     }),
-    ('pynrrd', '1.0.0', {
+    ('pynrrd', '1.1.3', {
         'modulename': 'nrrd',
-        'checksums': ['4eb4caba03fbca1b832114515e748336cb67bce70c7f3ae36bfa2e135fc990d2'],
+        'checksums': ['a331263bc9f05c3168182e61d6098e256a34e0fadbb7427a1d086d8942fbcbe0'],
     }),
     ('lpips', '0.1.4', {
         'checksums': ['3846331df6c69688aec3d300a5eeef6c529435bc8460bd58201c3d62e56188fa'],
     }),
-    ('typeguard', '4.1.2', {
-        'checksums': ['3be187945f9ef5a9f6d7a926dfe54babb7dfd807085ce05f9a5e8735f2487990'],
+    ('typeguard', '4.4.2', {
+        'preinstallopts': "sed -i '/^license/d' pyproject.toml && ",
+        'checksums': ['a6f1065813e32ef365bc3b3f503af8a96f9dd4e0033a02c28c4a4983de8c6c49'],
     }),
-    ('huggingface-hub', '0.26.2', {
+    ('huggingface-hub', '0.36.0', {
         'sources': ['huggingface_hub-%(version)s.tar.gz'],
-        'checksums': ['b100d853465d965733964d123939ba287da60a547087783ddff8a323f340332b'],
+        'checksums': ['47b3f0e2539c39bf5cde015d63b72ec49baff67b6931c3d97f3f84532e2b8d25'],
     }),
-    ('lmdb', '1.5.1', {
-        'checksums': ['717c255827d331e02f7242b44051aa06466c90f6d732ecb07b31edfb1e06c67a'],
+    ('lmdb', '1.7.5', {
+        'checksums': ['f0604751762cb097059d5412444c4057b95f386c7ed958363cf63f453e5108da'],
     }),
-    ('pytorch-ignite', '0.4.11', {
+    ('pytorch-ignite', '0.5.3', {
         'modulename': 'ignite',
-        'patches': ['PyTorch-Ignite-0.4.11_fix_error_on_importing_Events.patch'],
-        'checksums': [
-            {'pytorch-ignite-0.4.11.tar.gz': 'ee31096a58679417097ef7f3f27d88bec40b789ac5e13cd9ed08bc89ca8ce2e2'},
-            {'PyTorch-Ignite-0.4.11_fix_error_on_importing_Events.patch':
-             'd45c0da30c01f7ce47b7be49a6d5d6eb9529c94a0b9de89260d4b07d9d2359e0'},
-        ],
+        'preinstallopts': "sed -i '/^license/d' pyproject.toml && ",
+        'checksums': ['75c645f02fea66cc80c1998ade3f8402e0e6b6d73f3f4ad727c171f6e93874f4'],
     }),
     ('gdown', '5.2.0', {
         'checksums': ['2145165062d85520a3cd98b356c9ed522c5e7984d408535409fd46f94defc787'],
     }),
-    ('termcolor', '2.5.0', {
-        'checksums': ['998d8d27da6d48442e8e1f016119076b690d962507531df4890fcd2db2ef8a6f'],
+    ('termcolor', '3.2.0', {
+        'preinstallopts': (
+            """sed -i '/"Programming Language :: Python :: 3.15",/d' pyproject.toml && """
+            """sed -i '/^license/d' pyproject.toml && """
+        ),
+        'checksums': ['610e6456feec42c4bcd28934a8c87a06c3fa28b01561d46aa09a9881b8622c58'],
     }),
-    ('fire', '0.7.0', {
-        'checksums': ['961550f07936eaf65ad1dc8360f2b2bf8408fad46abbfa4d2a3794f8d2a95cdf'],
+    ('fire', '0.7.1', {
+        'checksums': ['3b208f05c736de98fb343310d090dcc4d8c78b2a89ea4f32b837c586270a9cbf'],
     }),
     (name, version, {
         'preinstallopts': 'BUILD_MONAI=1',
         'source_tmpl': '%(namelower)s-%(version)s.tar.gz',
-        'use_pip_extras': local_pip_extras,
+        'use_pip_extras': (
+            'einops,fire,gdown,ignite,scipy,tqdm,itk,jsonschema,lmdb,nibabel,pydicom,ninja,h5py,optuna,pyamg,'
+            'openslide,pandas,pillow,psutil,pyyaml,skimage,tensorboard,torchvision,huggingface_hub,transformers,'
+            'mlflow,clearml,matplotlib,tensorboardX,tifffile,imagecodecs,onnx,zarr,lpips,pynrrd'
+        ),
         'checksums': ['2fff631dd78afc166ccbafb89d7dde06f3d3b287860fb6f2d6cddd6bcc72caa8'],
     }),
 ]
Diff against MONAI-1.3.0-foss-2022b.eb

easybuild/easyconfigs/m/MONAI/MONAI-1.3.0-foss-2022b.eb

diff --git a/easybuild/easyconfigs/m/MONAI/MONAI-1.3.0-foss-2022b.eb b/easybuild/easyconfigs/m/MONAI/MONAI-1.4.0-foss-2024a-CUDA-12.6.0.eb
index 8b24cd9941..33028c6766 100644
--- a/easybuild/easyconfigs/m/MONAI/MONAI-1.3.0-foss-2022b.eb
+++ b/easybuild/easyconfigs/m/MONAI/MONAI-1.4.0-foss-2024a-CUDA-12.6.0.eb
@@ -1,7 +1,8 @@
 easyblock = 'PythonBundle'
 
 name = 'MONAI'
-version = '1.3.0'
+version = '1.4.0'
+versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://monai.io/'
 description = """
@@ -9,84 +10,101 @@ MONAI is a PyTorch-based, open-source framework for deep learning in healthcare
 imaging, part of PyTorch Ecosystem.
 """
 
-toolchain = {'name': 'foss', 'version': '2022b'}
+toolchain = {'name': 'foss', 'version': '2024a'}
 
 github_account = 'Project-MONAI'
 
+local_pip_extras = "einops,fire,gdown,ignite,scipy,tqdm,itk,jsonschema,lmdb,nibabel,pydicom,ninja,h5py,optuna,pyamg,"
+local_pip_extras += "openslide,pandas,pillow,psutil,pyyaml,skimage,tensorboard,torchvision,huggingface_hub,"
+local_pip_extras += "transformers,mlflow,clearml,matplotlib,tensorboardX,tifffile,imagecodecs,onnx,zarr,lpips,pynrrd"
+
 builddependencies = [
-    ('Ninja', '1.11.1'),
+    ('hatchling', '1.24.2'),
+    ('Ninja', '1.12.1'),
 ]
 
 dependencies = [
-    ('Python', '3.10.8'),
-    ('SciPy-bundle', '2023.02'),
-    ('PyTorch', '1.13.1'),
-    ('einops', '0.7.0'),
-    ('ITK', '5.3.0'),
-    ('NiBabel', '5.2.0'),
-    ('scikit-image', '0.21.0'),
-    ('tensorboard', '2.15.1'),
-    ('torchvision', '0.14.1'),
-    ('tqdm', '4.64.1'),
-    ('Pillow', '9.4.0'),
-    ('openslide-python', '1.3.1'),
-    ('BeautifulSoup', '4.11.1'),
+    ('CUDA', '12.6.0', '', SYSTEM),
+    ('Python', '3.12.3'),
+    ('SciPy-bundle', '2024.05'),
+    ('PyTorch', '2.6.0', versionsuffix),
+    ('einops', '0.8.1'),
+    ('BeautifulSoup', '4.12.3'),
+    ('tqdm', '4.66.5'),
+    ('ITK', '5.4.4'),
+    ('pydicom', '3.0.1'),
+    ('NiBabel', '5.3.2'),
+    ('openslide-python', '1.4.2'),
+    ('Pillow', '10.4.0'),
+    ('PyYAML', '6.0.2'),
+    ('scikit-image', '0.25.0'),
+    ('tensorboard', '2.18.0'),
+    ('torchvision', '0.21.0', versionsuffix),
+    ('Transformers', '4.55.0'),
+    ('MLflow', '2.22.4'),
+    ('matplotlib', '3.9.2'),
+    ('clearml', '2.0.2'),
+    ('tensorboardX', '2.6.4'),
+    ('imagecodecs', '2024.12.30'),
+    ('h5py', '3.12.1'),
+    ('Optuna', '4.1.0'),
+    ('ONNX', '1.20.0'),
+    ('zarr', '2.18.4'),
+    ('PyAMG', '5.3.0'),
 ]
 
-# install MONAI with list of 'extras', which require additional dependencies
-local_pip_extras = "einops,fire,gdown,ignite,itk,jsonschema,lmdb,nibabel,"
-local_pip_extras += "openslide,pandas,pillow,psutil,pydicom,pyyaml,scipy,"
-local_pip_extras += "skimage,tensorboard,torchvision,tqdm"
-
-# PyTorch-Ignite v0.4.11 bundled as an extension because MONAI v1.3.0 has a strict requirement on it
 exts_list = [
-    ('gdown', '4.7.1', {
-        'checksums': ['347f23769679aaf7efa73e5655270fcda8ca56be65eb84a4a21d143989541045'],
+    ('nptyping', '2.5.0', {
+        'checksums': ['e3d35b53af967e6fb407c3016ff9abae954d3a0568f7cc13a461084224e8e20a'],
+    }),
+    ('pynrrd', '1.1.3', {
+        'modulename': 'nrrd',
+        'checksums': ['a331263bc9f05c3168182e61d6098e256a34e0fadbb7427a1d086d8942fbcbe0'],
     }),
-    ('lmdb', '1.4.1', {
-        'checksums': ['1f4c76af24e907593487c904ef5eba1993beb38ed385af82adb25a858f2d658d'],
+    ('lpips', '0.1.4', {
+        'checksums': ['3846331df6c69688aec3d300a5eeef6c529435bc8460bd58201c3d62e56188fa'],
     }),
-    ('termcolor', '2.3.0', {
-        'source_tmpl': '%(name)s-%(version)s-py3-none-any.whl',
-        'checksums': ['3afb05607b89aed0ffe25202399ee0867ad4d3cb4180d98aaf8eefa6a5f7d475'],
+    ('typeguard', '4.4.2', {
+        'preinstallopts': "sed -i '/^license/d' pyproject.toml && ",
+        'checksums': ['a6f1065813e32ef365bc3b3f503af8a96f9dd4e0033a02c28c4a4983de8c6c49'],
     }),
-    ('fire', '0.5.0', {
-        'checksums': ['a6b0d49e98c8963910021f92bba66f65ab440da2982b78eb1bbf95a0a34aacc6'],
+    ('huggingface-hub', '0.36.0', {
+        'sources': ['huggingface_hub-%(version)s.tar.gz'],
+        'checksums': ['47b3f0e2539c39bf5cde015d63b72ec49baff67b6931c3d97f3f84532e2b8d25'],
     }),
-    ('pytorch-ignite', '0.4.11', {
+    ('lmdb', '1.7.5', {
+        'checksums': ['f0604751762cb097059d5412444c4057b95f386c7ed958363cf63f453e5108da'],
+    }),
+    ('pytorch-ignite', '0.5.3', {
         'modulename': 'ignite',
-        'patches': ['PyTorch-Ignite-0.4.11_fix_error_on_importing_Events.patch'],
-        'checksums': [
-            {'pytorch-ignite-0.4.11.tar.gz': 'ee31096a58679417097ef7f3f27d88bec40b789ac5e13cd9ed08bc89ca8ce2e2'},
-            {'PyTorch-Ignite-0.4.11_fix_error_on_importing_Events.patch':
-             'd45c0da30c01f7ce47b7be49a6d5d6eb9529c94a0b9de89260d4b07d9d2359e0'},
-        ],
+        'preinstallopts': "sed -i '/^license/d' pyproject.toml && ",
+        'checksums': ['75c645f02fea66cc80c1998ade3f8402e0e6b6d73f3f4ad727c171f6e93874f4'],
+    }),
+    ('gdown', '5.2.0', {
+        'checksums': ['2145165062d85520a3cd98b356c9ed522c5e7984d408535409fd46f94defc787'],
+    }),
+    ('termcolor', '3.2.0', {
+        'preinstallopts': (
+            """sed -i '/"Programming Language :: Python :: 3.15",/d' pyproject.toml && """
+            """sed -i '/^license/d' pyproject.toml && """
+        ),
+        'checksums': ['610e6456feec42c4bcd28934a8c87a06c3fa28b01561d46aa09a9881b8622c58'],
+    }),
+    ('fire', '0.7.1', {
+        'checksums': ['3b208f05c736de98fb343310d090dcc4d8c78b2a89ea4f32b837c586270a9cbf'],
     }),
     (name, version, {
         'preinstallopts': 'BUILD_MONAI=1',
-        'source_urls': ['https://github.com/%(github_account)s/%(name)s/archive'],
-        'sources': [{'download_filename': '%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}],
-        'use_pip_extras': local_pip_extras,
-        # 2 valid checksums, as source tarball provided by GitHub for MONAI 1.3.0 slightly changed at some point
-        # see also https://github.com/easybuilders/easybuild-easyconfigs/issues/20617
-        'checksums': [('67e0f55678faad4bd38b1ea69d5de94586b20b551b8ad745415623a8b6c1c5e2',
-                       '076d75458d490b4f2dafbf5974fcc8e07a86c03f39f5ef48c6689ab6e4347da9')],
+        'source_tmpl': '%(namelower)s-%(version)s.tar.gz',
+        'use_pip_extras': (
+            'einops,fire,gdown,ignite,scipy,tqdm,itk,jsonschema,lmdb,nibabel,pydicom,ninja,h5py,optuna,pyamg,'
+            'openslide,pandas,pillow,psutil,pyyaml,skimage,tensorboard,torchvision,huggingface_hub,transformers,'
+            'mlflow,clearml,matplotlib,tensorboardX,tifffile,imagecodecs,onnx,zarr,lpips,pynrrd'
+        ),
+        'checksums': ['2fff631dd78afc166ccbafb89d7dde06f3d3b287860fb6f2d6cddd6bcc72caa8'],
     }),
 ]
 
-# 'pip check' does not verify whether all optional dependencies required to support 'extras'
-# are actually available, so we do it here via an import check;
-local_extra_mod_check = {x: x for x in local_pip_extras.split(",")}
-# Some special cases with different module name than extra name
-local_extra_mod_check['pillow'] = 'PIL'
-local_extra_mod_check['pyyaml'] = 'yaml'
-
 sanity_check_commands = ["python -c 'import monai; monai.config.print_config()'"]
-sanity_check_commands += ["python -c 'import %s'" % local_extra_mod_check[x] for x in local_extra_mod_check]
-
-sanity_check_paths = {
-    'files': ['lib/python%%(pyshortver)s/site-packages/%%(namelower)s/_C.%s' % SHLIB_EXT],
-    'dirs': ['lib/python%(pyshortver)s/site-packages/ignite'],
-}
 
 moduleclass = 'vis'
Diff against MONAI-1.3.0-foss-2023a-CUDA-12.1.1.eb

easybuild/easyconfigs/m/MONAI/MONAI-1.3.0-foss-2023a-CUDA-12.1.1.eb

diff --git a/easybuild/easyconfigs/m/MONAI/MONAI-1.3.0-foss-2023a-CUDA-12.1.1.eb b/easybuild/easyconfigs/m/MONAI/MONAI-1.4.0-foss-2024a-CUDA-12.6.0.eb
index fc80921efa..33028c6766 100644
--- a/easybuild/easyconfigs/m/MONAI/MONAI-1.3.0-foss-2023a-CUDA-12.1.1.eb
+++ b/easybuild/easyconfigs/m/MONAI/MONAI-1.4.0-foss-2024a-CUDA-12.6.0.eb
@@ -1,7 +1,7 @@
 easyblock = 'PythonBundle'
 
 name = 'MONAI'
-version = '1.3.0'
+version = '1.4.0'
 versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://monai.io/'
@@ -10,87 +10,101 @@ MONAI is a PyTorch-based, open-source framework for deep learning in healthcare
 imaging, part of PyTorch Ecosystem.
 """
 
-toolchain = {'name': 'foss', 'version': '2023a'}
+toolchain = {'name': 'foss', 'version': '2024a'}
 
 github_account = 'Project-MONAI'
 
+local_pip_extras = "einops,fire,gdown,ignite,scipy,tqdm,itk,jsonschema,lmdb,nibabel,pydicom,ninja,h5py,optuna,pyamg,"
+local_pip_extras += "openslide,pandas,pillow,psutil,pyyaml,skimage,tensorboard,torchvision,huggingface_hub,"
+local_pip_extras += "transformers,mlflow,clearml,matplotlib,tensorboardX,tifffile,imagecodecs,onnx,zarr,lpips,pynrrd"
+
 builddependencies = [
-    ('hatchling', '1.18.0'),
-    ('Ninja', '1.11.1'),
+    ('hatchling', '1.24.2'),
+    ('Ninja', '1.12.1'),
 ]
 
 dependencies = [
-    ('CUDA', '12.1.1', '', SYSTEM),
-    ('Python', '3.11.3'),
-    ('Python-bundle-PyPI', '2023.06'),
-    ('SciPy-bundle', '2023.07'),
-    ('PyTorch', '2.1.2', versionsuffix),
-    ('einops', '0.7.0'),
-    ('ITK', '5.3.0'),
-    ('NiBabel', '5.2.0'),
-    ('scikit-image', '0.22.0'),
-    ('tensorboard', '2.15.1'),
-    ('torchvision', '0.16.0', versionsuffix),
-    ('tqdm', '4.66.1'),
-    ('Pillow', '10.0.0'),
-    ('openslide-python', '1.3.1'),
-    ('BeautifulSoup', '4.12.2'),
+    ('CUDA', '12.6.0', '', SYSTEM),
+    ('Python', '3.12.3'),
+    ('SciPy-bundle', '2024.05'),
+    ('PyTorch', '2.6.0', versionsuffix),
+    ('einops', '0.8.1'),
+    ('BeautifulSoup', '4.12.3'),
+    ('tqdm', '4.66.5'),
+    ('ITK', '5.4.4'),
+    ('pydicom', '3.0.1'),
+    ('NiBabel', '5.3.2'),
+    ('openslide-python', '1.4.2'),
+    ('Pillow', '10.4.0'),
+    ('PyYAML', '6.0.2'),
+    ('scikit-image', '0.25.0'),
+    ('tensorboard', '2.18.0'),
+    ('torchvision', '0.21.0', versionsuffix),
+    ('Transformers', '4.55.0'),
+    ('MLflow', '2.22.4'),
+    ('matplotlib', '3.9.2'),
+    ('clearml', '2.0.2'),
+    ('tensorboardX', '2.6.4'),
+    ('imagecodecs', '2024.12.30'),
+    ('h5py', '3.12.1'),
+    ('Optuna', '4.1.0'),
+    ('ONNX', '1.20.0'),
+    ('zarr', '2.18.4'),
+    ('PyAMG', '5.3.0'),
 ]
 
-# install MONAI with list of 'extras', which require additional dependencies
-local_pip_extras = "einops,fire,gdown,ignite,itk,jsonschema,lmdb,nibabel,"
-local_pip_extras += "openslide,pandas,pillow,psutil,pydicom,pyyaml,scipy,"
-local_pip_extras += "skimage,tensorboard,torchvision,tqdm"
-
-# PyTorch-Ignite v0.4.11 bundled as an extension because MONAI v1.3.0 has a strict requirement on it
 exts_list = [
-    ('gdown', '4.7.1', {
-        'checksums': ['347f23769679aaf7efa73e5655270fcda8ca56be65eb84a4a21d143989541045'],
+    ('nptyping', '2.5.0', {
+        'checksums': ['e3d35b53af967e6fb407c3016ff9abae954d3a0568f7cc13a461084224e8e20a'],
+    }),
+    ('pynrrd', '1.1.3', {
+        'modulename': 'nrrd',
+        'checksums': ['a331263bc9f05c3168182e61d6098e256a34e0fadbb7427a1d086d8942fbcbe0'],
     }),
-    ('lmdb', '1.4.1', {
-        'checksums': ['1f4c76af24e907593487c904ef5eba1993beb38ed385af82adb25a858f2d658d'],
+    ('lpips', '0.1.4', {
+        'checksums': ['3846331df6c69688aec3d300a5eeef6c529435bc8460bd58201c3d62e56188fa'],
     }),
-    ('termcolor', '2.3.0', {
-        'source_tmpl': '%(name)s-%(version)s-py3-none-any.whl',
-        'checksums': ['3afb05607b89aed0ffe25202399ee0867ad4d3cb4180d98aaf8eefa6a5f7d475'],
+    ('typeguard', '4.4.2', {
+        'preinstallopts': "sed -i '/^license/d' pyproject.toml && ",
+        'checksums': ['a6f1065813e32ef365bc3b3f503af8a96f9dd4e0033a02c28c4a4983de8c6c49'],
     }),
-    ('fire', '0.5.0', {
-        'checksums': ['a6b0d49e98c8963910021f92bba66f65ab440da2982b78eb1bbf95a0a34aacc6'],
+    ('huggingface-hub', '0.36.0', {
+        'sources': ['huggingface_hub-%(version)s.tar.gz'],
+        'checksums': ['47b3f0e2539c39bf5cde015d63b72ec49baff67b6931c3d97f3f84532e2b8d25'],
     }),
-    ('pytorch-ignite', '0.4.11', {
+    ('lmdb', '1.7.5', {
+        'checksums': ['f0604751762cb097059d5412444c4057b95f386c7ed958363cf63f453e5108da'],
+    }),
+    ('pytorch-ignite', '0.5.3', {
         'modulename': 'ignite',
-        'patches': ['PyTorch-Ignite-0.4.11_fix_error_on_importing_Events.patch'],
-        'checksums': [
-            {'pytorch-ignite-0.4.11.tar.gz': 'ee31096a58679417097ef7f3f27d88bec40b789ac5e13cd9ed08bc89ca8ce2e2'},
-            {'PyTorch-Ignite-0.4.11_fix_error_on_importing_Events.patch':
-             'd45c0da30c01f7ce47b7be49a6d5d6eb9529c94a0b9de89260d4b07d9d2359e0'},
-        ],
+        'preinstallopts': "sed -i '/^license/d' pyproject.toml && ",
+        'checksums': ['75c645f02fea66cc80c1998ade3f8402e0e6b6d73f3f4ad727c171f6e93874f4'],
+    }),
+    ('gdown', '5.2.0', {
+        'checksums': ['2145165062d85520a3cd98b356c9ed522c5e7984d408535409fd46f94defc787'],
+    }),
+    ('termcolor', '3.2.0', {
+        'preinstallopts': (
+            """sed -i '/"Programming Language :: Python :: 3.15",/d' pyproject.toml && """
+            """sed -i '/^license/d' pyproject.toml && """
+        ),
+        'checksums': ['610e6456feec42c4bcd28934a8c87a06c3fa28b01561d46aa09a9881b8622c58'],
+    }),
+    ('fire', '0.7.1', {
+        'checksums': ['3b208f05c736de98fb343310d090dcc4d8c78b2a89ea4f32b837c586270a9cbf'],
     }),
     (name, version, {
         'preinstallopts': 'BUILD_MONAI=1',
-        'source_urls': ['https://github.com/%(github_account)s/%(name)s/archive'],
-        'sources': ['%(version)s.tar.gz'],
-        'use_pip_extras': local_pip_extras,
-        # 2 valid checksums, as source tarball provided by GitHub for MONAI 1.3.0 slightly changed at some point
-        # see also https://github.com/easybuilders/easybuild-easyconfigs/issues/20617
-        'checksums': [('67e0f55678faad4bd38b1ea69d5de94586b20b551b8ad745415623a8b6c1c5e2',
-                       '076d75458d490b4f2dafbf5974fcc8e07a86c03f39f5ef48c6689ab6e4347da9')],
+        'source_tmpl': '%(namelower)s-%(version)s.tar.gz',
+        'use_pip_extras': (
+            'einops,fire,gdown,ignite,scipy,tqdm,itk,jsonschema,lmdb,nibabel,pydicom,ninja,h5py,optuna,pyamg,'
+            'openslide,pandas,pillow,psutil,pyyaml,skimage,tensorboard,torchvision,huggingface_hub,transformers,'
+            'mlflow,clearml,matplotlib,tensorboardX,tifffile,imagecodecs,onnx,zarr,lpips,pynrrd'
+        ),
+        'checksums': ['2fff631dd78afc166ccbafb89d7dde06f3d3b287860fb6f2d6cddd6bcc72caa8'],
     }),
 ]
 
-# 'pip check' does not verify whether all optional dependencies required to support 'extras'
-# are actually available, so we do it here via an import check;
-local_extra_mod_check = {x: x for x in local_pip_extras.split(",")}
-# Some special cases with different module name than extra name
-local_extra_mod_check['pillow'] = 'PIL'
-local_extra_mod_check['pyyaml'] = 'yaml'
-
 sanity_check_commands = ["python -c 'import monai; monai.config.print_config()'"]
-sanity_check_commands += ["python -c 'import %s'" % local_extra_mod_check[x] for x in local_extra_mod_check]
-
-sanity_check_paths = {
-    'files': ['lib/python%%(pyshortver)s/site-packages/%%(namelower)s/_C.%s' % SHLIB_EXT],
-    'dirs': ['lib/python%(pyshortver)s/site-packages/ignite'],
-}
 
 moduleclass = 'vis'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2024a issues & PRs related to 2024a common toolchains new update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant