From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53896) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihiJU-0001V2-89 for guix-patches@gnu.org; Wed, 18 Dec 2019 18:01:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihiJS-0006Dc-IY for guix-patches@gnu.org; Wed, 18 Dec 2019 18:01:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihiJS-0006D8-4l for guix-patches@gnu.org; Wed, 18 Dec 2019 18:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihiJS-0005ZS-3E for guix-patches@gnu.org; Wed, 18 Dec 2019 18:01:02 -0500 Subject: [bug#38652] [PATCH 5/5] gnu: Add python-pathos. Resent-Message-ID: References: <20191217172437.21217-1-madalinionel.patrascu@mdc-berlin.de> <20191217172437.21217-5-madalinionel.patrascu@mdc-berlin.de> From: Ricardo Wurmus In-reply-to: <20191217172437.21217-5-madalinionel.patrascu@mdc-berlin.de> Date: Thu, 19 Dec 2019 00:00:35 +0100 Message-ID: <87mubpqlws.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Cc: 38652@debbugs.gnu.org Hi M=C4=83d=C4=83lin, > * gnu/packages/python-xyz.scm (python-pathos, python2-pathos): New variab= les. I can=E2=80=99t 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 com= puting") (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 conta= ins the syntactic logic to configure and launch jobs in an execution environment.") (license license:bsd-3))) --8<---------------cut here---------------end--------------->8--- =E2=80=A6but 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. --=20 Ricardo