diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-13 10:51:09 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-13 12:48:56 +0100 |
| commit | 72077d089b166376e267779e420541bd3aac802a (patch) | |
| tree | ee8eb5f94a109076e31ae3c2438f134a9aca0c6d /gnu/packages/python-xyz.scm | |
| parent | 17a4776113a2d67d16f2d9d74db1f6deece51c2e (diff) | |
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 <tests?>, adjust custom check steps.
[native-inputs]: Remove python-pytest; add python-setuptools-next.
[description]: Fix fill-column indentation.
Change-Id: Idb3abe5f5f077f301157443d049afc3d21aae360
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f877728535..ccd053e9fc 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 |
