From 62b19a2919bfe9aa1721e6804c2e9243a9139ee6 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 13 Aug 2025 11:08:25 +0100 Subject: [PATCH] gnu: python-pathos: Move to parallel. * gnu/packages/python-xyz.scm (python-pathos): Move from here ... * gnu/packages/parallel.scm: ... to here. Change-Id: Iae53a58b4fab93125d4cd8606238ef436c828eba --- gnu/packages/parallel.scm | 46 +++++++++++++++++++++++++++++++++++-- gnu/packages/python-xyz.scm | 40 -------------------------------- 2 files changed, 44 insertions(+), 42 deletions(-) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 9874b2b9108f69f4c23bdfac51ca37be2a3aefc3..a4c9f47a77e238962f71517c87a3f56856fcec15 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2020 Eric Bavier ;;; Copyright © 2015 Mark H Weaver -;;; Copyright © 2015-2018, 2020-2025 Efraim Flashner +;;; Copyright © 2015-2025 Efraim Flashner ;;; Copyright © 2016 Pjotr Prins ;;; Copyright © 2016 Andreas Enge ;;; Copyright © 2016, 2020, 2021, 2022, 2023 Ricardo Wurmus @@ -10,13 +10,15 @@ ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice ;;; Copyright © 2018 Clément Lassieur ;;; Copyright © 2019-2024 Ludovic Courtès +;;; Copyright © 2019 Mădălin Ionel Patrașcu ;;; Copyright © 2020 Roel Janssen +;;; Copyright © 2021, 2024 Maxim Cournoyer ;;; Copyright © 2021 Stefan Reichör ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024, 2025 David Elsing ;;; Copyright © 2024 Romain Garbage ;;; Copyright © 2024 Arun Isaac -;;; Copyright © 2024 Maxim Cournoyer +;;; Copyright © 2025 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -497,6 +499,46 @@ can use the same high-level API to link their software with different cluster/resource management systems.") (license license:gpl3+))) +(define-public python-pathos + (package + (name "python-pathos") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pathos" version)) + (sha256 + (base32 "0m077iw5fml4r7csgi4j7ngvdmg1y9jxly64gi56argq1qnr3m5s")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + ;; XXX: Tests freeze when invoked with Pytest directly, this step + ;; is taken from project's tox.ini. + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (invoke "python" "./pathos/tests/__main__.py"))))))) + (native-inputs + (list python-setuptools-next)) + (propagated-inputs + (list python-dill + python-multiprocess + python-pox + python-ppft)) + (home-page "https://pypi.org/project/pathos/") + (synopsis + "Parallel graph management and execution in heterogeneous computing") + (description + "Python-pathos is a framework for heterogeneous computing. It provides a +consistent high-level interface for configuring and launching parallel +computations across heterogeneous resources. Python-pathos provides +configurable launchers for parallel and distributed computing, where each +launcher contains the syntactic logic to configure and launch jobs in an +execution environment.") + (license license:bsd-3))) + (define-public python-schwimmbad (package (name "python-schwimmbad") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ccd053e9fceb0be9cebe0828d9361bd580415972..b0e66296d24d0ad92cec627d61b437fd9c369837 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32199,46 +32199,6 @@ discovery of what has been installed on an operating system, and where the essential tools are located.") (license license:bsd-3))) -(define-public python-pathos - (package - (name "python-pathos") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pathos" version)) - (sha256 - (base32 "0m077iw5fml4r7csgi4j7ngvdmg1y9jxly64gi56argq1qnr3m5s")))) - (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (replace 'check - ;; XXX: Tests freeze when invoked with Pytest directly, this step - ;; is taken from project's tox.ini. - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (invoke "python" "./pathos/tests/__main__.py"))))))) - (native-inputs - (list python-setuptools-next)) - (propagated-inputs - (list python-dill - python-multiprocess - python-pox - python-ppft)) - (home-page "https://pypi.org/project/pathos/") - (synopsis - "Parallel graph management and execution in heterogeneous computing") - (description - "Python-pathos is a framework for heterogeneous computing. It provides a -consistent high-level interface for configuring and launching parallel -computations across heterogeneous resources. Python-pathos provides -configurable launchers for parallel and distributed computing, where each -launcher contains the syntactic logic to configure and launch jobs in an -execution environment.") - (license license:bsd-3))) - (define-public python-flit (package (name "python-flit")