From patchwork Fri Sep 6 15:25:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67675 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 97B5427BBEA; Fri, 6 Sep 2024 16:26:36 +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 3074E27BBE2 for ; Fri, 6 Sep 2024 16:26:36 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smaqd-0000B1-Fn; Fri, 06 Sep 2024 11:26:08 -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 1smaqZ-0000AN-HA for guix-patches@gnu.org; Fri, 06 Sep 2024 11:26:03 -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 1smaqY-0005GR-Le for guix-patches@gnu.org; Fri, 06 Sep 2024 11:26:03 -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=g9f0T7V5bjXJDRHi056FI1Pm5KxG3jtrqy1GH0nY0u0=; b=L3Zq9dQHELItUw/JN1WoAfZCYqfLTBZrx8NK8IyNi48b02iBKdfc0TlzhZrOTnzd95s4ogyrhU6OJbA5cLwQF1pm8bIku6dr+t7f+E5/xE8fjHA/BOFC09Smqy2vA+v5uF/toZJ9r4lplmdW7Ussw6rwnSyTgjeW+65ToiscSlM2YlQV7EjNflih8RLDdjsuPgbjZbPGiqWAgnQzsAP0JQP4ZtmUeSAgrk9OPxd99TlS+bOw5YCauv0EkdozPOAPFTqH9/DZsVJ3Wywey5+yQN3aXxytJI6h8o3Ero38xcF8GZK4lMUgfUI7OoH7OHUPsoGbfV6EPh58QeWT6ZHf+w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smaqY-00069V-4T for guix-patches@gnu.org; Fri, 06 Sep 2024 11:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Sep 2024 15:26:02 +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.172563634123603 (code B ref 73070); Fri, 06 Sep 2024 15:26:02 +0000 Received: (at 73070) by debbugs.gnu.org; 6 Sep 2024 15:25:41 +0000 Received: from localhost ([127.0.0.1]:53883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smaqC-00068U-TE for submit@debbugs.gnu.org; Fri, 06 Sep 2024 11:25:41 -0400 Received: from 10.mo575.mail-out.ovh.net ([46.105.79.203]:53039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smaq9-00068D-RD for 73070@debbugs.gnu.org; Fri, 06 Sep 2024 11:25:39 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.140.131]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4X0g686RqFz1hs6 for <73070@debbugs.gnu.org>; Fri, 6 Sep 2024 15:25:36 +0000 (UTC) Received: from ghost-submission-55b549bf7b-qxld6 (unknown [10.110.168.250]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 8DC981FE8F; Fri, 6 Sep 2024 15:25:36 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-55b549bf7b-qxld6 with ESMTPSA id VUGKEPAe22aWDQEAVMW8/Q (envelope-from ); Fri, 06 Sep 2024 15:25:36 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R0049af2dfad-5903-4764-89f6-4f4b7f94241a, ACA35F79429F979B6FBB9EE3B4047AB5B076CDB9) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Fri, 6 Sep 2024 17:25:24 +0200 Message-ID: <20240906152532.23233-2-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: 2229281818049962722 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeiuddgledtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeeftdejtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=g9f0T7V5bjXJDRHi056FI1Pm5KxG3jtrqy1GH0nY0u0=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725636337; v=1; b=r/QYy9AVnqBsaF+SMI8Gbi/C+56dFDnuQLDvdY7ctyL24s0vm4RMjNSJ8vQ0wZ0xHCG31Hnk K7RhHFYAwk8nHLqkDJEbuk0SqDSxRvCs2nM/U5eEv09BeYQ11/CvzdIt7XCsZbNvQ96sSfDk3G1 aiz22of3n4pPaQ0H6yvysPiMieLAJG38EuFIPiGSfdD0LIiQ9UCOvS8jSebYDp4FH22MYW2Z2Tb S+0NquZrCHnJRmRmIt7v5MaF+Nf1EY30Ien6lPYjLMv0V0m7y2qYJZkeyCiXdHu/irs5M1PjaFx /wfMpvtgimlmdLd5wCSoZb9DwRj/MKAj3wZ5eiYgIoClg== 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/python-xyz.scm (python-twine): Update to 5.1.1. [build-system]: Move to pyproject-build-system. [arguments]<#:test-flags>: Disable failing tests. [native-inputs]: Add python-pretend, python-pytest, python-pytest-socket. [propagated-inputs]: Remove python-tqdm, python-packaging. Add python-imporlib-metadata, python-keyring, python-rfc3986, python-rich and python-urllib3. Change-Id: I55dbcd646dec60cfe8ec226aed0cf3f8c59e2eeb --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c391f1d033..4e2bc4fb02 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25710,21 +25710,33 @@ (define-public python-pkginfo (define-public python-twine (package (name "python-twine") - (version "1.15.0") + (version "5.1.1") (source (origin (method url-fetch) (uri (pypi-uri "twine" version)) (sha256 - (base32 "11rpd653zcgzkq3sgwkzs3mpxl3r5rij59745ni84ikv8smjmlm3")))) - (build-system python-build-system) + (base32 "1nr24gd5gm22b0jzb5qmw4swh8bshixmqm0kv4s38ay0758q584s")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags ;; Disable failing tests. + #~(list "-k" (string-append + "not test_pkginfo_returns_no_metadata" + " and not test_fails_rst_no_content")))) + (native-inputs + (list python-pretend + python-pytest + python-pytest-socket)) (propagated-inputs - (list python-tqdm - python-packaging + (list python-importlib-metadata + python-keyring python-pkginfo python-readme-renderer python-requests - python-requests-toolbelt)) + python-requests-toolbelt + python-rfc3986 + python-rich + python-urllib3)) (home-page "https://github.com/pypa/twine") (synopsis "Collection of utilities for interacting with PyPI") (description 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