From 5890289f3584a0618432f93dd30da777bc23363b Mon Sep 17 00:00:00 2001 From: WilleBell Date: Wed, 23 Oct 2024 15:47:05 +0200 Subject: [PATCH 1/3] adding easyconfigs: Dask-ML-2024.4.4-foss-2023a.eb --- .../d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb diff --git a/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb b/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb new file mode 100644 index 00000000000..9ff4d7c1b9c --- /dev/null +++ b/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb @@ -0,0 +1,54 @@ +easyblock = 'PythonBundle' + +name = 'Dask-ML' +version = '2024.4.4' + +homepage = 'http://ml.dask.org/' +description = """ +Dask-ML provides scalable machine learning in Python using Dask alongside popular machine +learning libraries like Scikit-Learn, XGBoost, and others. +""" + +toolchain = {'name': 'foss', 'version': '2023a'} + +builddependencies = [('hatchling', '1.18.0')] + +dependencies = [ + ('Python', '3.11.3'), + ('scikit-learn', '1.3.1'), + ('dask', '2023.9.2'), + ('numba', '0.58.1'), + ('SciPy-bundle', '2023.07'), +] + +use_pip = True +sanity_pip_check = True + +exts_list = [ + ('setuptools-scm', '8.1.0', { + 'sources': ['setuptools_scm-%(version)s.tar.gz'], + 'checksums': ['42dea1b65771cba93b7a515d65a65d8246e560768a66b9106a592c8e7f26c8a7'], + }), # sparse needs setuptools-scm>=8 + ('sparse', '0.15.4', { + 'checksums': ['d4b1c57d24ff0f64f2fd5b5a95b49b7fb84ed207a26d7d58ce2764dcc5c72b84'], + }), + ('dask-glm', '0.3.2', { + 'checksums': ['c947a566866698a01d79978ae73233cb5e838ad5ead6085143582c5e930b9a4a'], + }), + ('distributed', '2023.9.2', { + 'checksums': ['b76b43be6a297c6cc6dc4eac7f5a05a8c6834aaf025ed37395d1d830448d540e'], + }), + ('multipledispatch', '1.0.0', { + 'checksums': ['5c839915465c68206c3e9c473357908216c28383b425361e5d144594bf85a7e0'], + }), + ('packaging', '24.1', { + 'checksums': ['026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002'], + }), + (name, version, { + 'modulename': 'dask_ml', + 'sources': ['dask_ml-%(version)s.tar.gz'], + 'checksums': ['7956910a49e1e31944280fdb311adf245da11ef410d67deb7a05c67c7d0c4498'], + }), +] + +moduleclass = 'ai' From 85cb7520689f4da69fd77dc5149f6bd178bf69d6 Mon Sep 17 00:00:00 2001 From: WilleBell Date: Wed, 30 Oct 2024 11:52:03 +0100 Subject: [PATCH 2/3] remove setuptools-scm extension --- .../easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb b/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb index 9ff4d7c1b9c..fd593a4bb09 100644 --- a/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb +++ b/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb @@ -25,11 +25,9 @@ use_pip = True sanity_pip_check = True exts_list = [ - ('setuptools-scm', '8.1.0', { - 'sources': ['setuptools_scm-%(version)s.tar.gz'], - 'checksums': ['42dea1b65771cba93b7a515d65a65d8246e560768a66b9106a592c8e7f26c8a7'], - }), # sparse needs setuptools-scm>=8 ('sparse', '0.15.4', { + # replace use of 'version_file' (which requires setuptools-scm >= 8.0) with 'write_to' + 'preinstallopts': "sed -i 's/^version_file/write_to/' pyproject.toml && ", 'checksums': ['d4b1c57d24ff0f64f2fd5b5a95b49b7fb84ed207a26d7d58ce2764dcc5c72b84'], }), ('dask-glm', '0.3.2', { From cbb32e4b28f652c86f636f62f110e60b35ab6864 Mon Sep 17 00:00:00 2001 From: Alex Domingo Date: Mon, 4 Nov 2024 14:05:43 +0100 Subject: [PATCH 3/3] use upstream name for dask_ml extension in Dask-ML-2024.4.4-foss-2023a.eb --- .../easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb b/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb index fd593a4bb09..f4bdf4425ae 100644 --- a/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb +++ b/easybuild/easyconfigs/d/Dask-ML/Dask-ML-2024.4.4-foss-2023a.eb @@ -42,9 +42,7 @@ exts_list = [ ('packaging', '24.1', { 'checksums': ['026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002'], }), - (name, version, { - 'modulename': 'dask_ml', - 'sources': ['dask_ml-%(version)s.tar.gz'], + ('dask_ml', version, { 'checksums': ['7956910a49e1e31944280fdb311adf245da11ef410d67deb7a05c67c7d0c4498'], }), ]