From patchwork Thu Jul 6 21:18:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 51612 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 AB6AD27BBE9; Thu, 6 Jul 2023 22:20:31 +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 DA8BD27BBE2 for ; Thu, 6 Jul 2023 22:20:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHWOX-0001cN-Gc; Thu, 06 Jul 2023 17:20:09 -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 1qHWOV-0001cD-Vx for guix-patches@gnu.org; Thu, 06 Jul 2023 17:20:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHWOV-0004tw-Ng for guix-patches@gnu.org; Thu, 06 Jul 2023 17:20:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHWOQ-0001dG-8c; Thu, 06 Jul 2023 17:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64503] [PATCH] gnu: python-pygments: Update to 2.15.1. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 06 Jul 2023 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64503 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64503@debbugs.gnu.org Cc: Ricardo Wurmus , Lars-Dominik Braun , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by submit@debbugs.gnu.org id=B.16886783536206 (code B ref -1); Thu, 06 Jul 2023 21:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jul 2023 21:19:13 +0000 Received: from localhost ([127.0.0.1]:42164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHWNd-0001c2-Cc for submit@debbugs.gnu.org; Thu, 06 Jul 2023 17:19:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:52138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHWNa-0001bt-O7 for submit@debbugs.gnu.org; Thu, 06 Jul 2023 17:19:12 -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 1qHWNa-0001Xl-Bb for guix-patches@gnu.org; Thu, 06 Jul 2023 17:19:10 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHWNX-0001RJ-W4 for guix-patches@gnu.org; Thu, 06 Jul 2023 17:19:10 -0400 Delivered-To: rekado@elephly.net ARC-Seal: i=1; a=rsa-sha256; t=1688678342; cv=none; d=zohomail.com; s=zohoarc; b=SZ+Jz+VDGYBoyrgQeLo+mqQSXNAQ8QpvMIoCfuFlrKxYi6eoJrCuRGcee63J59pP4oDopmwC658pbkeBrifc5aZZPPxsSI4h7A/q4TYSoP7CTqWwqWdirChw8Nr7SjrR/GxJ5zo5OmngRGLBIqHhkKs13u1foljhp+WIEZPalW0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1688678342; h=Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=ep6yG7K+M4glre1XQZA04WI1bxMprVP3AdTvGVNA5sM=; b=iGvQNnmBVlrC/y8rx+VYNdqhdAQCGR8la+U5cUY3I2ykN8c5Bggg1hSNYAWi+MsIMbnGzhwUUkJD7OhuT+5btazY6qLoj9SbIsCbxksEyySadyY34pteCjWI9ysycCcJ/d2MG1AFp0ZN1w1wAHxAuEg1dikviKNheKPC8BcxqKg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1688678342; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Transfer-Encoding:Reply-To; bh=ep6yG7K+M4glre1XQZA04WI1bxMprVP3AdTvGVNA5sM=; b=eRRYtorDm0FZGuKy3+LXKXxnd7OI/Iea3ZLZXcf2PYDsqvrGzx1oaDRdcTjO5UE8 Q/PumIyVuHTr2+Vc/MHsarnDeuPdQPucYdQbywbmLdkTpuG8OW6WQ59GMO+IJ+4/djD JO8Rkm75wJqzzQ+jug82sa5qP9CCatou+Tn4QAnI= Received: from localhost (45-110-142-46.pool.kielnet.net [46.142.110.45]) by mx.zohomail.com with SMTPS id 1688678340142255.55027215788277; Thu, 6 Jul 2023 14:19:00 -0700 (PDT) From: Ricardo Wurmus Date: Thu, 6 Jul 2023 23:18:47 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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.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(-) base-commit: 2426e51688d479042ea115a634c6be2d8b9f3b99 prerequisite-patch-id: 64bdaf1b46e713c11e7e3befc50968710d721da1 prerequisite-patch-id: 33eb796cc51e4372cab09fce61b1c4da73c5884d diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a89f25b5b6..89a75556bd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5913,18 +5913,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