From patchwork Mon Jul 8 18:43:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 66010 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 3079B27BBEA; Mon, 8 Jul 2024 19:53:20 +0100 (BST) 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 5D3B427BBE2 for ; Mon, 8 Jul 2024 19:53:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQtU9-0006SZ-0o; Mon, 08 Jul 2024 14:53:13 -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 1sQtU1-00062b-1R for guix-patches@gnu.org; Mon, 08 Jul 2024 14:53:07 -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 1sQtU0-000653-NR; Mon, 08 Jul 2024 14:53:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQtTy-0004sh-Uj; Mon, 08 Jul 2024 14:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71984] [PATCH v2 1/2] gnu: python-pygments: Update to 2.15.1. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 08 Jul 2024 18:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71984 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71984@debbugs.gnu.org, jgart Cc: Ricardo Wurmus , Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 71984-submit@debbugs.gnu.org id=B71984.172046475618704 (code B ref 71984); Mon, 08 Jul 2024 18:53:02 +0000 Received: (at 71984) by debbugs.gnu.org; 8 Jul 2024 18:52:36 +0000 Received: from localhost ([127.0.0.1]:51497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQtTX-0004rc-TC for submit@debbugs.gnu.org; Mon, 08 Jul 2024 14:52:36 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQtTV-0004qq-2z for 71984@debbugs.gnu.org; Mon, 08 Jul 2024 14:52:33 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 931B2240029 for <71984@debbugs.gnu.org>; Mon, 8 Jul 2024 20:52:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1720464741; bh=seViyj220u1jeLC1p5PW8mltHeXXfPLlqfzotgvwp80=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=d+JQ6rU8P4mcozIVCFDOXbJv+LndmhBaRdVkFAIV+jUJyl8hKBfcAmmT/XFeM5Ye7 rKjLPrUZmso7MtV5qstnt4lBzfffo57cRExQzTqiKN7hnNWPw4V6PTNzi7hc7vSPhs mJNKklLvmep3M1tJWuLsOSt3LXjKSbDgeouNtJ1+R/qAZrVts3fUB0LJmWy3TQU3aI t8Uai8Y2aKEjaVmHKuELCAP0qAqUpv4+YJtcTgBIzPcpDSggvaVo09zYz3Zp4G7lTF CjHwhxwwcoXs0+kQzfwXxQTKfLsZ0zPj7izM/cfdUp2hEb7s4Z1wGzlkNPfbwLknef 152nR3FYaPSDg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WHtXN5D2Fz9rxG; Mon, 8 Jul 2024 20:52:20 +0200 (CEST) From: Felix Gruber Date: Mon, 8 Jul 2024 18:43:36 +0000 Message-ID: <0f57c0f06155f605c76e24e2ef8655f7a8a9d738.1720464215.git.felgru@posteo.net> In-Reply-To: References: 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: Ricardo Wurmus * gnu/packages/python-xyz.scm (python-pygments): Update to 2.15.1. [build-system]: Use pyproject-build-system. [arguments]: Run tests. [native-inputs]: Add python-pytest. --- gnu/packages/python-xyz.scm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1c432e9b65..05d4a8b710 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7019,18 +7019,23 @@ (define-public python-doc8 (define-public python-pygments (package (name "python-pygments") - (version "2.12.0") + (version "2.15.1") (source (origin (method url-fetch) (uri (pypi-uri "Pygments" version)) (sha256 (base32 - "1sr6iqh21xi6p8aba4wa9pqfhjbbpcvn9jcsx0ggy4lniw8idcay")))) - (build-system python-build-system) + "0p3p28fif7m2w5mkd0z99zk9xwgrs3m61x85415qk0fl3ly4vkla")))) + (build-system pyproject-build-system) (arguments - ;; FIXME: Tests require sphinx, which depends on this. - '(#:tests? #f)) + (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)) (home-page "https://pygments.org/") (synopsis "Syntax highlighting") (description From patchwork Mon Jul 8 18:43:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 66011 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 83D0827BBE9; Mon, 8 Jul 2024 19:53:35 +0100 (BST) 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=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 E840927BBE2 for ; Mon, 8 Jul 2024 19:53:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQtU3-0005zH-8g; Mon, 08 Jul 2024 14:53:08 -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 1sQtTv-0005oF-Eo for guix-patches@gnu.org; Mon, 08 Jul 2024 14:52:59 -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 1sQtTv-00064c-69; Mon, 08 Jul 2024 14:52:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQtTz-0004so-E7; Mon, 08 Jul 2024 14:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71984] [PATCH v2 2/2] gnu: python-pygments: Update to 2.18.0. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 08 Jul 2024 18:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71984 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71984@debbugs.gnu.org, jgart Cc: Felix Gruber , Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 71984-submit@debbugs.gnu.org id=B71984.172046475718718 (code B ref 71984); Mon, 08 Jul 2024 18:53:03 +0000 Received: (at 71984) by debbugs.gnu.org; 8 Jul 2024 18:52:37 +0000 Received: from localhost ([127.0.0.1]:51500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQtTZ-0004rp-Cd for submit@debbugs.gnu.org; Mon, 08 Jul 2024 14:52:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQtTX-0004rI-VA for 71984@debbugs.gnu.org; Mon, 08 Jul 2024 14:52:36 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5F574240103 for <71984@debbugs.gnu.org>; Mon, 8 Jul 2024 20:52:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1720464744; bh=Vu/kOXSDirO4R3rPQfzrLQbjLyC9MacAxrfp+jx68MM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=e37h6E2fJhi6y8Yfs71toaap/9ejztwmO1125n3TSN8JYAdWB++nFvjpVmuaYFTho qIhC9r+i/acU0GLMbgRVdJlATPfnsX1oroxsG6mtGnKvEvxbYDcH0UDKRLNDhlZmW0 hK8xyDY+sqbWhkLL/Ao8UbrA8ied+m1Ur7D69gwFa/xlnNngd/JGfyuXZVDYD8nqTK +XS0Fb8K3BHjL2bGhv+fx+ug25zNs5kdLxJusYIbp27ogQCqeE2vnJRYerD6cDqXCl X1JfmAY6IG06nJyESiQc9kH/dwP58mKAFc/ia2lsjo09hea1d6KRjNIXZbhCJ2+P5+ lbpEjrMflY80Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WHtXR5gDBz6tmv; Mon, 8 Jul 2024 20:52:23 +0200 (CEST) From: Felix Gruber Date: Mon, 8 Jul 2024 18:43:37 +0000 Message-ID: In-Reply-To: References: 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 * gnu/packages/python-xyz.scm (python-pygments): Update to 2.18.0. [source]: Fix pypi package name; with capital P, the download doesn't work. [native-inputs]: Add python-hatchling. Change-Id: I85bf3cb2a8c4a996586e820bd582dea777ef930d --- gnu/packages/python-xyz.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 05d4a8b710..4cd971fbaa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7019,14 +7019,14 @@ (define-public python-doc8 (define-public python-pygments (package (name "python-pygments") - (version "2.15.1") + (version "2.18.0") (source (origin (method url-fetch) - (uri (pypi-uri "Pygments" version)) + (uri (pypi-uri "pygments" version)) (sha256 (base32 - "0p3p28fif7m2w5mkd0z99zk9xwgrs3m61x85415qk0fl3ly4vkla")))) + "16gi0i80rbk0dnxka9wzx5gm10bfm3lzd29qzwdk349fyc1ghvvq")))) (build-system pyproject-build-system) (arguments (list @@ -7035,7 +7035,7 @@ (define-public python-pygments ;; basic tests. '(list "--ignore-glob=tests/*/*"))) (native-inputs - (list python-pytest)) + (list python-hatchling python-pytest)) (home-page "https://pygments.org/") (synopsis "Syntax highlighting") (description