From c2e30f8bb49e38370ac6c72350bb9292b370c1fc Mon Sep 17 00:00:00 2001 From: Alex Domingo Date: Tue, 9 Jul 2024 16:30:19 +0200 Subject: [PATCH 1/2] adding easyconfigs: xESMF-0.8.6-foss-2023a.eb --- .../x/xESMF/xESMF-0.8.6-foss-2023a.eb | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 easybuild/easyconfigs/x/xESMF/xESMF-0.8.6-foss-2023a.eb diff --git a/easybuild/easyconfigs/x/xESMF/xESMF-0.8.6-foss-2023a.eb b/easybuild/easyconfigs/x/xESMF/xESMF-0.8.6-foss-2023a.eb new file mode 100644 index 000000000000..56456f83e307 --- /dev/null +++ b/easybuild/easyconfigs/x/xESMF/xESMF-0.8.6-foss-2023a.eb @@ -0,0 +1,36 @@ +easyblock = 'PythonBundle' + +name = 'xESMF' +version = '0.8.6' + +homepage = 'https://xesmf.readthedocs.io' +description = "xESMF: Universal Regridder for Geospatial Data" + +toolchain = {'name': 'foss', 'version': '2023a'} + +dependencies = [ + ('Python', '3.11.3'), + ('SciPy-bundle', '2023.07'), + ('ESMPy', '8.6.0'), + ('numba', '0.58.1'), + ('Shapely', '2.0.1'), + ('xarray', '2023.9.0'), +] + +use_pip = True + +exts_list = [ + ('cf_xarray', '0.9.3', { + 'checksums': ['5012444078964ef931cdc71d559f58488edd5fa9a175fbec326f9356e481b2cf'], + }), + ('sparse', '0.14.0', { + 'checksums': ['5f5827a37f6cd6f6730a541f994c95c60a3ae2329e01f4ba21ced5339aea0098'], + }), + ('xesmf', version, { + 'checksums': ['61c54f0db19fe4871623791db50b1ae589ea1a834d0df461cb58ffbd10d875de'], + }), +] + +sanity_pip_check = True + +moduleclass = 'geo' From 3cfe7df8efbcdc5518067144db7088dd899793b3 Mon Sep 17 00:00:00 2001 From: Alex Domingo Date: Fri, 12 Jul 2024 15:35:54 +0200 Subject: [PATCH 2/2] run tests of xESMF v0.8.6 --- .../easyconfigs/x/xESMF/xESMF-0.8.6-foss-2023a.eb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/easybuild/easyconfigs/x/xESMF/xESMF-0.8.6-foss-2023a.eb b/easybuild/easyconfigs/x/xESMF/xESMF-0.8.6-foss-2023a.eb index 56456f83e307..c77c2e324edd 100644 --- a/easybuild/easyconfigs/x/xESMF/xESMF-0.8.6-foss-2023a.eb +++ b/easybuild/easyconfigs/x/xESMF/xESMF-0.8.6-foss-2023a.eb @@ -8,6 +8,10 @@ description = "xESMF: Universal Regridder for Geospatial Data" toolchain = {'name': 'foss', 'version': '2023a'} +builddependencies = [ + ('pytest', '7.4.2'), +] + dependencies = [ ('Python', '3.11.3'), ('SciPy-bundle', '2023.07'), @@ -15,11 +19,15 @@ dependencies = [ ('numba', '0.58.1'), ('Shapely', '2.0.1'), ('xarray', '2023.9.0'), + ('dask', '2023.9.2'), ] use_pip = True exts_list = [ + ('cftime', '1.6.2', { + 'checksums': ['8614c00fb8a5046de304fdd86dbd224f99408185d7b245ac6628d0276596e6d2'], + }), ('cf_xarray', '0.9.3', { 'checksums': ['5012444078964ef931cdc71d559f58488edd5fa9a175fbec326f9356e481b2cf'], }), @@ -28,6 +36,9 @@ exts_list = [ }), ('xesmf', version, { 'checksums': ['61c54f0db19fe4871623791db50b1ae589ea1a834d0df461cb58ffbd10d875de'], + 'runtest': 'pytest', + 'testopts': "-v --pyargs xesmf", + 'testinstall': True, }), ]