unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
Cc: 38652@debbugs.gnu.org
Subject: [bug#38652] [PATCH 5/5] gnu: Add python-pathos.
Date: Thu, 19 Dec 2019 00:00:35 +0100	[thread overview]
Message-ID: <87mubpqlws.fsf@elephly.net> (raw)
In-Reply-To: <20191217172437.21217-5-madalinionel.patrascu@mdc-berlin.de>


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

  reply	other threads:[~2019-12-18 23:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-17 17:22 [bug#38652] (no subject) mpatras
2019-12-17 17:24 ` [bug#38652] [PATCH 1/5] gnu: python-dill: Update to 0.3.1.1 Mădălin Ionel Patrașcu
2019-12-17 17:24   ` [bug#38652] [PATCH 2/5] gnu: python-multiprocess: Update to 0.70.9 Mădălin Ionel Patrașcu
2019-12-17 17:24   ` [bug#38652] [PATCH 3/5] gnu: Add python-ppft Mădălin Ionel Patrașcu
2019-12-18 16:28     ` Ricardo Wurmus
2019-12-17 17:24   ` [bug#38652] [PATCH 4/5] gnu: Add python-pox Mădălin Ionel Patrașcu
2019-12-17 17:24   ` [bug#38652] [PATCH 5/5] gnu: Add python-pathos Mădălin Ionel Patrașcu
2019-12-18 23:00     ` Ricardo Wurmus [this message]
2019-12-19  7:31     ` Efraim Flashner
2019-12-26  7:40     ` bug#38652: " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mubpqlws.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=38652@debbugs.gnu.org \
    --cc=madalinionel.patrascu@mdc-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).