GNU bug report logs - #38652
[PATCH] gnu: Add python-pathos.

Previous Next

Package: guix-patches;

Reported by: mpatras <madalinionel.patrascu <at> mdc-berlin.de>

Date: Tue, 17 Dec 2019 17:23:01 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>
Cc: 38652 <at> debbugs.gnu.org
Subject: [bug#38652] [PATCH 5/5] gnu: Add python-pathos.
Date: Thu, 19 Dec 2019 00:00:35 +0100
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





This bug report was last modified 5 years and 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.