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 yAocNNuhgmQErQAASxT56A (envelope-from ) for ; Fri, 09 Jun 2023 05:51:55 +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 YLAfNNuhgmRQewEAauVa8A (envelope-from ) for ; Fri, 09 Jun 2023 05:51:55 +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 9A42328ADC for ; Fri, 9 Jun 2023 05:51:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7T9V-0001HF-Ck; 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 1q7T9T-0001Fb-3U for guix-patches@gnu.org; Thu, 08 Jun 2023 23:51: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 1q7T9S-0006y3-R8 for guix-patches@gnu.org; Thu, 08 Jun 2023 23:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7T9S-0008He-Bv for guix-patches@gnu.org; Thu, 08 Jun 2023 23:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63619] [PATCH v2 2/9] gnu: Add python-altair. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jun 2023 03:51: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.168628262231703 (code B ref 63619); Fri, 09 Jun 2023 03:51:02 +0000 Received: (at 63619) by debbugs.gnu.org; 9 Jun 2023 03:50:22 +0000 Received: from localhost ([127.0.0.1]:58004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7T8o-0008FH-D4 for submit@debbugs.gnu.org; Thu, 08 Jun 2023 23:50:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7T8m-0008Ev-D9 for 63619@debbugs.gnu.org; Thu, 08 Jun 2023 23:50:21 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DC73F240101 for <63619@debbugs.gnu.org>; Fri, 9 Jun 2023 05:50:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686282614; bh=8s9uKm4HizTJq5exlMUJnjiVNxbQK20HkAUyoiYPWkY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=PEwugOaIiN5ukSkEBFpAwH7ZeorxYXGYaBOCYGDwiFUzMspTamU36Cmda/YkzjEC5 mhyNKP2mdVaY90/7jK5RvtXf9fK0IPQvJIyQjxkHckmPQ/YGhke3Xji520XtctykkO H+z52KS+fvWCojzG6wFw3CSL+WCI9d5JwziC6VhAtO2W4960FK/o/QtXPwJYsdolmL d734LWEKYtQuMq9ZJKS7NDFpauFcUaop4hUhNL++lA1amoIq+lKh/+Xp/HVgVM/RmX KymuYYrjhfn0qHzdMkxeqhwIxGmJqKmOyBLp3gdtUyS6vQHI7n2beQ7CeSpMbjC6sX wSBySYqxip8uw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QcnCn48gMz6twj; Fri, 9 Jun 2023 05:50:13 +0200 (CEST) From: Vinicius Monego Date: Fri, 9 Jun 2023 03:49:34 +0000 Message-Id: <20230609034941.1807600-2-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=1686282715; a=rsa-sha256; cv=none; b=Hr++gXfj+XJKK39o4OnOyGeSdsQoSwS2Fr9mhOj+a4W9LlzQcssO7w4Y64LZrAUBiYritb Uwvc6i7srxDNS4EYf0Gfrk/xrxhgD3Qe57SZ8yPRHwN8ftdQTIGMb6UGRKxS45VQX9dxDL Q5125sWpnbJsq6V3BfENXm5Fss1lt6ljzRCzfAYOCslD4h/1zfMGecvsd+m/vHaWn3AHzH /S9w52hFxYQJAiBY1HdQxU6ZtKkVY9ytN5ZmmiPfpNlUuDU1G2yWvt40OXtqAOPXwYGpWx q8Lf+p29XMqkP1e8tJB0vhD+NFLIepkOyYdpldL2FvtZ7zmXKa+fT52qthoySg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PEwugOaI; 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=1686282715; 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=Ap36jljUE2eIxFTWdwggWak0NZZFf2NCT+NXDDMZ9R0=; b=FW2+BVm0qjOJcpKSliO4W0Wf3yY+wJRhDW/6heCkiA5eSSIQ2xPIekxmDNOuAJZJ921Eov twT+/nXUhRTFQlyJwvO+sGWujKLBxSIwBDjHzE3s0UcSscXVi2RBDy0YCK/zTyLWbkvOZ5 kYNpuwA2DyrUO91pksuc6oHFb+LE71XmgWSWJXIduQt4U4k0hdPAvWWseYef4tX9wYck+F iJlIYq4rDVqwQojs3/7/I7fx2/LNnfF34l2cy51kR4HYufYwHNNolO/RyEZOBYtxnVZadt 0Au1MacCZBj+lzq0MVj5oN71Vs/VMyFFp/HoqpsJgYcHO0qg0cbuSANuTF/GDQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PEwugOaI; 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: 9A42328ADC X-TUID: vTFfQaepcrwj * gnu/packages/statistics.scm (python-altair): 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 7f6dae1d67..4952e16384 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -85,6 +85,7 @@ (define-module (gnu packages statistics) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-science) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) @@ -2082,6 +2083,45 @@ (define-public python-vega-datasets and Vega-Lite examples.") (license license:expat))) +(define-public python-altair + (package + (name "python-altair") + (version "5.0.1") + (source (origin + (method git-fetch) ; no tests in PyPI + (uri (git-reference + (url "https://github.com/altair-viz/altair") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1r74v5n51br9pjhxdzrr62cdgnwkapci93aifnl8dqmfpizfpd7d")))) + (build-system pyproject-build-system) + (arguments + ;; First two open an external connection. + ;; Last introduces a circular dependency on altair-viewer. + (list #:test-flags #~(list "-k" (string-append + "not test_from_and_to_json_roundtrip" + " and not test_render_examples_to_chart" + " and not test_save_html")))) + (propagated-inputs (list python-jinja2 + python-jsonschema + python-numpy + python-pandas + python-toolz + python-typing-extensions)) + (native-inputs (list python-black + python-hatchling + python-ipython + python-m2r + python-pytest + python-vega-datasets)) + (home-page "https://altair-viz.github.io/") + (synopsis "Declarative statistical visualization library for Python") + (description + "Vega-Altair is a declarative statistical visualization library for Python.") + (license license:expat))) + (define-public python-hdmedians (package (name "python-hdmedians") -- 2.34.1