From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 WIP0DNChgmQo3gAASxT56A (envelope-from ) for ; Fri, 09 Jun 2023 05:51:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OHsYDNChgmSrVwEAG6o9tA (envelope-from ) for ; Fri, 09 Jun 2023 05:51:44 +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 01DF028BD2 for ; Fri, 9 Jun 2023 05:51:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7T9V-0001Hi-TE; Thu, 08 Jun 2023 23:51: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 1q7T9U-0001GF-IA for guix-patches@gnu.org; Thu, 08 Jun 2023 23:51:04 -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 1q7T9U-0006yf-68 for guix-patches@gnu.org; Thu, 08 Jun 2023 23:51:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7T9U-0008I7-0z for guix-patches@gnu.org; Thu, 08 Jun 2023 23:51:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63619] [PATCH v2 6/9] gnu: Add python-arviz. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jun 2023 03:51:03 +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.168628265331790 (code B ref 63619); Fri, 09 Jun 2023 03:51:03 +0000 Received: (at 63619) by debbugs.gnu.org; 9 Jun 2023 03:50:53 +0000 Received: from localhost ([127.0.0.1]:58020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7T9I-0008Gg-K5 for submit@debbugs.gnu.org; Thu, 08 Jun 2023 23:50:52 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7T9G-0008GD-9u for 63619@debbugs.gnu.org; Thu, 08 Jun 2023 23:50:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C3759240101 for <63619@debbugs.gnu.org>; Fri, 9 Jun 2023 05:50:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686282644; bh=q4da8FepNVI2WVzhLfhQCkD2/njCbYqQ3DtTyN4JOmo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=mzVki8J5TFIE6DZa6ni7wt5wkJgEXROsl+jCrnK+er+AVdGSG155Pppnf+T3IS6AT nn105qrXuBHy5dUd5BiB98m9apc0RKNhZe+Yp3pm0ChyuHxmYZarRuVoFeme5L8h2d nTahZ8SW6o5mmxxdw9HSk16hTGsqC4ztoUGLu1ZrZ68rpX6y3xwghOBQRBwxhoymf9 T94T4JfSlphWGv96By5MP9vm9IV02QvwptR3qq3g+jIkY0PUKemWSUhVMxToucGQfg ru2rTKfKuc8O9l+a9bL6zG9i067r1fx1C5O5Q96aGs9v+suMYiT0t+ZwIfILYWnYjv wWE1Sf3npJ0BQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QcnDM45Vzz6tvw; Fri, 9 Jun 2023 05:50:43 +0200 (CEST) From: Vinicius Monego Date: Fri, 9 Jun 2023 03:49:38 +0000 Message-Id: <20230609034941.1807600-6-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=1686282704; a=rsa-sha256; cv=none; b=Ofxk1mai/TAYoYAJOD134pFaOdSZVnaKIAE2OlSWjT1M9X7vRFv714+fgHKcBJRzcyjJh+ UQKIA773BO406bio9HyzL5L8Bl5WiCOau7rLoPqMB7xHao5nLTsddUsg4/wms1cWOiS0EH NMZa3niE6V5pt+oAbokdWTZsEPflGNsDSQ61Xso3xC3wEl7ywgE201kjzUZtBO4M8DolGc xiMjyxPhmWTsst9Uemg1ciWC9trBHbdLvVLE8LR1sEq9W8Fw+YY8+7sOThH24X6stSiuht ZE8uSpl0MRtHI1VTp8lvxLI5MPQc50pdmj8LcTTyR51LCnAGP0OQuL4xlV0Z9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mzVki8J5; 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=1686282704; 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=vg+AxTEolO59TDzNh/EBP5Do9weS7X+iqsSRYFKjgyo=; b=ccGkCI9SoL+KeiLxM+Wa9xQAwIUQ4y+aS31Xg43tkznaxe8FBVfj1aw9IJx10SwUou9AON k2wTSrBJFWnAz0q1Bp3CJrkGmK2qMUYgpW64P9PyFIc0JrZLAwTppuyVhtzDRlsR8hdz8c XZ0F63ftXneYsyaIaD5Gtnx/o/jt5CjV0daXruNPRxSyv1jPSeX0I77ItDWRUMW+YKAikn BM68LnHlKsicNpf0/F7Tb7zGXynnDzevpgBlBuOKvb/4eUAQYO1gJNr6DKX9WsbVRbKAGi +eEmyOj6MMMnjxwRC9e+2S3yvwNSA+NWonl0AhVh5ZMRWY+afijZ7Xj8nmlR4A== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mzVki8J5; 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: 01DF028BD2 X-TUID: 7WBaB4lTyDtp * gnu/packages/statistics.scm (python-arviz): New variable. --- gnu/packages/statistics.scm | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 4952e16384..0a2ca7ced2 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2152,6 +2152,47 @@ (define-public python-hdmedians machine learning, computer vision, and high-dimensional statistics.") (license license:asl2.0))) +(define-public python-arviz + (package + (name "python-arviz") + (version "0.15.1") + (source (origin + (method git-fetch) ; PyPI misses some test files + (uri (git-reference + (url "https://github.com/arviz-devs/arviz") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nqr4v927r9kc50z7rwlk2m8nw3dnnmmwmwcfijzd93gbg53wc4f")))) + (build-system pyproject-build-system) + (arguments + ;; FIXME: matplotlib tests fail because of the "--save" test flag. + (list #:test-flags #~'("--ignore" + "arviz/tests/base_tests/test_plots_matplotlib.py") + #:phases #~(modify-phases %standard-phases + (add-before 'check 'write-permission + (lambda _ + ;; 3 tests require write permission. + (setenv "HOME" "/tmp")))))) + (native-inputs (list python-cloudpickle python-pytest)) + (propagated-inputs (list python-h5netcdf + python-matplotlib + python-numpy + python-packaging + python-pandas + python-scipy + python-typing-extensions + python-xarray + python-xarray-einstats)) + (home-page "https://github.com/arviz-devs/arviz") + (synopsis "Exploratory analysis of Bayesian models") + (description + "ArviZ is a Python package for exploratory analysis of Bayesian models. +It includes functions for posterior analysis, data storage, model checking, +comparison and diagnostics.") + (license license:asl2.0))) + (define-public python-patsy (package (name "python-patsy") -- 2.34.1