From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0B0NGbsmlGVJugAAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 16:07:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WAQAErsmlGXEbAEAqHPOHw (envelope-from ) for ; Tue, 02 Jan 2024 16:07:39 +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=f122xXPs; 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=1704208059; 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=GSeuyUMpOec+F2l65PIhQIYkex/Uav9j2jg2/TZtBe0=; b=MNLftinuYyixdsjMuYqeGDvyE4KGkBTv5GyKvCJ3GuP1JPq9gOzqgYnZQYjNjsrVo130Yb NYP+4rlHBpaXVHwdXWhCa1oScXdF/tbeI2x//IbSs7lrlGQf6030w7KJ5k9nAKHNP0Tpwb 6lkrOTaP82NBxi6U7XPoespTReVkdaRBekwNMtjhM50WvoO7Ix9sVxMHFeIG40WV4m5Mg4 hN2JbsncEPdQ70DPzsk5+4bLkIHSso8SzBzQB702QUvfUyLmRWcxzyIZgUutmjj6jVvmOs G7xWW+IYI2rvkNy8t8Usd551Sx1Ge5jb+ZRGstvU7im0DO0t/Gt6FdnPvxZawg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704208059; a=rsa-sha256; cv=none; b=Iszm2G6fnBzG8DmxgV1XhqcSiUiu5WYQZnD0z/UbeKlXUrembjapTzSTlPfXzDpnjDHFGq gB6b+oQvOZSEAQvgnOjsx/8bKES3FlFux9ZgzEgq4HonOVPRYFKmErDL6vgH3+yLj/cgda g2nyj1F9bSN0DLXyyB5RkvxaEtMjqF8KRv2D8+geIikZI47vHO9EOR9Vu+blHkqLwxhVwL e7r2AHENfZB6AVn6g1dd31NlY1l3gl4ZuZcCvh+uZy7uumyJowe/RPHRmTA9Et+Kg+N0QG h/mBwUJhz8bgadh/lDezSVllZC7jqv4LjYWQygkqEfIw160ZDh2/nGt9Tepu0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=f122xXPs; 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) 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 072CD11EDD for ; Tue, 2 Jan 2024 16:07:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKgMA-0001KA-BV; Tue, 02 Jan 2024 10:07:02 -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 1rKgM8-0001Je-QU for guix-patches@gnu.org; Tue, 02 Jan 2024 10:07:00 -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 1rKgM8-0000Yv-II for guix-patches@gnu.org; Tue, 02 Jan 2024 10:07:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKgMB-00070b-01 for guix-patches@gnu.org; Tue, 02 Jan 2024 10:07:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68207] [PATCH 4/5] gnu: python-rich: Update to 13.7.0. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jan 2024 15:07:02 +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 Received: via spool by 68207-submit@debbugs.gnu.org id=B68207.170420799926876 (code B ref 68207); Tue, 02 Jan 2024 15:07:02 +0000 Received: (at 68207) by debbugs.gnu.org; 2 Jan 2024 15:06:39 +0000 Received: from localhost ([127.0.0.1]:51057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKgLm-0006zQ-Uk for submit@debbugs.gnu.org; Tue, 02 Jan 2024 10:06:39 -0500 Received: from mout01.posteo.de ([185.67.36.65]:56339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKgLk-0006yx-HI for 68207@debbugs.gnu.org; Tue, 02 Jan 2024 10:06:37 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0277A240028 for <68207@debbugs.gnu.org>; Tue, 2 Jan 2024 16:06:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704207988; bh=lAPF0Cpaq8uLHTYr63DZ1CPQ70PGcqRqgMCFBpvm4w0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=f122xXPsmHPuWHhxlZB9YfVLl9rgvj11/wNJShXKOjct5WZx+Nd+dPmwRCqtSMkCb eIRk3wjiXr5UuR/cZndKzKu+8bxRLh5qZwltiBKxI/yiLcB5i0dqhCzaolCYMwru2D BCWEtFFddDQOYKlqTHzjLsx10JUQfuwfWAND9yHtpE+ZFj5gwMVPp/pXKrPWC60biV P1ejVG74leUd8N8OrAS/zF8ZbD/gTSV5DfdXpirU31rlEGFZUEcZI0MqCr9QqEhrM7 uf36s3H69sL+hmV7fWKOUv6njBxyw07C+9dHL4NvP+ufsZW1cJ738vS46ZeW+bgBbN RoxNh0+Nn13mQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T4GQW3L81z6tvJ; Tue, 2 Jan 2024 16:06:27 +0100 (CET) From: Felix Gruber Date: Tue, 2 Jan 2024 15:05:49 +0000 Message-ID: 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.88 X-Spam-Score: -3.88 X-Migadu-Queue-Id: 072CD11EDD X-Migadu-Scanner: mx12.migadu.com X-TUID: SAQ4EAK9sgJQ * 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 d0a8f900b3..25f123e904 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18360,42 +18360,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.41.0