From patchwork Wed Nov 1 17:01:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 18847 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 BB5DB27BBEA; Wed, 1 Nov 2023 17:03:35 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 096D627BBE9 for ; Wed, 1 Nov 2023 17:03:32 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyEcN-0005Z8-W0; Wed, 01 Nov 2023 13:03:00 -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 1qyEbv-0005D0-DL for guix-patches@gnu.org; Wed, 01 Nov 2023 13:02:31 -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 1qyEbs-0003wK-Bw; Wed, 01 Nov 2023 13:02:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyEcQ-0001QF-2j; Wed, 01 Nov 2023 13:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66886] [PATCH 1/5] gnu: Add python-pygments-2.16. References: <76d01b3e-44c0-2a3b-cfad-95a92a1398f6@autistici.org> In-Reply-To: <76d01b3e-44c0-2a3b-cfad-95a92a1398f6@autistici.org> 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: Wed, 01 Nov 2023 17:03:02 +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.16988581745420 (code B ref 66886); Wed, 01 Nov 2023 17:03:02 +0000 Received: (at 66886) by debbugs.gnu.org; 1 Nov 2023 17:02:54 +0000 Received: from localhost ([127.0.0.1]:52326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcI-0001PH-0T for submit@debbugs.gnu.org; Wed, 01 Nov 2023 13:02:54 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]:22523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcF-0001Ow-9a for 66886@debbugs.gnu.org; Wed, 01 Nov 2023 13:02:52 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4SLCwk0rGYz114q; Wed, 1 Nov 2023 17:02:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1698858134; bh=0FSm2hj7u6x+buW0/WxCDCItnRha1lDVwRtk5vwHL58=; h=From:To:Cc:Subject:Date:From; b=dWwfaQJR4tRiOWn+3LWDLuYp6QUHD0n7HGLmEGp/ynKFsKcQHwD0/FN9qRiDQsrz+ AAx1i3u15UnnYJdbd5Sh5HvdmdP5ab1jEDYGytAHba/6AzI/UGs8utdZCcyCsVD1wP uen8vViOucQuxaMXHZ5Y1IWkOkd1sLsJplxtyA7I= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4SLCwg73V2z10yJ; Wed, 1 Nov 2023 17:02:11 +0000 (UTC) Date: Wed, 1 Nov 2023 18:01:44 +0100 Message-ID: <7886af0485069783c363bd168cfef1ea2840d1ea.1698858108.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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 This patch has also been sent to the python-team branch with bug #66884. * gnu/packages/python-xyz.scm (python-pygments-2.16): New variable. Change-Id: I863fc1aaea9930991b6f92643befbde7ba1a335c --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) base-commit: 3991d9e4d9867ec499283bfc71b34d7bfebe49b3 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6001e7e6eb..a91b9d9a94 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6144,6 +6144,27 @@ (define-public python-pygments "Pygments is a syntax highlighting package written in Python.") (license license:bsd-2))) +(define-public python-pygments-2.16 + (package + (inherit python-pygments) + (version "2.16.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Pygments" version)) + (sha256 + (base32 + "0abfx7n0mgpxk05f2kini3p78wsp1yi7lh0yjk49pii0914z1bqx")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; Some tests require sphinx, which depends on this, so we only run + ;; basic tests. + '(list "--ignore-glob=tests/*/*"))) + (native-inputs + (list python-pytest)))) + (define-public python-pygments-github-lexers (package (name "python-pygments-github-lexers") From patchwork Wed Nov 1 17:01:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 18845 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 4993F27BBEA; Wed, 1 Nov 2023 17:03:00 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 D11F827BBE2 for ; Wed, 1 Nov 2023 17:02:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyEcE-0005HI-M2; Wed, 01 Nov 2023 13:02:50 -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 1qyEbz-0005Et-Ku for guix-patches@gnu.org; Wed, 01 Nov 2023 13:02:36 -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 1qyEbw-0003zd-Gs; Wed, 01 Nov 2023 13:02:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyEcP-0001Q7-Lh; Wed, 01 Nov 2023 13:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66886] [PATCH 2/5] gnu: python-markdown-it-py: Update to 3.0.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: Wed, 01 Nov 2023 17:03:01 +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.16988581745414 (code B ref 66886); Wed, 01 Nov 2023 17:03:01 +0000 Received: (at 66886) by debbugs.gnu.org; 1 Nov 2023 17:02:54 +0000 Received: from localhost ([127.0.0.1]:52324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcH-0001PE-Lm for submit@debbugs.gnu.org; Wed, 01 Nov 2023 13:02:53 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]:43939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcF-0001Oz-Mr for 66886@debbugs.gnu.org; Wed, 01 Nov 2023 13:02:52 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4SLCwm4RHGz114v; Wed, 1 Nov 2023 17:02:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1698858136; bh=ubgXgDHGjBcbeSlrgoP6SlEnWwxhH86nphIAMc/J2d0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nPYXyQW/hC+hBiPBF60S8k9IjfuYyf7deXSTKpeldMdGBGr9tqkF9qe0fBpWm2RTY L38kFDU1UARzf42e87X05fmNYFog2xZeOzJsUeCVNJGbJDsU+VYUUiszjm3+mkDvgH Tue6Hoax/GIgGph1jLNe5JhyLSVFaLe/837PXRBo= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4SLCwk6l7dz10yJ; Wed, 1 Nov 2023 17:02:14 +0000 (UTC) Date: Wed, 1 Nov 2023 18:01:45 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <7886af0485069783c363bd168cfef1ea2840d1ea.1698858108.git.goodoldpaul@autistici.org> References: <7886af0485069783c363bd168cfef1ea2840d1ea.1698858108.git.goodoldpaul@autistici.org> 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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-markdown-it-py): Update to 3.0.0. Change-Id: I009ad2fd7cd314e2073621f2cbe00ff97cb7e63c --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a91b9d9a94..810d86f04e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5442,13 +5442,13 @@ (define-public python-makefun (define-public python-markdown-it-py (package (name "python-markdown-it-py") - (version "2.1.0") + (version "3.0.0") (source (origin (method url-fetch) (uri (pypi-uri "markdown-it-py" version)) (sha256 (base32 - "1nh75i72584r70alhqc479gys04s5m5g3vq601yf2njbs7z5jzng")))) + "1swgvyiavak0nmfb31lq5zck5chwhmyf6qb6qwpcav86zaa0mxp3")))) (build-system pyproject-build-system) (arguments (list #:tests? #f)) ;pypi source does not contains tests (native-inputs (list python-flit)) From patchwork Wed Nov 1 17:01:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 18846 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 E95B727BBEA; Wed, 1 Nov 2023 17:03:12 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 164F727BBE9 for ; Wed, 1 Nov 2023 17:03:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyEcL-0005Sq-3r; Wed, 01 Nov 2023 13:02:58 -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 1qyEbz-0005Es-Kt for guix-patches@gnu.org; Wed, 01 Nov 2023 13:02:36 -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 1qyEbx-0003zy-HW; Wed, 01 Nov 2023 13:02:35 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyEcQ-0001QM-FS; Wed, 01 Nov 2023 13:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66886] [PATCH 3/5] gnu: python-rich: Update to 13.6.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: Wed, 01 Nov 2023 17:03:02 +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.16988581775436 (code B ref 66886); Wed, 01 Nov 2023 17:03:02 +0000 Received: (at 66886) by debbugs.gnu.org; 1 Nov 2023 17:02:57 +0000 Received: from localhost ([127.0.0.1]:52329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcL-0001Pc-CF for submit@debbugs.gnu.org; Wed, 01 Nov 2023 13:02:57 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]:43703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcI-0001PS-OP for 66886@debbugs.gnu.org; Wed, 01 Nov 2023 13:02:55 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4SLCwq59qbz114q; Wed, 1 Nov 2023 17:02:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1698858139; bh=t/WnecgpSVNrzv+gBDydpS4olWuWbf9Jc6ED4t6/3yk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F6UuZhYJRgiQMRPLz3/c4mcWvhCJeHnsCAnO6XAzLGIKsO8QgwzuaTiRgj445PH/W W0dM1bIH70Q6mY8A6gTpTT2bF4QTcIsf3/tjkACbpOMgyszoEt2Qdl0ZgktGj3tG9w 7oUb8PHpbdXjDNbsuI0KmqcsWSLbFA5RWcP3Dxfg= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4SLCwn4q7bz10yJ; Wed, 1 Nov 2023 17:02:17 +0000 (UTC) Date: Wed, 1 Nov 2023 18:01:46 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <7886af0485069783c363bd168cfef1ea2840d1ea.1698858108.git.goodoldpaul@autistici.org> References: <7886af0485069783c363bd168cfef1ea2840d1ea.1698858108.git.goodoldpaul@autistici.org> 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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-rich): Update to 13.6.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 810d86f04e..9e79cf8140 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18168,43 +18168,22 @@ (define-public python-slugid (define-public python-rich (package (name "python-rich") - (version "12.4.1") + (version "13.6.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"))))))) + "02cbi53il9j0zfwxi2lsaypj3wyfb70q2g2c1q0a3xk164dnnkfw")))) + (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, From patchwork Wed Nov 1 17:01:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 18848 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 419D827BBEA; Wed, 1 Nov 2023 17:03:42 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 75A8427BBE2 for ; Wed, 1 Nov 2023 17:03:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyEcN-0005XE-7L; Wed, 01 Nov 2023 13:02:59 -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 1qyEbv-0005Cv-Bs for guix-patches@gnu.org; Wed, 01 Nov 2023 13:02:31 -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 1qyEbs-0003wR-IF; Wed, 01 Nov 2023 13:02:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyEcQ-0001Qc-VN; Wed, 01 Nov 2023 13:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66886] [PATCH 4/5] gnu: python-mdit-py-plugins: Update to 0.4.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: Wed, 01 Nov 2023 17:03:02 +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.16988581815456 (code B ref 66886); Wed, 01 Nov 2023 17:03:02 +0000 Received: (at 66886) by debbugs.gnu.org; 1 Nov 2023 17:03:01 +0000 Received: from localhost ([127.0.0.1]:52332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcO-0001Pt-Qs for submit@debbugs.gnu.org; Wed, 01 Nov 2023 13:03:01 -0400 Received: from confino.investici.org ([93.190.126.19]:35465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcN-0001Pl-Ix for 66886@debbugs.gnu.org; Wed, 01 Nov 2023 13:03:00 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4SLCww11jhz10yJ; Wed, 1 Nov 2023 17:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1698858144; bh=w3XkK3yRbu3VxpLRJGOKxd9y1dMGIfZn7PHp2tQSBE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VtZyw8JX7ga/Wzp1RJ9orq3bBvTZxF+dRNwuZ9Rgts3irgFO0o/VcUY5yPgbhgjDg QMIz3uW8E8RgJxWU/ss3x99q54jUA/gwwr+wwzs1hYdcXRiTxkx640ydqb+fJKPZuh led5H2WHGbwAwNF+Fd60GjRqP0ibZrDZIEsUA8CE= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4SLCwr741rz114q; Wed, 1 Nov 2023 17:02:20 +0000 (UTC) Date: Wed, 1 Nov 2023 18:01:47 +0100 Message-ID: <574421c6c73d86b996fc0a30004da9cb5a815fb7.1698858108.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7886af0485069783c363bd168cfef1ea2840d1ea.1698858108.git.goodoldpaul@autistici.org> References: <7886af0485069783c363bd168cfef1ea2840d1ea.1698858108.git.goodoldpaul@autistici.org> 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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-mdit-py-plugins): Update to 0.4.0. Change-Id: I06ddbee6055b570ee2d40f3e4f0a478a4413b4fe --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9e79cf8140..e7889029f3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -909,7 +909,7 @@ (define-public python-lunr (define-public python-mdit-py-plugins (package (name "python-mdit-py-plugins") - (version "0.3.1") + (version "0.4.0") (source (origin (method git-fetch) ;for tests (uri (git-reference @@ -918,7 +918,7 @@ (define-public python-mdit-py-plugins (file-name (git-file-name name version)) (sha256 (base32 - "00ybbfb6dzn9q5qnvnm8bmhd84s215ik7pcdb4r35zhwiv2ikizz")))) + "1790fcf3nd9c5j37fx87x3ivfyihk6l74jxj1qxvw3qfyb96w4k0")))) (build-system pyproject-build-system) (propagated-inputs (list python-markdown-it-py From patchwork Wed Nov 1 17:01:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 18849 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 674E427BBEA; Wed, 1 Nov 2023 17:03:50 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 5A1BA27BBE2 for ; Wed, 1 Nov 2023 17:03:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyEd4-0005zJ-8b; Wed, 01 Nov 2023 13:03:42 -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 1qyEcv-0005ve-0e for guix-patches@gnu.org; Wed, 01 Nov 2023 13:03:34 -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 1qyEct-0004V0-JW; Wed, 01 Nov 2023 13:03:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyEdN-0001TT-Qq; Wed, 01 Nov 2023 13:04:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66886] [PATCH 5/5] gnu: python-textual: Update to 0.41.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: Wed, 01 Nov 2023 17:04:01 +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.16988581835515 (code B ref 66886); Wed, 01 Nov 2023 17:04:01 +0000 Received: (at 66886) by debbugs.gnu.org; 1 Nov 2023 17:03:03 +0000 Received: from localhost ([127.0.0.1]:52343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcR-0001Ql-4Q for submit@debbugs.gnu.org; Wed, 01 Nov 2023 13:03:03 -0400 Received: from confino.investici.org ([93.190.126.19]:63519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyEcP-0001QA-Vs for 66886@debbugs.gnu.org; Wed, 01 Nov 2023 13:03:02 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4SLCwy6SDfz10yJ; Wed, 1 Nov 2023 17:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1698858146; bh=oXwVQNj7NJYzw4zSlSLc3y3cxfv8Ds1LijZDUcGXWJE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=flcJ7bWWdEx4l+A9tzY19nwzFDFuKUXZsFhfp0nzlwbz48rxeyIi+5Je1kMfhNsrL RX0vwM4FE4ktzAZHjtZkG2qkjooROaPY908Yc6bSIy8UebFISTlolJ7QWinaLChn3o dzgJ+eazUzK4HsO2B391P0DtlqehSqV+wSh0BTxQ= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4SLCwx1Rfbz114q; Wed, 1 Nov 2023 17:02:24 +0000 (UTC) Date: Wed, 1 Nov 2023 18:01:48 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <7886af0485069783c363bd168cfef1ea2840d1ea.1698858108.git.goodoldpaul@autistici.org> References: <7886af0485069783c363bd168cfef1ea2840d1ea.1698858108.git.goodoldpaul@autistici.org> 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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-textual): Update to 0.41.0; [source]: switch to git-origin; [build-system]: switch to pyproject-build-system; [arguments]: disable failing tests; : use check phase from pyproject-build-system and adapt build machinery to our old version of poetry; [propagated-inputs]: adapt to pyproject.toml; [native-inputs] add poetry and python-pytest-asyncio. Change-Id: I1060b25cb2ec439f26a4348305bc05fd0b09cf07 --- gnu/packages/python-xyz.scm | 58 ++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e7889029f3..696790e4a1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18216,20 +18216,8 @@ (define-public python-rich-click (define-public python-textual (package (name "python-textual") - (version "0.1.18") + (version "0.41.0") (source (origin - (method url-fetch) - (uri (pypi-uri "textual" version)) - (sha256 - (base32 - "08yg5a51hz1axfj5hx28hx31gq5apcj6vpkkmawmiplisa73z25j")))) - (build-system python-build-system) - (arguments - (let ((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/Textualize/textual") @@ -18237,19 +18225,41 @@ (define-public python-textual (file-name (git-file-name name version)) (sha256 (base32 - "0b3ycwqhp21mg9fvmadgxhgbvkwq6fd784l2xcmvy77rravrnnax"))))) - (list #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (copy-recursively #$(file-append tests "/tests") - "tests") - (invoke "python" "-m" "pytest" "-vv")))))))) + "0fmximmnxb7h7swdrs0amlya09h0yyr1h1k09za7isihb40njwib")))) + (build-system pyproject-build-system) + (arguments + (list + ;; 3 failed, 1932 passed, 1 skipped, 4 xfailed, 10 warnings in 115.19s (0:01:55) + #:test-flags + #~'("-k" + ;; this test fails because of an AssertionError: + ;; assert app.devtools is not None + #$(string-append "not test_textual_env_var" + ;; these tests require python-tresitter-languages + " and not test_register_language" + " and not test_register_language_existing_language")) + #:phases #~(modify-phases %standard-phases + ;; TODO: This is because of our old version of poetry. + ;; It can be removed once it's been updated to a current one. + (add-after 'unpack 'adapt-pyproject.toml + (lambda _ + (substitute* "pyproject.toml" + (("group\\.dev\\.") "dev-")))) + ;; snapshot tests require syrupy + (add-after 'adapt-pyproject.toml 'remove-snapshot-tests + (lambda _ + (delete-file "tests/snapshot_tests/test_snapshots.py")))))) (propagated-inputs - (list python-rich python-typing-extensions)) + (list python-importlib-metadata + python-linkify-it-py + python-markdown-it-py + python-mdit-py-plugins + python-rich + python-typing-extensions)) (native-inputs - (list python-pytest)) + (list poetry + python-pytest + python-pytest-asyncio)) (home-page "https://github.com/Textualize/textual") (synopsis "Build text user interfaces in Python") (description "Textual is a @acronym{TUI, Text User Interface} framework