From patchwork Tue Feb 13 14:15:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 60274 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 9A0E227BBE2; Tue, 13 Feb 2024 14:18:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable 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 6373C27BBEA for ; Tue, 13 Feb 2024 14:18:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZtbZ-00005X-Fe; Tue, 13 Feb 2024 09:17:49 -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 1rZtbX-00004y-Tc for guix-patches@gnu.org; Tue, 13 Feb 2024 09:17:47 -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 1rZtbX-0003lC-LP; Tue, 13 Feb 2024 09:17:47 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZtbn-0007pB-O0; Tue, 13 Feb 2024 09:18:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68207] [PATCH v4 4/8] gnu: python-rich: Update to 13.7.0. Resent-From: Sharlatan Hellseher 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: Tue, 13 Feb 2024 14:18: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 , Sharlatan Hellseher , 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.170783384229963 (code B ref 68207); Tue, 13 Feb 2024 14:18:03 +0000 Received: (at 68207) by debbugs.gnu.org; 13 Feb 2024 14:17:22 +0000 Received: from localhost ([127.0.0.1]:43509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZtb7-0007n7-Lc for submit@debbugs.gnu.org; Tue, 13 Feb 2024 09:17:22 -0500 Received: from mail-wm1-f43.google.com ([209.85.128.43]:58811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZtb4-0007m4-Ii for 68207@debbugs.gnu.org; Tue, 13 Feb 2024 09:17:19 -0500 Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-411d231ea71so1395455e9.1 for <68207@debbugs.gnu.org>; Tue, 13 Feb 2024 06:17:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707833755; x=1708438555; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Fs4dzDnKATQB1Ie266NI+ePP1wJ+pTIVNOkgLLwQL6c=; b=bOKDQAChY+wT2qV2vNI7/34EPu458I2gV8+xL0c0aBPPrHrgGyJWGqe10gvUvrSSPP pFYAO2DYhcRZ9A6CAeRwRCdadUFGb79U2XojVsqecrOGY/5KmwyX93KG0oi0LWxeWcJ2 oFQ6yEwcacT261yUHPdhLg6UijH133BCZL7EgmkYmUfZ5Ft84nSfmue8Gk8gvebvq8/b VfGjd8HgFg3kzM1CJLUFTmXfTuhQ0MiC3+wMRXZjQxOuTV0dn0fc469t4v19pdolyBuv KulTusKfgggFDjfC/pHXet5m1L/qlvQEmii0kIVezK1vHlAdNWZKdmynWncdDQwORRfl FFAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707833755; x=1708438555; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Fs4dzDnKATQB1Ie266NI+ePP1wJ+pTIVNOkgLLwQL6c=; b=NO7Oab1oAt9mTh8fr9pYnZnXMtaPmNL0Sgin9pQt5kHbk0DbQGmN10qTSrSTBxMhqP 4BrlATr18KoL2zOSu/lTpimmT9U8UO0idf7n4u2uy6jT1DLjEbdTnxo41l2tKO+Ir6ET gKXPqMUlOJYwLA1yzsSKtb7ah5cOVzCjLo6eM0OxkEUwb2AkjDDHZhGgqTMCzP3nreu3 vePDOWz/B250X4LlqHSO2rbyrCd0TdquxEdfF39cRUicQkYcSS9t8lLv+PBWLb3DTRqJ emtS1jgc3ccnHOvOB2kKRKdm55o4sJQv1U0crCZSwyMZ9SF3Co5dNc3t57fpB8PnxwSw vlUA== X-Gm-Message-State: AOJu0YzIH20lx5Bl17mQ97DxfseBCKA6O1QHNDZNxetO+JMcd4R4BDNI ntJK6Bgnx9VOn9FQdDqwxDKFKcQNx0AJkaZxM/CbLXjIZ8Dl04GGpeiyKL1WroY= X-Google-Smtp-Source: AGHT+IGsgyUecOaNASkEOkKRtvbyr8j+gwKB2euB60lXrB6UJ6bzZSw4Flh0QcrVQVmInQVu0bfg0A== X-Received: by 2002:a05:600c:3516:b0:40e:fbdd:238a with SMTP id h22-20020a05600c351600b0040efbdd238amr9949246wmq.37.1707833755342; Tue, 13 Feb 2024 06:15:55 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXXOpR4PtzOSVHU0ACr3ELnI/PTrm/yb3Is0HV9M55DhC91PB+tagTBJlYLNSHUvdhiEmGB+VR8C0jI9REpQLSqcwCn8rM= Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id je11-20020a05600c1f8b00b00410885ba8casm10685161wmb.39.2024.02.13.06.15.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:15:55 -0800 (PST) From: Sharlatan Hellseher Date: Tue, 13 Feb 2024 14:15:41 +0000 Message-ID: <10c2e0610f2006e7644fb36e7c8a70e7ad19d0a9.1707833700.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <9c3d89f5eb0359dc6493dfc0d24667d2a5c6b484.1707833700.git.sharlatanus@gmail.com> References: <9c3d89f5eb0359dc6493dfc0d24667d2a5c6b484.1707833700.git.sharlatanus@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Felix Gruber * 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 Signed-off-by: Sharlatan Hellseher --- 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