From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GFPWDlGsVmVsXgEA9RJhRA:P1 (envelope-from ) for ; Fri, 17 Nov 2023 00:57:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GFPWDlGsVmVsXgEA9RJhRA (envelope-from ) for ; Fri, 17 Nov 2023 00:57:05 +0100 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 184FE147C1 for ; Fri, 17 Nov 2023 00:57:05 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="qtgOO/Ba"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700179025; h=from:from:sender:sender:reply-to: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=2kNs6ZkmhgKpt6P0PtsFfDMy67jOT3Bdg4chBTXa9Dc=; b=C91SKVjs7LI8w2NNoaIIvA6bs/mwa8NnP4zUOIPf3F6XdqAuGCQeF5K6CUTX2cpXTHHidb YPIgRgH3GgtFEzJ1fg7VM/ttAZHxOntZxLqH5F0as3mEz6Qq658SinJCORWfBs2vVz7VVl A8UStTxU7vo7MPU2ZVvKoYSMLXFzXN9sG0XxnkZS3BhuM3PmoSSOE4oUr3z5C5+xkb3Eae ZyDYxmVoZPjZftZc4P6tToNgGcMUpwEEshkWJMyof3wPKJCxy6kO0oHMJSE/hbJih9PPdm 7R/MMw0bMmiyqPc1/57dAHzx6m4MuGGLcjrx3ORQ1DfFh9ggzMjKpuPN2njRtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="qtgOO/Ba"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700179025; a=rsa-sha256; cv=none; b=KIf143SpuoY9priAJdZC5mnDk5fWvVra5NZa3nimldylPHzK3MaVej25MYqKMPfp6dBfrL Bk8A6P728VE2y29jZQiMBSiHXFo0nyJjDoBz7PGAnYSH0w4STS8O6IDJAHQNNitGNcFsUt rIxfyJ411YA+Pv9gTF2rGZUy00RvoDMKo4Tzbuds/b+q+WUu9aiqwV+KnunuOsKQeId6HC NoCEx8ccJKDcl8Xd4pgpWfa6f4QEKT+JG7MATt83HinL19gcSYIuREf2v7BVX+SEweHNiu LZ8AMDTzt6mq4a2mZVQQW+WORSOfokc/IOvBDORis9p/TWUWaDN7hBFGbYDBLg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3mDT-00071B-NQ; Thu, 16 Nov 2023 18:56:11 -0500 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 1r3mDR-0006zy-S0 for guix-patches@gnu.org; Thu, 16 Nov 2023 18:56:09 -0500 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 1r3mDQ-0000uX-2b; Thu, 16 Nov 2023 18:56:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3mDL-0005Ns-6T; Thu, 16 Nov 2023 18:56:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66886] [PATCH v2 3/5] gnu: python-rich: Update to 13.7.0. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 16 Nov 2023 23:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66886 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 66886@debbugs.gnu.org Cc: Giacomo Leidi , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 66886-submit@debbugs.gnu.org id=B66886.170017894120629 (code B ref 66886); Thu, 16 Nov 2023 23:56:03 +0000 Received: (at 66886) by debbugs.gnu.org; 16 Nov 2023 23:55:41 +0000 Received: from localhost ([127.0.0.1]:44840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3mCy-0005Md-PR for submit@debbugs.gnu.org; Thu, 16 Nov 2023 18:55:41 -0500 Received: from confino.investici.org ([93.190.126.19]:20507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3mCu-0005Ly-GK for 66886@debbugs.gnu.org; Thu, 16 Nov 2023 18:55:37 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4SWcNm0JFKz11Jj; Thu, 16 Nov 2023 23:55:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1700178936; bh=2kNs6ZkmhgKpt6P0PtsFfDMy67jOT3Bdg4chBTXa9Dc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qtgOO/Ba1dhE1QJzD0yO8qmuDOIEBwjKnpSubwD8h3FDB3aas+7fYID5kjAF1DPcD wK6cVVYMnbDXtjHoU9iJJvYxwMy8D9CCVMkozHfTLP68XuvBiqK1NFrycwhRBoYjns gB8DpbkdlGgfs93XC6Mul9Vl+fAG2LwCnU4eVKX8= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4SWcNl4mZRz11JD; Thu, 16 Nov 2023 23:55:35 +0000 (UTC) Date: Fri, 17 Nov 2023 00:54:07 +0100 Message-ID: <4b28894b32dfb7a1645dd6013099c6f1acd92bf6.1700178849.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <0a59734d147800a6cadbc800a20b24ce7460fde2.1700178849.git.goodoldpaul@autistici.org> References: <0a59734d147800a6cadbc800a20b24ce7460fde2.1700178849.git.goodoldpaul@autistici.org> 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.10 X-Spam-Score: -6.10 X-Migadu-Queue-Id: 184FE147C1 X-Migadu-Scanner: mx13.migadu.com X-TUID: vawJtuiC+2rr * gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0; [source]: switch to git-origin to have tests; [build-system]: switch to pyproject-build-system; [arguments]: remove it since this boilerplate is now handled by the pyproject-build-system; [propagated-inputs]: remove python-colorama as it's not listed on pyproject.toml; replace python-commonmark with python-markdown-it-py; use python-pygments-2.16; move python-attrs from here...; [native-inputs]: ...to here; drop "tests" input; add python-pytest-cov; [home-page]: https://github.com/willmcgugan/rich now redirects to https://github.com/Textualize/rich . Change-Id: I16ea6f27d24f84d86db659c224705c81fac3b42e --- gnu/packages/python-xyz.scm | 43 ++++++++++--------------------------- 1 file changed, 11 insertions(+), 32 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7298b8ad05..67d2057f7f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18169,43 +18169,22 @@ (define-public python-slugid (define-public python-rich (package (name "python-rich") - (version "12.4.1") + (version "13.7.0") (source (origin - (method url-fetch) - (uri (pypi-uri "rich" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Textualize/rich") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "149vjb4cpf9mz14iig0b6d8065dm8aslp6pc45g9ipmp1wf00ffj")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs tests? #:allow-other-keys) - (when tests? - (copy-recursively (string-append - (assoc-ref inputs "tests") "/tests") - "tests") - (invoke "python" "-m" "pytest" "-vv"))))))) + "0qyhw2vvk17qdmfrmi45z4dd0fkwx3l2qrf3iy0yc2y7pfgrmg9g")))) + (build-system pyproject-build-system) (propagated-inputs - (list python-attrs python-colorama python-commonmark python-pygments - python-typing-extensions)) + (list python-markdown-it-py python-pygments-2.16 python-typing-extensions)) (native-inputs - `(("python-pytest" ,python-pytest) - ("tests" - ;; The release on pypi comes without tests. We can't build from this - ;; checkout, though, because installation requires an invocation of - ;; poetry. - ,(origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/willmcgugan/rich") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "17c3gljn8zv32xnpsgd3fqgqn4r7cdfqri41hridcpbhssdgkyp9")))))) - (home-page "https://github.com/willmcgugan/rich") + (list poetry python-attr python-pytest python-pytest-cov)) + (home-page "https://github.com/Textualize/rich") (synopsis "Render rich text and more to the terminal") (description "This is a Python package for rendering rich text, tables, progress bars, -- 2.41.0