From 72077d089b166376e267779e420541bd3aac802a Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 13 Aug 2025 10:51:09 +0100 Subject: gnu: python-pathos: Update to 0.3.4. * gnu/packages/python-xyz.scm (python-pathos): Update to 0.3.4. Use G-Expressions. [build-system]: Use pyproject. [phases]{check}: Respect , adjust custom check steps. [native-inputs]: Remove python-pytest; add python-setuptools-next. [description]: Fix fill-column indentation. Change-Id: Idb3abe5f5f077f301157443d049afc3d21aae360 --- gnu/packages/python-xyz.scm | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f8777285358..ccd053e9fce 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32202,34 +32202,41 @@ essential tools are located.") (define-public python-pathos (package (name "python-pathos") - (version "0.2.5") + (version "0.3.4") (source (origin (method url-fetch) (uri (pypi-uri "pathos" version)) (sha256 - (base32 - "0in8hxdz7k081ijn6q94gr39ycy7363sx4zysmbwyvd7snqjrbi1")))) - (build-system python-build-system) + (base32 "0m077iw5fml4r7csgi4j7ngvdmg1y9jxly64gi56argq1qnr3m5s")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "python" "./tests/__main__.py")))))) - (propagated-inputs - (list python-dill python-multiprocess python-pox python-ppft)) + (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-pytest)) + (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.") +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 -- cgit v1.3