[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38652] [PATCH 5/5] gnu: Add python-pathos.
From: |
Ricardo Wurmus |
Subject: |
[bug#38652] [PATCH 5/5] gnu: Add python-pathos. |
Date: |
Thu, 19 Dec 2019 00:00:35 +0100 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
Hi Mădălin,
> * gnu/packages/python-xyz.scm (python-pathos, python2-pathos): New variables.
I can’t seem to get the tests to run. I tried this:
--8<---------------cut here---------------start------------->8---
(define-public python-pathos
(package
(name "python-pathos")
(version "0.2.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pathos" version))
(sha256
(base32
"0in8hxdz7k081ijn6q94gr39ycy7363sx4zysmbwyvd7snqjrbi1"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "py.test" "-vvv" "tests")
#t)))))
(propagated-inputs
`(("python-dill" ,python-dill)
("python-multiprocess" ,python-multiprocess)
("python-pox" ,python-pox)
("python-ppft" ,python-ppft)))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://pypi.org/project/pathos/")
(synopsis "Parallel graph management and execution in heterogeneous
computing")
(description
"Pathos is a framework for heterogenous computing. It provides a
consistent high-level interface for configuring and launching parallel
computations across heterogenous resources. 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)))
--8<---------------cut here---------------end--------------->8---
…but after collecting 15 tests it just hangs, doing nothing.
> +(define-public python2-pathos
> + (package-with-python2 python-pathos))
If you define a Python 2 variant you should also define Python 2
variants for all its inputs.
--
Ricardo