From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +FAbMvChgmSrOwAASxT56A (envelope-from ) for ; Fri, 09 Jun 2023 05:52:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ypEwMvChgmT6cAAA9RJhRA (envelope-from ) for ; Fri, 09 Jun 2023 05:52:16 +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 8E39E1622D for ; Fri, 9 Jun 2023 05:52:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7TAS-0001wq-17; Thu, 08 Jun 2023 23:52:04 -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 1q7TAQ-0001wd-P4 for guix-patches@gnu.org; Thu, 08 Jun 2023 23:52:02 -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 1q7TAQ-00078v-GL for guix-patches@gnu.org; Thu, 08 Jun 2023 23:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7TAQ-0008Jv-CI for guix-patches@gnu.org; Thu, 08 Jun 2023 23:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63619] [PATCH v2 9/9] gnu: Add python-pymc. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jun 2023 03:52: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.168628266631917 (code B ref 63619); Fri, 09 Jun 2023 03:52:02 +0000 Received: (at 63619) by debbugs.gnu.org; 9 Jun 2023 03:51:06 +0000 Received: from localhost ([127.0.0.1]:58040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7T9V-0008Ij-RN for submit@debbugs.gnu.org; Thu, 08 Jun 2023 23:51:06 -0400 Received: from mout01.posteo.de ([185.67.36.65]:43609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7T9U-0008H7-3t for 63619@debbugs.gnu.org; Thu, 08 Jun 2023 23:51:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 94D83240027 for <63619@debbugs.gnu.org>; Fri, 9 Jun 2023 05:50:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686282658; bh=QRqR+HvFXZptWEUof+n66vfq2coFxUJH7TttYFk9Btc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=TaCkkJGrc0sp+EOV6r8ff2Z8+i0UDIT8ETz3zR5Hu0I8V4VKHfCKqP2WEFp7SFJWy +yHu1nVAxfSkrlX9Pw9v854XRCWisi3/tgaYMcSKMWOA30PF38gzeG5pydWGH18dCV XAKjPTaWtxCtM9ARc9PKcH6WckeJAhTjt8NM3ndBDQGvcuuQT+olrZ+FIZ1s0oybm4 O0hI2+NHGwQ8zYHQAZOir4MLUtKER9UkQ4v4+5hSYz0WOnVx++0LmHTtGxUkRkK34k bXjrLRhmnMF0hggMF2uTsQD9WPyMQpodanhg0s9rS2KRKy/XVlG1OLkhkTG3ta6PRD /JK4W0B7QD5+g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QcnDd1TbNz6tmv; Fri, 9 Jun 2023 05:50:56 +0200 (CEST) From: Vinicius Monego Date: Fri, 9 Jun 2023 03:49:41 +0000 Message-Id: <20230609034941.1807600-9-monego@posteo.net> In-Reply-To: <20230609034941.1807600-1-monego@posteo.net> References: <20230609034941.1807600-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=1686282736; a=rsa-sha256; cv=none; b=UlUdfvXXv0fVYy67ofN3Y6AKrDscngw9+0zq7tnGh3fSEdo8Np+IXUDieUmxoIEeADrKN+ Jmi6wQuoCnkSKJGptfDE+JU0oT/BgZlZkC0pgL+6SXwXfCwzxCfE8gFJmAYDJIUZ5lPk64 gcscHf1wjyVVvj9DVoaQ9tRqAZWUREO3RTD77P0q2kBgqOFhu1Jqrnalcyvfg/jhp+WnXZ bHWJinQhbtqQTggBDCu4E9oNyHj3nnDYJU6XZl1lnjZAUY2wgs/wgDZJiIUayI1uOvVowO 0ns3tNLOp45mtQ4MTvjSEqIjr0rdiyJZSikeIDZ2xAWCwVuLyGzP2vK+phjE0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=TaCkkJGr; 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=1686282736; 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=K+YXm+Od3hnh7fAhRS9LHYExw7oFw3flRwLFYMym4uY=; b=ElXBAwhn8vf1+ktLQNGF7vHRrHg6uiRlltumAdqpRpftmdxUVbftMcdXJHrse7ggnd+yrI vQhEvrNAym3dMDkLmw4yRWSidzw+o2Ars0VTxe6mCETahoSDISCwwEokXUMER+NpxN4xhO TVnWqsF6fQzf98Y/xPNC5PCfmwcdaE075I2GM5sBmxa9CtaDSXjP2e2u6IIoISt65jTPX+ GBY5TYnIWxIhcRhpl1eplKr8ZwOQTSc+N8V87nPsn05alGoMvn8qqgrThDrVMEPIYfoZzW MkXIt4f4Q718Bj/eYe/JnJsGfAbF2YHvtLnVMwlOfOrGBWvf+Oy70Ruwe0zOzw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=TaCkkJGr; 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-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -0.41 X-Spam-Score: -0.41 X-Migadu-Queue-Id: 8E39E1622D X-TUID: /2kBosip0H6L * gnu/packages/statistics.scm (python-pymc): New variable. --- gnu/packages/statistics.scm | 57 +++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 0a2ca7ced2..c2dbfbb64a 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2193,6 +2193,63 @@ (define-public python-arviz comparison and diagnostics.") (license license:asl2.0))) +(define-public python-pymc + (package + (name "python-pymc") + (version "5.4.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 + "1ihx4r7z2lllcakl63dfgskhyk6kns5qp6fi1xf9bhzdy1wbwfls")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f ; tests are too computationally intensive + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'versioneer + (lambda _ + (with-output-to-file "setup.cfg" + (lambda () + (display "\ +[versioneer] +VCS = git +style = pep440 +versionfile_source = pymc/_version.py +versionfile_build = pymc/_version.py +tag_prefix = +parentdir_prefix = pymc- +"))) + (invoke "versioneer" "install") + (substitute* "setup.py" + (("versioneer.get_version\\(\\)") + (string-append "\"" #$version "\""))))) + ;; To create the compiledir for tests. + (add-before 'check 'write-permissions + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "HOME" "/tmp"))))))) + (native-inputs (list python-pytest-cov python-versioneer)) + (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