From patchwork Sun Aug 4 22:15:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 66723 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 D407927BBEA; Sun, 4 Aug 2024 23:18:25 +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 17FA227BBE2 for ; Sun, 4 Aug 2024 23:18:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sajXx-0007bG-JA; Sun, 04 Aug 2024 18:17:49 -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 1sajXt-0007YX-Q0 for guix-patches@gnu.org; Sun, 04 Aug 2024 18:17:45 -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 1sajXr-0000sO-Vk for guix-patches@gnu.org; Sun, 04 Aug 2024 18:17:45 -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=VU/C5ClQZ8i64ww+G1LnEwUPkYs4iapxk5+WbPqSwjA=; b=MzaLF0FNa63gXqvEivT3xJuspUYeG/jYi0qVaNmt82J3nRH+uD0MGyYMMi3bD61lLe8fv6K6nhgMwOHENcQzdBg8de0UL/s6XydEIwz0I2lSQP/fTALP6Ukh7TPIXLgo4b9PvO0IcxqFGTg4EC4kWH7t+mzsD8jnsDfwvEfYPoFs6fUxJY234FnPBvTNkjORWSkJMW0Z2HtG2lpQphJRq+Rv3Rv5ivtW63SjvBlw7YdMpwU3g2ERSKuiDjZM9EZgrAJJkqtiMGpYHdpnGKCVficCiPX4y/kVLfQer8qYO4iUGgUXyKJEyflL51EGbxn+NYN3boN37i0jyFQG/mzOjQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sajYD-0004Sn-Gz for guix-patches@gnu.org; Sun, 04 Aug 2024 18:18:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72471] [PATCH 12/24] gnu: python-nbval: Update to 0.11.0. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Aug 2024 22:18:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72471@debbugs.gnu.org Cc: David Elsing Received: via spool by 72471-submit@debbugs.gnu.org id=B72471.172280986116905 (code B ref 72471); Sun, 04 Aug 2024 22:18:05 +0000 Received: (at 72471) by debbugs.gnu.org; 4 Aug 2024 22:17:41 +0000 Received: from localhost ([127.0.0.1]:57501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sajXn-0004OL-Vx for submit@debbugs.gnu.org; Sun, 04 Aug 2024 18:17:41 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sajXZ-0004KP-HI for 72471@debbugs.gnu.org; Sun, 04 Aug 2024 18:17:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5497B240027 for <72471@debbugs.gnu.org>; Mon, 5 Aug 2024 00:16:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1722809818; bh=ioyAlGoDAM+N7Jy1KJ2F+osabt3kqUky9K4qGpoIVyY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=SXZUrCahZyFfg+JQFUnyyp7ie+pAhkeffBC9jjA1GL9+kpWzSvyTLfnojmc4WKbl6 +bvfSC9LC8vbQkpK5x1qnsTFD29UfJvUW9LBsMbakIsOYgIDMo0k81yhuTZhoCCj23 T67pBHozV3+0NDbQ7FNAgc61tymKRKYfZT7sDAlaTyPhHgx559iG7Fid2VdoVAhVti B0htCNQ5er40gyFLt+GMOHi+SU11Mt40+f9Vi9ZmRSiETjV6r/27UARu07uXpViSxl rhZBi8fuu+MChKPUKVtmNPZdhlrQHOS1HYMlDLltzH1P/tX6XdODP4mpYGl9DqxIm3 6nUQIh7+6GoaA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WcYp208kbz6tlh; Mon, 5 Aug 2024 00:16:58 +0200 (CEST) From: David Elsing Date: Sun, 4 Aug 2024 22:15:50 +0000 Message-ID: <20240804221635.3805-12-david.elsing@posteo.net> In-Reply-To: <20240804220847.15842-1-david.elsing@posteo.net> References: <20240804220847.15842-1-david.elsing@posteo.net> 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-check.scm (python-nbval): Update to 0.11.0. [arguments]<#:phases>: Adjust 'check' phase. [native-inputs]: Remove python-pytest. [propagated-inputs]: Add python-coverage and python-pytest. Remove python-six. --- gnu/packages/python-check.scm | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 74e833686f..6b42d3c45c 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1585,13 +1585,13 @@ (define-public python-nbmake (define-public python-nbval (package (name "python-nbval") - (version "0.9.6") + (version "0.11.0") (source (origin (method url-fetch) (uri (pypi-uri "nbval" version)) (sha256 - (base32 "0h3xrnw0mj1srigrx2rfnd73h8s0xjycclmjs0vx7qkfyqpcvvyg")))) + (base32 "154h6xpf9h6spgg3ax6k79fd40j197ipwnfjmf5rc2kvc2bmgjbp")))) (build-system python-build-system) (arguments `(#:phases @@ -1605,21 +1605,16 @@ (define-public python-nbval (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "pytest" "-vv" "-k" - (string-append - ;; This only works with Pytest < 5. - "not nbdime_reporter" - ;; https://github.com/computationalmodelling/nbval/pull/148. - " and not test_timeouts" - ;; It seems the output format has changed; the following - ;; test fails with "Unexpected output fields from - ;; running code: {'text/plain'}". - " and not test_conf_ignore_stderr ")))))))) - (native-inputs - (list python-pytest python-pytest-cov python-sympy)) + (invoke "pytest" "-vv" + ;; nbdime forms a dependency cycle + "--ignore=tests/test_nbdime_reporter.py"))))))) + (native-inputs (list python-pytest-cov python-sympy)) (propagated-inputs - (list python-ipykernel python-jupyter-client python-nbformat - python-six)) + (list python-coverage + python-ipykernel + python-jupyter-client + python-nbformat + python-pytest)) (home-page "https://github.com/computationalmodelling/nbval") (synopsis "Pytest plugin to validate Jupyter notebooks") (description