From unknown Thu Sep 11 09:18:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42564 <42564@debbugs.gnu.org> To: bug#42564 <42564@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add python-nbval. Reply-To: bug#42564 <42564@debbugs.gnu.org> Date: Thu, 11 Sep 2025 16:18:22 +0000 retitle 42564 [PATCH] gnu: Add python-nbval. reassign 42564 guix-patches submitter 42564 Vinicius Monego severity 42564 normal tag 42564 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 27 16:42:42 2020 Received: (at submit) by debbugs.gnu.org; 27 Jul 2020 20:42:42 +0000 Received: from localhost ([127.0.0.1]:55824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k09xK-0004QH-Fl for submit@debbugs.gnu.org; Mon, 27 Jul 2020 16:42:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:35722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k09xH-0004Q9-5r for submit@debbugs.gnu.org; Mon, 27 Jul 2020 16:42:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k09xG-0001Jh-Ur for guix-patches@gnu.org; Mon, 27 Jul 2020 16:42:38 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k09xE-0003Og-Ay for guix-patches@gnu.org; Mon, 27 Jul 2020 16:42:38 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id B1A412400FB for ; Mon, 27 Jul 2020 22:42:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595882552; bh=IQzo54sVPKb5aex0XIaLiu+K9l3rP8gzpWRi7NYsQD8=; h=From:To:Cc:Subject:Date:From; b=BpxtB+u9AVNhwpWW9w2kIAnTrGM5Zn5/cw8mVTDwOUTT43xFCGsDl+TH2DxyTmqEm 75GqpJ4yhnlaiv2Lv8Ri+ao2px+Dilf2qZ54/CD5d9zUtmkYQLAkTxLvnneKvOI0Xr Izv3bgJS6rqmRbN5bGbyumTQy0S664dekMRz9LipsZUOhoVV3kSpjNR0ENz+yHe/jJ coisD0fFWOuK7d4Y+pLTYjhjJJ0xwtDfbr+eaPJQoXgJmaudzF3ZQS8i2IPj+0KKFd Nd6F4qnCCIi0PC99Ftrak+SHokPkXjacwl4G/vBQ/eay/PRCDt/8y6vCnvuUGeGLhe 1dEJ2uLWDFrIg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BFsF30WtCz6tm9; Mon, 27 Jul 2020 22:42:30 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-nbval. Date: Mon, 27 Jul 2020 17:42:06 -0300 Message-Id: <20200727204206.12142-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/27 16:42:33 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-check.scm (python-nbval): New variable. --- gnu/packages/python-check.scm | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index e96ce9e666..cf765e8106 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -650,6 +650,53 @@ service processes for your tests with pytest.") (description "This package provides a pytest plugin for aiohttp support.") (license license:asl2.0))) +(define-public python-nbval + (package + (name "python-nbval") + (version "0.9.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nbval" version)) + (sha256 + (base32 "1xh2p7g5s5g06caaraf3dsz69bpj7dgw2h3ss67kci789aspnwp8")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'fix-test + (lambda _ + ;; This test fails because of a mismatch in the output of LaTeX + ;; equation environments. Seems OK to skip. + (delete-file "tests/ipynb-test-samples/test-latex-pass-correctouput.ipynb") + #t)) + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (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"))))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-sympy" ,python-sympy))) + (propagated-inputs + `(("python-ipykernel" ,python-ipykernel) + ("python-jupyter-client" ,python-jupyter-client) + ("python-nbformat" ,python-nbformat) + ("python-six" ,python-six))) + (home-page "https://github.com/computationalmodelling/nbval") + (synopsis "Pytest plugin to validate Jupyter notebooks") + (description + "This plugin adds functionality to Pytest to recognise and collect Jupyter +notebooks. The intended purpose of the tests is to determine whether execution +of the stored inputs match the stored outputs of the @file{.ipynb} file. Whilst +also ensuring that the notebooks are running without errors.") + (license license:bsd-3))) + (define-public python-pytest-flask (package (name "python-pytest-flask") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 29 01:17:32 2020 Received: (at 42564-done) by debbugs.gnu.org; 29 Jul 2020 05:17:33 +0000 Received: from localhost ([127.0.0.1]:59734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0eT6-0002nz-MC for submit@debbugs.gnu.org; Wed, 29 Jul 2020 01:17:32 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:34062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0eT4-0002ih-6n for 42564-done@debbugs.gnu.org; Wed, 29 Jul 2020 01:17:31 -0400 Received: by mail-lj1-f194.google.com with SMTP id q7so23645251ljm.1 for <42564-done@debbugs.gnu.org>; Tue, 28 Jul 2020 22:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=sOdYy/05TiN51td9BsaVsMiiUPIdnK3f82Pdw6G1F8o=; b=hgyPH4iMVMWjWzqFIRkDThIvkBJl1sIwvgGMqEwdzB8ylfkKvlnJSQ5PYEzpq1oSgm Y3eXzTZ3pWORnzkc1u4kH7lqT/pPsA0QB0lhHEf+DV+UIO2NEaGYZ81uh6w0uEG3rYN2 1xwSjeiBk1r+/MjfntcL+nChrPkmWd3288Bf48f7XOoaGSPGwhGvj0lvx5iEb3PQBPPE CG0Qn97Iq9hnYppKaYmJPLA5bth/g3vMbsPYn0V9fs0jzBwq8vQIdcTeNfvRzxpK8tpT gmc0q0I410QznHF5xFoP7QGjOarX2MUME+/l3Rwv2Ca0UKfT6gNVoUkQYzNvZyzz4vJf zlbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=sOdYy/05TiN51td9BsaVsMiiUPIdnK3f82Pdw6G1F8o=; b=ZVQv8j6zjX9T7eo8ylVQtT3KqI2bQicfx1zNSjdo2UHXAedQdNQEwdE5NDOh1I0Vqp So6+dvzwN+gp8YNs4Q6S4cgp18KPPGf+rituHhQeLSEL8uMlbHsw6z0qAksfZdy44Beo xCXK0O9cfwDZGNCbC3eawQ+HgdarBDgdIhftjdx53PhgPktBAAH3ZCQydOUgTwCS3Bua FRBBRq5i4318YEYnxezly3zIY/NwpStaO/t6b0frP2ZCThqtrRbA+To8sNTxrNQEV03s 8rwSo/zQrIjbpLjfP0QdEA0fw8zhXS26Rx0ToMxL+/4x59VbmE9Fvz/UBnj73uF6HxP+ f+UA== X-Gm-Message-State: AOAM531tn1Oz0tkteduBCQfTeNo4V/PfumaCn6zN9hZE5art1rM2FjYd 5n4ZVfmYpeL5HnWilqLstPsNIB/Inqo= X-Google-Smtp-Source: ABdhPJz/aEX4iV7S7hyRqbw2EP8sFGnhjcaGS5OL6YNVi4PER3QN6ii7JAqdX6suuzLDTAxV59Dutg== X-Received: by 2002:a2e:b4e1:: with SMTP id s1mr2123926ljm.433.1595999844239; Tue, 28 Jul 2020 22:17:24 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id o16sm171603ljc.66.2020.07.28.22.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 22:17:23 -0700 (PDT) From: Oleg Pykhalov To: Vinicius Monego Subject: Re: [bug#42564] [PATCH] gnu: Add python-nbval. References: <20200727204206.12142-1-monego@posteo.net> Date: Wed, 29 Jul 2020 08:17:18 +0300 In-Reply-To: <20200727204206.12142-1-monego@posteo.net> (Vinicius Monego's message of "Mon, 27 Jul 2020 17:42:06 -0300") Message-ID: <87tuxqlx29.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42564-done Cc: 42564-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Vinicius Monego writes: > * gnu/packages/python-check.scm (python-nbval): New variable. > --- > gnu/packages/python-check.scm | 47 +++++++++++++++++++++++++++++++++++ > 1 file changed, 47 insertions(+) > > diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm > index e96ce9e666..cf765e8106 100644 > --- a/gnu/packages/python-check.scm > +++ b/gnu/packages/python-check.scm > @@ -650,6 +650,53 @@ service processes for your tests with pytest.") [=E2=80=A6] Pushed to master. Thanks, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8hBl4ACgkQFn+OpQAa +pxrMA/7BmJlUm0V6vzD66VJogCrmworJFk1F+41AcB/TUwmr69OUsRzedsnifE7 RFE4RI0cx6eEd4lGh5RxKVUYWr5Q0NjKV0SDb0UxOun0o8RLh9JIEmjka+vbQM8v uL2PY6v1M/rtHq6HF+9840cV1/Sh/ezJJOjDflb2GwwIbofRARhMY6MOI/YgaGG0 j/ZQubMcldKCPEjeRf9GC1mcmhJ94J10jxKXV34HU9fJmoKeHRaoLBScBR4IuoV3 MfBmlTmXt+xhjyjMM5W0TNNs/2PFxM9/H/koiqlI3Iv91LFUxqvTsrM9wp/DOMTb 1pN4dQizM8bVWAWPwrBEBiNNjmG4FsU+ZwmIEUKs3w88LVCP8kArnPJa4gaPpujw EE2irZ1ttFLuqCOmlN+aiYRDHx8hHwvLAE8bHC+CSwghAkwHM2Oy6aFM19W8pD5q OSDcLeyLZWkNz91APEy1Jmpq+fwmzXyIL/q7YAbNFKQvjCok4Hmt2PpBqriCAaaT Goj5/6JkR7KaMp7yKKnriedOJC62kXZ3XhQ/OvpDzl7pVeBPMzdIGlMKVkut4Rcy O5RGVqab/gJ9PBWay4GlX4mdQD4s7/sDdoVmWmYIa5kScC7PNb91h7K6YkPkj79o EftIbQZzSi1OOXRmjURxuLZwd0vJMtz3AGCGG35rhJFTP0jg56A= =979/ -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Sep 11 09:18:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 26 Aug 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator