From patchwork Sat Aug 5 13:31:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 52548 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C475227BBEA; Sat, 5 Aug 2023 14:33:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BFD4727BBE2 for ; Sat, 5 Aug 2023 14:33:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSHOz-0000c0-Sd; Sat, 05 Aug 2023 09:33:05 -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 1qSHOx-0000ae-KQ for guix-patches@gnu.org; Sat, 05 Aug 2023 09:33:03 -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 1qSHOx-00068H-CF for guix-patches@gnu.org; Sat, 05 Aug 2023 09:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSHOx-0006TQ-8K for guix-patches@gnu.org; Sat, 05 Aug 2023 09:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65096] [PATCH 09/10] gnu: Add python-chaospy. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 13:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65096@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 65096-submit@debbugs.gnu.org id=B65096.169124234024789 (code B ref 65096); Sat, 05 Aug 2023 13:33:03 +0000 Received: (at 65096) by debbugs.gnu.org; 5 Aug 2023 13:32:20 +0000 Received: from localhost ([127.0.0.1]:56229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHOF-0006Rl-J7 for submit@debbugs.gnu.org; Sat, 05 Aug 2023 09:32:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHOD-0006RE-N8 for 65096@debbugs.gnu.org; Sat, 05 Aug 2023 09:32:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2D4BE240101 for <65096@debbugs.gnu.org>; Sat, 5 Aug 2023 15:32:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691242332; bh=2X5J32XYu+XGTC2OtArPwq/XAV8+rCGi2Q801wWfU3M=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=qmBCKIjW13iAKj86i6RlMv1z1NkFoCrFBJPK6dL/kckXyNWHIKbpF/0Unbgl1LnRA JNapg6my2hvoNNA15fqIMydclS5SUAtWJtHKHa7ch4kadbJ6BZhA/mTnpKJiiE1xAf f3Z1gEYHpHMm69QIn42j9+lWmsC/PhcXUzlmeF5XgGdWjN5uJ0h+tP3sTztqekaoWb Sru4TFwup8nbZAYyQ5Cj0Zv7NC0SzXuGfWwhfgOBmIQJSf2mcVs2PsWIy42q5imxUq rYUI/VoacC/wEM68V8KtxFAJ27WAHBTKKa6/XMLeTMI10WP1jHkMCjWnfAFhX35klk QD/lM5P1Maelg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RJ3Qz2lmYz6ty3; Sat, 5 Aug 2023 15:32:11 +0200 (CEST) From: Vinicius Monego Date: Sat, 5 Aug 2023 13:31:22 +0000 Message-Id: <20230805133123.1128243-9-monego@posteo.net> In-Reply-To: <20230805133123.1128243-1-monego@posteo.net> References: <20230805133123.1128243-1-monego@posteo.net> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/statistics.scm (python-chaospy): New variable. --- gnu/packages/statistics.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index dc620b13a1..2aecd5b8e3 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2231,6 +2231,32 @@ (define-public python-pymc inference (VI) algorithms.") (license license:asl2.0))) +(define-public python-chaospy + (package + (name "python-chaospy") + (version "4.3.13") + (source (origin ;; PyPI misses Pytest fixtures. + (method git-fetch) + (uri (git-reference + (url "https://github.com/jonathf/chaospy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bn4jmwygs5h0dskbniivj20qblgm75pyi9hcjf47r25kawd730m")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-importlib-metadata python-numpoly + python-numpy python-scipy)) + (native-inputs (list python-pytest python-scikit-learn)) + (home-page "https://chaospy.readthedocs.io/en/master/") + (synopsis "Numerical tool for performing uncertainty quantification") + (description "Chaospy is a numerical toolbox for performing uncertainty +quantification using polynomial chaos expansions, advanced Monte Carlo +methods implemented in Python. It also include a full suite of tools for +doing low-discrepancy sampling, quadrature creation, polynomial manipulations, +and a lot more.") + (license license:expat))) + (define-public python-patsy (package (name "python-patsy")