From patchwork Sat Sep 21 22:47:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 68281 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 2E1EC27BBEA; Sat, 21 Sep 2024 23:52:26 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 A023D27BBE2 for ; Sat, 21 Sep 2024 23:52:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ss8xK-00070o-TK; Sat, 21 Sep 2024 18:51: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 1ss8xC-0006zf-6L for guix-patches@gnu.org; Sat, 21 Sep 2024 18:51:50 -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 1ss8xB-0008G9-TC; Sat, 21 Sep 2024 18:51:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=aD/Y01Ud5X/e4A8kR6tFx5cpJjvb+jFR5gmtbMFhgX8=; b=uam/QVOyyKeSmGh7+9Mi03FAcaiOYZYwrMkPJsGaRBQ3kuuEJNo+Lusu5CmxQ/sc2O85TR81HGWwh3zkADz3DfNp0jEhNDyzyXozj927Q5Pf135ScLBenxrqSMawL8OH7G/t2KCEUN1SCRSO3L1D63rKU9OeAvIq29g6n4HHuaRj8glEe9XMGWrapMKVVF/tYNQoU+xxyauCXKlXOzGiXluOMVcRtENJ23CZx6QvDuD1H70jFLfvF8FlLhVmK1OOWEwXPi8nt7LH6yGfxvN1zOfqgERdToMiM4zacwH/gIoS1MYzLUUZWjDJS9ounZPGifSEO8C63F0t9W9kzU72gA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ss8xO-0005Lk-Du; Sat, 21 Sep 2024 18:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73070] [PATCH v2 2/4] gnu: python-readme-renderer: Update to 41.0. Resent-From: Steve George 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: Sat, 21 Sep 2024 22:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73070 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73070@debbugs.gnu.org Cc: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de X-Debbugs-Original-Xcc: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de Received: via spool by 73070-submit@debbugs.gnu.org id=B73070.172695907320443 (code B ref 73070); Sat, 21 Sep 2024 22:52:02 +0000 Received: (at 73070) by debbugs.gnu.org; 21 Sep 2024 22:51:13 +0000 Received: from localhost ([127.0.0.1]:40441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss8wa-0005Je-Mn for submit@debbugs.gnu.org; Sat, 21 Sep 2024 18:51:13 -0400 Received: from mailtransmit05.runbox.com ([185.226.149.38]:59494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss8wY-0005JK-I0 for 73070@debbugs.gnu.org; Sat, 21 Sep 2024 18:51:11 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ss8u0-00C6fr-HG for 73070@debbugs.gnu.org; Sun, 22 Sep 2024 00:48:32 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector1; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:To:From; bh=aD/Y01Ud5X/e4A8kR6tFx5cpJjvb+jFR5gmtbMFhgX8=; b=SeMKcCl4pHfb3ksuCj9ZCys6jC JD2sP6guSEUxS7HTA4ULDcyML6xSX84foZTchr9SDTkYG7N1ybiDk1ccCdr10BlkUn423b5MsqYKi C4fqxr/+SyQqYJBQ1umFlL/vnjNBMxRyVI7Tn3zBuNYjv6z0X7rsyXVvo7jPfVbxMskEohevRQ4v3 JW98uaauKhr5hspYqWk/fa65wupGGwgL0hOVkX0I7i+ty3jaR1PyVW6ayICL2r+HHUwpUqHsOf3CT y4a2CrDRtjOkxgEjzojbhxqZJ7GJPM0WhGYFZXJB+XBEqcecep+zNv4lQxuJOop/S5OQA+ueMalnO 9J81EC9Q==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ss8tv-0002JE-S6 for 73070@debbugs.gnu.org; Sun, 22 Sep 2024 00:48:32 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1ss8tu-00CplG-VX for 73070@debbugs.gnu.org; Sun, 22 Sep 2024 00:48:27 +0200 From: Steve George Date: Sat, 21 Sep 2024 23:47:58 +0100 Message-ID: <17b3c3519e3ac639a55743378f2ce44fd993c652.1726958372.git.steve@futurile.net> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: <20240906142232.18550-1-ngraves@ngraves.fr> 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-readme-renderer): Update to 41.0. [build-system]: Use pyproject-build-system. [arguments]: Delete 'loosen-cmarkgfm-dependency phase; replace custom 'check phase with #:test-flags. [native-inputs]: Add python-wheel; remove python-mock. Reviewed-by: Steve George Change-Id: I47cef84089384d2cf760c166fed9147863d1a415 --- gnu/packages/python-xyz.scm | 42 ++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f79821e86d..503d8f510f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32015,38 +32015,36 @@ (define-public python-blessed (define-public python-readme-renderer (package (name "python-readme-renderer") - (version "34.0") + (version "41.0") (source (origin (method url-fetch) (uri (pypi-uri "readme_renderer" version)) (sha256 (base32 - "1c75h9znffc2lh4j56yg23l5ifj5l8fbdq3kfigi8vbh45zx3d6z")))) - (build-system python-build-system) + "1xvkf2i075rdqkwdrcrw4xglziqd7qs5lb2rbxr5snizi7ji2jsg")))) + (build-system pyproject-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'loosen-cmarkgfm-dependency - (lambda _ - ;; Permit newer versions of cmarkgfm. - (substitute* "setup.py" - (("cmarkgfm>=0\\.5\\.0,<0\\.7\\.0") - "cmarkgfm>=0.5.0")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; The GFM tests fail due to slight differences in the - ;; generated vs expected HTML due to using a more - ;; recent bleach version (see: - ;; https://github.com/pypa/readme_renderer/issues/234). - (invoke "pytest" "-vv" "-k" "not GFM"))))))) - (propagated-inputs - (list python-bleach python-docutils python-pygments - + (list + #:test-flags + '(list "-k" + (string-append + ;; These tests fail due to slight differences in the generated + ;; vs expected HTML, e.g. because of difference in whitespace or + ;; line breaks. (See also + ;; https://github.com/pypa/readme_renderer/issues/234). + "not test_md_fixtures[test_CommonMark_008.md]" + " and not test_rst_fixtures[test_rst_008.rst]" + " and not GFM")))) + (propagated-inputs + (list python-bleach + python-docutils + python-pygments ;; Optional dependencies. python-cmarkgfm)) ;required by postorius (native-inputs - (list python-mock python-pytest)) + (list python-pytest + python-wheel)) (home-page "https://github.com/pypa/readme_renderer") (synopsis "Render README files in Warehouse") (description