From patchwork Fri Sep 6 15:25:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67674 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 CD5ED27BBEA; Fri, 6 Sep 2024 16:26:33 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 5407027BBE2 for ; Fri, 6 Sep 2024 16:26:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smaqf-0000BW-Hj; Fri, 06 Sep 2024 11:26:09 -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 1smaqb-0000Ai-F7 for guix-patches@gnu.org; Fri, 06 Sep 2024 11:26:05 -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 1smaqZ-0005Gb-M7 for guix-patches@gnu.org; Fri, 06 Sep 2024 11:26:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=mXoef88T9EjHFIqd2A7Kt7B+394PxoXP8fF+CIk2D6M=; b=sJOSJBhhOJwFlo9/OP0PnI+Duz+GsTO+/WjOxvUDZOwbE2trM7ivt8HiGeXCZPz/bQZnCwiZvdQO3Z1Lf3lGo40J5Gxs7RaUvvF9IgXMnDmatrCtdYOWYECRXbeBwXi9Fg/g13NF1Gkz5tsUVtHpb4TYFHUkEekjHSfwDPKHSltP2gbopHBOl89IvOJT5xVhXmDmL5qSJD9iQRaR2DS0jzUTkK1/RBtqof6U2poNBpC2BlTmdfGmUFPSKInH120/myZHPcy+viOVGQf3DPBtrGpEu/T5UR0lNMBlTZqsD/d+x+w66Q3+Yy0KzpfHxRPLGxAp+Y5GhFd5FiErjLd++Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smaqZ-00069k-5Q for guix-patches@gnu.org; Fri, 06 Sep 2024 11:26:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Sep 2024 15:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73070 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73070@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73070-submit@debbugs.gnu.org id=B73070.172563634423620 (code B ref 73070); Fri, 06 Sep 2024 15:26:03 +0000 Received: (at 73070) by debbugs.gnu.org; 6 Sep 2024 15:25:44 +0000 Received: from localhost ([127.0.0.1]:53887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smaqG-00068u-0d for submit@debbugs.gnu.org; Fri, 06 Sep 2024 11:25:44 -0400 Received: from 15.mo583.mail-out.ovh.net ([178.33.107.29]:43447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smaqB-00068H-Rt for 73070@debbugs.gnu.org; Fri, 06 Sep 2024 11:25:40 -0400 Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.176.203]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4X0g6B68Lnz1ScH for <73070@debbugs.gnu.org>; Fri, 6 Sep 2024 15:25:38 +0000 (UTC) Received: from ghost-submission-55b549bf7b-xn94s (unknown [10.110.118.84]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 74A101FEA5; Fri, 6 Sep 2024 15:25:38 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-55b549bf7b-xn94s with ESMTPSA id V4jZA/Ie22b5FwEA5hDZTQ (envelope-from ); Fri, 06 Sep 2024 15:25:38 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G006aec5067a-dcd2-4fb6-aaad-eddd77cad0a4, ACA35F79429F979B6FBB9EE3B4047AB5B076CDB9) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Fri, 6 Sep 2024 17:25:25 +0200 Message-ID: <20240906152532.23233-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240906152532.23233-1-ngraves@ngraves.fr> References: <20240906152532.23233-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2229844769478402786 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeiuddgledtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvleelgeeffeetleekueegvdfhtedvueffiefhkedtleejkeduveelgfdufeduleenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeeftdejtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=mXoef88T9EjHFIqd2A7Kt7B+394PxoXP8fF+CIk2D6M=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725636339; v=1; b=N5Xy7tmZ21GbL86VI6hGk8Irs71B94P2orGA57rG3jK92mZ9Hx0U2WNrqVzY8N+a2KQ4q+eR LS3aaq9UVkuglU+VsE/e9L4suycKipnwsNxjCgiQrOjI0lXm/oOLunm6fU+wIC+z6ODuZYOGae2 Rs7kiCYNz3MOLGNqtqUoAwiZXojp1uSQsuV+AjK45YxX+YbE8YpK7V67TpRKcW1BRXPaknxgkWa 4hcL+2m1rynby027AGAcCZgpxWHR7/JZdYQIXkxq/tcaWzYleNv/ydl8OtXN3staUoAYMVDbW82 Ut76IbT0yGDtnAD7YA31S4fOT3OcpSaubpUyjvmQbDCbg== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-altair): Update to 5.3.0. [arguments]<#:test-flags>: Add failing tests, reorganize. Change-Id: I695e63e5395f40997ab59706240b8b059778b0ad --- gnu/packages/statistics.scm | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index af64cbd99d..bca7b763a1 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2023 Felix Gruber ;;; Copyright © 2023 Troy Figiel ;;; Copyright © 2024 Vinicius Monego +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -2113,7 +2114,7 @@ (define-public python-vega-datasets (define-public python-altair (package (name "python-altair") - (version "5.0.1") + (version "5.3.0") (source (origin (method git-fetch) ; no tests in PyPI (uri (git-reference @@ -2122,15 +2123,27 @@ (define-public python-altair (file-name (git-file-name name version)) (sha256 (base32 - "1r74v5n51br9pjhxdzrr62cdgnwkapci93aifnl8dqmfpizfpd7d")))) + "1lx3pkphi36pljns6jjxhyn9fbrana8f1y6gcg4yca48nvwlfssl")))) (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")))) + (list #:test-flags + ;; XXX: This test file requires hard to package python-anywidgets. + #~(list "--ignore=tests/test_jupyter_chart.py" + "-k" (string-join + (list + ;; these tests open an external connection. + "not test_from_and_to_json_roundtrip" + "test_render_examples_to_chart" + ;; introduces a circular dependency on altair-viewer. + "not test_save_html" + ;; these tests require the vl-convert vega compiler + "test_vegalite_compiler" + "test_to_dict_with_format_vega" + "test_to_json_with_format_vega" + "test_to_url" + "test_renderer_with_none_embed_options" + "test_jupyter_renderer_mimetype") + " and not ")))) (propagated-inputs (list python-jinja2 python-jsonschema python-numpy