From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8OByOY1UaWTlKAEASxT56A (envelope-from ) for ; Sun, 21 May 2023 01:15:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CBwqOY1UaWROAwEAauVa8A (envelope-from ) for ; Sun, 21 May 2023 01:15:25 +0200 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 BDF98D58 for ; Sun, 21 May 2023 01:15:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0Vn9-0008Bu-LU; Sat, 20 May 2023 19:15:16 -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 1q0Vmx-0008AS-1R for guix-patches@gnu.org; Sat, 20 May 2023 19:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0Vmw-0002kB-PG for guix-patches@gnu.org; Sat, 20 May 2023 19:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0Vmw-0000cr-KD for guix-patches@gnu.org; Sat, 20 May 2023 19:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63619] [PATCH 9/9] gnu: Add python-pymc. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 May 2023 23:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63619@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 63619-submit@debbugs.gnu.org id=B63619.16846244572230 (code B ref 63619); Sat, 20 May 2023 23:15:02 +0000 Received: (at 63619) by debbugs.gnu.org; 20 May 2023 23:14:17 +0000 Received: from localhost ([127.0.0.1]:59577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0VmC-0000Zu-Pi for submit@debbugs.gnu.org; Sat, 20 May 2023 19:14:17 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0VmA-0000Za-Cq for 63619@debbugs.gnu.org; Sat, 20 May 2023 19:14:14 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DC7E3240027 for <63619@debbugs.gnu.org>; Sun, 21 May 2023 01:14:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684624448; bh=3SiXQeUS64hez9/PvwjBy8GsmNvW9gdwrL8AoR33znQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=NVshdcVcBH9S/sH58X39x8hYtosD/g61/dGYd0n9hnc3RYqIzkLLAa05zytf0NykS /PN6bBASYZP/tMlPjIf0M1N6KDG9Y1NYBAaHTSWCYaHqDU3MeoQpgBIzEtD6+yCeAE 0HodhyIcZuCWoj5xxeYpPGBNBe+1E/xgINhA3aRzWtXsWC5K8+DTlevX1IebX1aAIk LrIQ0Hbe1B8JT9X0VsHjWWTrqXBzBthgHOsnS+qIE49/8/ovIjr/Ossv7wPNQB4ZCO ntTUPn4P8FX1IDIXwOwQvW58y3gjOf9kiiJi0wC0PZ7tT+2x70jkvfmsMxHuNK6xWX bff6Dq+TKKk7Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QNzzz0dGwz6tx1; Sun, 21 May 2023 01:14:06 +0200 (CEST) From: Vinicius Monego Date: Sat, 20 May 2023 23:12:41 +0000 Message-Id: <20230520231241.962799-9-monego@posteo.net> In-Reply-To: <20230520231241.962799-1-monego@posteo.net> References: <20230520231241.962799-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684624525; a=rsa-sha256; cv=none; b=fy1XeqdYfBIGrGMH5yye9kLaCM2ErWJ8gEvQ9u6BOA7B8QyTX8n3YMefiVp96bp9v6+PRE LfXImRKDe6RrWnfgWMu5+1Zuof4nians2pk+Nq1/1Jny0HdD58Ln0iZr03vGd1K8RIFvdP K1q/Uxoqqr4UfcPMl+76p7r5HFeIrRH5iH9FfFHQ8IyFfZxpVGh45sfqUyzhubQETA9FtO hzITEQv6jEEMXARVCwplek3rt617YpTSVWvJGAQ9xMyZU4m1GddKdI1gQezWdmzEnp7pnt 0AAgjPOCmZi8hAsM9zyFuUuelfMrYlt0A5a66dRf+5VVH4xAi2LiyrlRDrR5ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=NVshdcVc; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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=1684624525; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=ZzCTxMC4F3Ik7EWNa9vCkxPV/h+sfxYLopnkyy7q85o=; b=cicZsg9dDZip6iQaaISmztPJRCAjZlPIUzfw25OKApxuEAl/2bwPF64EVznogvbxgKhrde uOfCEaXz4X1//FM9kTLbibkTOHM73qNPubthnbn4Xa7MbAvs5cCDGdYNcaMiZsW6rv1NPY gBCt13Umpjzb16mkSIP9mjkCS5ikWqFnwglKJDjEFEy1JR18BU1H27uxuX0MVmcgchO45I vbuCVY22zTr20OlCm8fKg9HGOjKcq/lA9Fr4hHQZKN0UJn4V0cV3oRJcrKGm3MhRqEiUxP GlVMMMNJx2qNUtIm5hG9bJwJ944VL1yXgoIbW2RcmeCM0WwQy+kQC+GGr7kFGg== X-Migadu-Spam-Score: 0.19 X-Spam-Score: 0.19 X-Migadu-Queue-Id: BDF98D58 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=NVshdcVc; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" X-TUID: +eupT+WDIBI+ * gnu/packages/statistics.scm (python-pymc): New variable. --- gnu/packages/statistics.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index c39cf9c0ac..4aac3369ad 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2192,6 +2192,46 @@ (define-public python-arviz comparison and diagnostics.") (license license:asl2.0))) +(define-public python-pymc + (package + (name "python-pymc") + (version "5.3.1") + (source (origin + (method git-fetch) ; no tests in PyPI + (uri (git-reference + (url "https://github.com/pymc-devs/pymc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1295b0d1zgnpy2hgm0i9jhnnqgzkya7cwcyhq45fdrz65mi9b65h")))) + (build-system pyproject-build-system) + (arguments + ;; Tests are computationally intensive and around 130 tests out of ~2800 + ;; fail due to a missing .cc file in PyTensor. + (list #:tests? #f + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'write-permissions + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs (list python-pytest-cov)) + (propagated-inputs (list python-arviz + python-cachetools + python-cloudpickle + python-fastprogress + python-numpy + python-pandas + python-pytensor + python-scipy + python-typing-extensions)) + (home-page "https://github.com/pymc-devs/pymc") + (synopsis "Library for probabilistic programming in Python") + (description + "PyMC (formerly PyMC3) is a Python package for Bayesian +statistical modeling focusing on advanced Markov chain Monte Carlo (MCMC) and +variational inference (VI) algorithms.") + (license license:asl2.0))) + (define-public python-patsy (package (name "python-patsy") -- 2.34.1