From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id oKHTOgusHWZTKwEA62LTzQ:P1 (envelope-from ) for ; Tue, 16 Apr 2024 00:37:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oKHTOgusHWZTKwEA62LTzQ (envelope-from ) for ; Tue, 16 Apr 2024 00:37:00 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713220619; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=wnqoHSNLZc6lCiW+OPdlmiiHlBMf3PuJ4whaumrU0Gc=; b=XJsXPAQ2UuUV9Hyv66FCUHRLNbpzIPpGie8/4GK0fMEyDchWcohuN6J3aR9kTKO06PBkkt yd8VvCFf3sjYmOG219HQB9EqtQZgQteW3hQnQNaCf0/AItOgsqC/+sTS3FLdG5PejcgPm0 LdPLFuhx5ceS/GW25IQHK6GnKaF5Pb9TD/V4gfkS0hZx33m09WDGNJRKQ5Rnokgv4JyaCY IkrAy2UbMNDTb6yJuilIl9wL5YnRz7UcXwN3Mbtg/+xkHFqx68RatN0FziHcA8twEj2iLZ XUbRKeEWjHGgFK9PwOz0G+WkfSfdneBsxeNbgo6dG74EyAvSvSLZEUg6gio6pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713220619; a=rsa-sha256; cv=none; b=iQpfbX2GhL5rDDyVra+ycabY8NmK3fZtlx1oxwFGWdIrllqR1NG1whpkq0uB3O9hqFGjCZ /jPLOYf3ujjw7MpcFfh2Di+ZN05/MGjETTJf6qPiIMtN0K5aEH72gdk7eYMudTfICwj6yy /eOYAUsFRedvaYCWoWCCZPBQ620eHVUzE8LDK0o98xsv/oxG2JVEqxXEilFQ3koaRkVTgI wRQSF9EUNGril5BPb4AKRnO5hhrieI8yK0Kd1M0TJgHHEN3Vp8EQ+EPMNdkfUIzI2r6UQ2 APc/xctd0VZSwRsN91Ib77SL8C3t2O4n+HvLcsw3tJrb4IumndWJ14fGiWhejQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9FA6677755 for ; Tue, 16 Apr 2024 00:36:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwUwY-0008O3-7i; Mon, 15 Apr 2024 18:36:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwUwW-0008Nk-7O for guix-patches@gnu.org; Mon, 15 Apr 2024 18:36:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rwUwV-0007JT-VZ for guix-patches@gnu.org; Mon, 15 Apr 2024 18:36:51 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwUwh-0006YX-Ri for guix-patches@gnu.org; Mon, 15 Apr 2024 18:37:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70336] [PATCH] gnu: Add python-libensemble. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Apr 2024 22:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70336 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vinicius Monego , 70336@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 70336-submit@debbugs.gnu.org id=B70336.171322057224795 (code B ref 70336); Mon, 15 Apr 2024 22:37:03 +0000 Received: (at 70336) by debbugs.gnu.org; 15 Apr 2024 22:36:12 +0000 Received: from localhost ([127.0.0.1]:40036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwUvq-0006Rh-RO for submit@debbugs.gnu.org; Mon, 15 Apr 2024 18:36:12 -0400 Received: from 6.mo575.mail-out.ovh.net ([46.105.63.100]:45585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwUvn-0006Qo-9F for 70336@debbugs.gnu.org; Mon, 15 Apr 2024 18:36:09 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.176.101]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4VJMT51Y7yz1SYB for <70336@debbugs.gnu.org>; Mon, 15 Apr 2024 22:35:53 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-7zr7b (unknown [10.110.113.35]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B74C51FD35; Mon, 15 Apr 2024 22:35:52 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-6684bf9d7b-7zr7b with ESMTPSA id TV+pIMirHWYEawAA98hzmQ (envelope-from ); Mon, 15 Apr 2024 22:35:52 +0000 X-OVh-ClientIp: 81.67.146.208 In-Reply-To: <2044bf6af204b5384987458a22229cb0415a6a36.1712828385.git.monego@posteo.net> References: <2044bf6af204b5384987458a22229cb0415a6a36.1712828385.git.monego@posteo.net> Date: Tue, 16 Apr 2024 00:35:51 +0200 Message-ID: <87v84intiw.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 12378425050848420371 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudejfedgudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhephfegtdejveetvdegleeiuefgteevtdelieeguefhvdejteejjeffuedviefftdffnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddrleelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejtdeffeeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehpdhmohguvgepshhmthhpohhuth X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.87 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.87 X-Migadu-Queue-Id: 9FA6677755 X-TUID: vafynI7Pmi06 On 2024-04-11 09:42, Vinicius Monego wrote: > * gnu/packages/maths.scm (python-libensemble): New variable. > > Change-Id: I45d4ba209af746f22f3f6c74a01063726478de0f > --- > gnu/packages/maths.scm | 53 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 53 insertions(+) > > diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm > index 03760f3f3e..6f7e67329e 100644 > --- a/gnu/packages/maths.scm > +++ b/gnu/packages/maths.scm > @@ -839,6 +839,59 @@ (define-public glpk-4 > (base32 > "040sfaa9jclg2nqdh83w71sv9rc1sznpnfiripjdyr48cady50a2")))))) > > +(define-public python-libensemble > + (package > + (name "python-libensemble") > + (version "1.2.2") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "libensemble" version)) > + (sha256 > + (base32 "0y46b8rk3dnnjnap76l80cj3ddkjcic1vcl706cajac19vnk8vlk")))) > + (build-system pyproject-build-system) > + (native-inputs (list ncurses > + python-mock > + python-mpi4py > + python-pytest > + python-pytest-cov > + python-pytest-timeout)) > + (propagated-inputs (list python-numpy > + python-psutil > + python-pydantic-2 > + python-pyyaml > + python-tomli)) > + (arguments > + (list > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'unpack 'relax-psutil > + (lambda _ > + (substitute* "setup.py" > + (("psutil>=5.9.4") "psutil>=5.9.2")))) > + (replace 'check > + (lambda* (#:key tests? #:allow-other-keys) > + (when tests? > + ;; These files require MPI and call subprocesses. > + (delete-file > + "libensemble/tests/unit_tests/test_executor.py") > + (delete-file > + "libensemble/tests/unit_tests/test_executor_gpus.py") > + ;; Run only unit tests, regression tests require MPI. > + (setenv "TERM" "xterm") > + ;; A very bad way to skip another MPI test. > + (substitute* "libensemble/tests/run-tests.sh" > + (("export UNIT_TEST_MPI_SUBDIR=.*") > + "export UNIT_TEST_MPI_SUBDIR=''")) > + ;; Run the test script. > + (invoke "bash" "libensemble/tests/run-tests.sh" "-u"))))))) > + (home-page "https://github.com/Libensemble/libensemble") > + (synopsis "Toolkit for dynamic ensembles of calculations") > + (description "@code{libensemble} is a a complete toolkit for dynamic Just a little typo here (double a), otherwise LGTM. guix lint only complains on archival, but it's fine. built and rebuilt. > +ensembles of calculations. It connects @code{deciders} to experiments or > +simulations.") > + (license license:bsd-3))) > + > (define-public linasm > (package > (name "linasm") > > base-commit: 51de844a0ff6ea224367a384092896bce6848b9f -- Best regards, Nicolas Graves