From 57a3430380df7d2c9fbb41b1fccd241defbc234b Mon Sep 17 00:00:00 2001 From: Mody-SHARK Date: Tue, 17 Dec 2024 16:17:20 +0100 Subject: [PATCH 01/12] Added SlurmViewer-1.0.2 --- .../SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb new file mode 100644 index 00000000000..5e76a90026f --- /dev/null +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -0,0 +1,61 @@ +# # +# Authors: +# - Patrick de Koning +# - Prerak Mody +# # +easyblock = 'PythonBundle' + +name = 'SlurmViewer' +version = '1.0.2' + +homepage = 'https://gitlab.com/lkeb/slurm_viewer' +description = """One-stop command to view the status of a Slurm cluster, including nodes, jobs and resource utilization""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +builddependencies = [ + ('binutils', '2.40'), + ('hatchling', '1.18.0'), + ('poetry', '1.6.1'), +] + +dependencies = [ + ('Python', '3.11.5'), + ('Python-bundle-PyPI', '2023.10'), + ('pydantic', '2.7.4'), +] + +use_pip = True + +exts_list = [ + ('plotext', '5.2.8', { + 'checksums': ['319a287baabeb8576a711995f973a2eba631c887aa6b0f33ab016f12c50ffebe'], + }), + ('textual', '0.85.2', { + 'checksums': ['2a416995c49d5381a81d0a6fd23925cb0e3f14b4f239ed05f35fa3c981bb1df2'], + }), + ('textual-plotext', '0.2.1', { + 'source_tmpl': 'textual_plotext-%(version)s.tar.gz', + 'checksums': ['bc6f2d75d8e20dda6321f8254dc3decda8f41f60e6e70a3ddd83b652b890c081'], + }), + ('asyncssh', '2.18.0', { + 'checksums': ['1a322161c01f60b9719dc8f39f80db71e61f3f5e04abbc3420ce503126d87123'], + }), + ('slurm-viewer', version, { + 'source_tmpl': 'slurm_viewer-%(version)s-py3-none-any.whl', + 'checksums': ['00baa6a9b26b36592e361486d58df3d68a8df970dfc66ebc2ba7cdd67994bfe0'], + }), +] + +sanity_check_paths = { + 'files': ['bin/slurm-viewer'], + 'dirs': ['lib'] +} + +sanity_pip_check = True + +modloadmsg = """Slurm Viewer uses a configuration file. +This is made by default (from v1.0.2) in the ~/.config/slurm-viewer/ directory., +YOu can also point to a settings file by setting the environment variable $SLURM_VIEW_CONFIG.""" + +moduleclass = 'tools' From 80c6d45ea2b7ecccf848edeeae4fde69920e7777 Mon Sep 17 00:00:00 2001 From: pmod <2803936+prerakmody@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:11:18 +0100 Subject: [PATCH 02/12] Update spelling error on easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb Co-authored-by: ocaisa --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index 5e76a90026f..f38a500a82d 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -56,6 +56,6 @@ sanity_pip_check = True modloadmsg = """Slurm Viewer uses a configuration file. This is made by default (from v1.0.2) in the ~/.config/slurm-viewer/ directory., -YOu can also point to a settings file by setting the environment variable $SLURM_VIEW_CONFIG.""" +You can also point to a settings file by setting the environment variable $SLURM_VIEW_CONFIG.""" moduleclass = 'tools' From a9cb1adbec2fd707750fed3276003fb144b0351d Mon Sep 17 00:00:00 2001 From: pmod <2803936+prerakmody@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:12:03 +0100 Subject: [PATCH 03/12] Update punctuation error on easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb Co-authored-by: ocaisa --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index f38a500a82d..bce5884983c 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -55,7 +55,7 @@ sanity_check_paths = { sanity_pip_check = True modloadmsg = """Slurm Viewer uses a configuration file. -This is made by default (from v1.0.2) in the ~/.config/slurm-viewer/ directory., +This is made by default (from v1.0.2) in the ~/.config/slurm-viewer/ directory. You can also point to a settings file by setting the environment variable $SLURM_VIEW_CONFIG.""" moduleclass = 'tools' From 6250a2ef043ec494c5a452077c2d0b62bad19bfb Mon Sep 17 00:00:00 2001 From: pmod <2803936+prerakmody@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:17:15 +0100 Subject: [PATCH 04/12] Update "pydantic to 2.9.1" in easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bob Dröge --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index bce5884983c..56f76b2ae69 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -22,7 +22,7 @@ builddependencies = [ dependencies = [ ('Python', '3.11.5'), ('Python-bundle-PyPI', '2023.10'), - ('pydantic', '2.7.4'), + ('pydantic', '2.9.1'), ] use_pip = True From ed209175a6d6a31b8e958cb573844232246d25e7 Mon Sep 17 00:00:00 2001 From: pmod <2803936+prerakmody@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:32:49 +0100 Subject: [PATCH 05/12] Update "bintuls==2.4.2" in easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bob Dröge --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index 56f76b2ae69..902f15704ea 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -14,7 +14,7 @@ description = """One-stop command to view the status of a Slurm cluster, includi toolchain = {'name': 'GCCcore', 'version': '13.3.0'} builddependencies = [ - ('binutils', '2.40'), + ('binutils', '2.42'), ('hatchling', '1.18.0'), ('poetry', '1.6.1'), ] From 4df5e390aceebd68063c21764444c65fbc725372 Mon Sep 17 00:00:00 2001 From: pmod <2803936+prerakmody@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:33:11 +0100 Subject: [PATCH 06/12] Update "hatchling==1.24.2" in easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bob Dröge --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index 902f15704ea..feaa51a7f8f 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -15,7 +15,7 @@ toolchain = {'name': 'GCCcore', 'version': '13.3.0'} builddependencies = [ ('binutils', '2.42'), - ('hatchling', '1.18.0'), + ('hatchling', '1.24.2), ('poetry', '1.6.1'), ] From 2c88a1ed59479940f1206999324370ab397d194f Mon Sep 17 00:00:00 2001 From: pmod <2803936+prerakmody@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:33:32 +0100 Subject: [PATCH 07/12] Update "poetry==1.8.3" in easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bob Dröge --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index feaa51a7f8f..cbd3de6cffe 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -16,7 +16,7 @@ toolchain = {'name': 'GCCcore', 'version': '13.3.0'} builddependencies = [ ('binutils', '2.42'), ('hatchling', '1.24.2), - ('poetry', '1.6.1'), + ('poetry', '1.8.3'), ] dependencies = [ From 236d0be51d4c765b0cc96ffbf95711e191532ef2 Mon Sep 17 00:00:00 2001 From: pmod <2803936+prerakmody@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:34:00 +0100 Subject: [PATCH 08/12] Update "python==3.12.3" in easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bob Dröge --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index cbd3de6cffe..fd3425dea82 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -20,7 +20,7 @@ builddependencies = [ ] dependencies = [ - ('Python', '3.11.5'), + ('Python', '3.12.3'), ('Python-bundle-PyPI', '2023.10'), ('pydantic', '2.9.1'), ] From c724668ff638ca526d748efa0a45440b5ba858c2 Mon Sep 17 00:00:00 2001 From: pmod <2803936+prerakmody@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:35:47 +0100 Subject: [PATCH 09/12] Update "Python-bundle-PyPi==2024.06" in easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bob Dröge --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index fd3425dea82..0f82803b808 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -21,7 +21,7 @@ builddependencies = [ dependencies = [ ('Python', '3.12.3'), - ('Python-bundle-PyPI', '2023.10'), + ('Python-bundle-PyPI', '2024.06), ('pydantic', '2.9.1'), ] From b51e7f1ae7aa196bb293060902fb0df66c33f1a9 Mon Sep 17 00:00:00 2001 From: Mody-SHARK Date: Wed, 18 Dec 2024 23:17:58 +0100 Subject: [PATCH 10/12] Added missing commas --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index 0f82803b808..ec74287d759 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -15,7 +15,7 @@ toolchain = {'name': 'GCCcore', 'version': '13.3.0'} builddependencies = [ ('binutils', '2.42'), - ('hatchling', '1.24.2), + ('hatchling', '1.24.2'), ('poetry', '1.8.3'), ] From ab507e4ac5d84178a58f025bbd5996f517ac8dfb Mon Sep 17 00:00:00 2001 From: Mody-SHARK Date: Wed, 18 Dec 2024 23:22:43 +0100 Subject: [PATCH 11/12] Added missing commas --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index ec74287d759..97f475d94c4 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -21,7 +21,7 @@ builddependencies = [ dependencies = [ ('Python', '3.12.3'), - ('Python-bundle-PyPI', '2024.06), + ('Python-bundle-PyPI', '2024.06'), ('pydantic', '2.9.1'), ] From a35ec39bdd702b3b4c61f7c0650d32cd9cf1b807 Mon Sep 17 00:00:00 2001 From: pmod <2803936+prerakmody@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:07:43 +0100 Subject: [PATCH 12/12] Update "description content" in easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bob Dröge --- .../s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb index 97f475d94c4..9474793b5b8 100644 --- a/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/SlurmViewer/SlurmViewer-1.0.2-GCCcore-13.3.0.eb @@ -9,7 +9,8 @@ name = 'SlurmViewer' version = '1.0.2' homepage = 'https://gitlab.com/lkeb/slurm_viewer' -description = """One-stop command to view the status of a Slurm cluster, including nodes, jobs and resource utilization""" +description = """One-stop command to view the status of a Slurm cluster, +including nodes, jobs and resource utilization.""" toolchain = {'name': 'GCCcore', 'version': '13.3.0'}