From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UPQYDLpcymVkfwEAqHPOHw:P1 (envelope-from ) for ; Mon, 12 Feb 2024 19:00:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UPQYDLpcymVkfwEAqHPOHw (envelope-from ) for ; Mon, 12 Feb 2024 19:00:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=exKmDm0M; 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=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707760826; 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=QaPXp2JaF42cdatgDd7MP+IlU71yb+ZqxkG8guu7ZfU=; b=iZ5cqHevIQRBYxZdt1FJew4JEPPsWQnsbcK0MTeGgf8a0Zy+Qxgnzet+WrxvKGMCtM25lP 1BkvAz95J923Obb/Nxp+xX8b1TUGd2XkjPvXjjuLSFniRukDenKSYQWq4+7sTxp9FdxrIl kD7SZlohsKucCjtTgOOkx1I3N2VdB1PNJV7b1QnaYH5xn6EjRUxSD7Xnd0BJYqQw+PhM+c e3LAhlm+h6vCamaYkWV5Q/laRvt6T9axoE8w2KkRQvprmQgj8P71+holyTbill0JuoThKm fAhgc9yaQMLYpGDjGuwnpbbq5a1GqzkV4i9gubMEelqtt2gi2jr+YAa553tD7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=exKmDm0M; 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=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707760826; a=rsa-sha256; cv=none; b=usMcXoYRUH9kFcTv9oMsZ0GL4d/76jbHT+Y+u68s35PJETfTaItvbdNs/yjAwxcBhbSMD+ WLhcr7Jc3CiQhmlXKkK2Q0UzAYgMeu7RtYF8qikXv65+z7AIU16dE8B7RdL0Y+9KqDOfgS gKdrw85sWl64DGsEt8gAEFEH1PSEwf5R1fjcnA4keuiXqzMvVTEy47z8Wl2BtQVlOYNYSa lNHYZcPW/Ym2ASibxZUallQGgMBzRPs5kQ4WNjUDX9lSr4k2KxL5TMkRKKAnd+vanlhnUT UT+T5yyMn6V3fnUuvx39pEy+qt7/CaXOOnHt6ioRg99pzxKVOdP/skY6XwGduA== 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 8B34E3EE37 for ; Mon, 12 Feb 2024 19:00:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZaau-0002Ge-As; Mon, 12 Feb 2024 12:59:52 -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 1rZaat-0002G9-69 for guix-patches@gnu.org; Mon, 12 Feb 2024 12:59:51 -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 1rZaas-0005LQ-U3; Mon, 12 Feb 2024 12:59:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZab5-0006Bu-Ex; Mon, 12 Feb 2024 13:00:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68207] [PATCH v2 4/5] gnu: python-rich: Update to 13.7.0. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 12 Feb 2024 18:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68207 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68207@debbugs.gnu.org Cc: Felix Gruber , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 68207-submit@debbugs.gnu.org id=B68207.170776078323649 (code B ref 68207); Mon, 12 Feb 2024 18:00:03 +0000 Received: (at 68207) by debbugs.gnu.org; 12 Feb 2024 17:59:43 +0000 Received: from localhost ([127.0.0.1]:46056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZaal-00069L-1a for submit@debbugs.gnu.org; Mon, 12 Feb 2024 12:59:43 -0500 Received: from mout01.posteo.de ([185.67.36.65]:50727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZaai-00068W-Q0 for 68207@debbugs.gnu.org; Mon, 12 Feb 2024 12:59:41 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 35D05240029 for <68207@debbugs.gnu.org>; Mon, 12 Feb 2024 18:59:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707760758; bh=3Qy4qKQgE2MEMnHz9592+5FiWzr4ePrWYTKyzVk3Z+k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=exKmDm0M6ipMeLlnMVOSTuTKIM/el4ZaY4lO236PZ08Mf3C0wjulHAl9d9bfwqgPe FjM+p+WKVXy2DZ/QvRfZgjmn8UbA5xym2Agmj6Vsqmk5PYQohSSYLoy99CcQFtWF7x 3ka5uutK4cYnh7315K2wSoAVJTNmZTMh3djY1ZDqi9y9/kS97axXxPtxeQdbYAs6a/ dNxzSeaZ/Re0sFy+X5CXLmv+Mjph2253g9ZqfTqGNOy2Zh5rgwgVTEFV/hDre7h7Ik 7VlzDkujT5yMbVS+otdwoOqt4slH0jwLyWDRIIbo1DacwuuIfVnxSEnG8SW5ImfjUX ox2Jdc47uUtsw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TYXK15Pmqz6tvq; Mon, 12 Feb 2024 18:59:17 +0100 (CET) From: Felix Gruber Date: Mon, 12 Feb 2024 17:55:29 +0000 Message-ID: <79d48325bffd9be3265645d9805ace6801235376.1707760530.git.felgru@posteo.net> In-Reply-To: References: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.83 X-Migadu-Queue-Id: 8B34E3EE37 X-Spam-Score: 3.83 X-Migadu-Scanner: mx11.migadu.com X-TUID: zD0jRAWssCM1 * gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0. [source]: Use git-fetch since pypi package doesn't include tests. [build-system]: Use pyproject-build-system. [arguments]: Remove custom 'check phase. [propagated-inputs]: Remove python-attrs, python-colorama, python-commonmark and python-typingextensions; add python-ipywidgets and python-markdown-it-py; replace python-pygments with python-pygments-next. [native-inputs]: Add python-poetry-core; remove tests (which are now included in new [source]). Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248 --- gnu/packages/python-xyz.scm | 49 ++++++++++++------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b3eed56d06..afd5caf541 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19192,42 +19192,23 @@ (define-public python-slugid (define-public python-rich (package (name "python-rich") - (version "12.4.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "rich" 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"))))))) + (version "13.7.0") + (source + (origin + ;; There are no tests in the PyPI tarball. + (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 + "0qyhw2vvk17qdmfrmi45z4dd0fkwx3l2qrf3iy0yc2y7pfgrmg9g")))) + (build-system pyproject-build-system) (propagated-inputs - (list python-attrs python-colorama python-commonmark python-pygments - python-typing-extensions)) + (list python-ipywidgets python-markdown-it-py python-pygments-next)) (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")))))) + (list python-poetry-core python-pytest)) (home-page "https://github.com/willmcgugan/rich") (synopsis "Render rich text and more to the terminal") (description -- 2.43.0