[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
115/166: gnu: python-nbval: Fix build.
From: |
guix-commits |
Subject: |
115/166: gnu: python-nbval: Fix build. |
Date: |
Tue, 19 Apr 2022 09:18:06 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 989d60c85d95a7a59c6a70b59613e3a7df026f30
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 13 16:40:00 2022 -0400
gnu: python-nbval: Fix build.
* gnu/packages/python-check.scm (python-nbval)
[phases]: Delete trailing #t.
{check}: Skip newly failing 'test_conf_ignore_stderr' test. Remove INPUTS
and
OUTPUTS arguments. Add TESTS? and honor it.
---
gnu/packages/python-check.scm | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 360e34fe14..f96807e3a2 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1341,17 +1341,21 @@ new fixtures, new methods and new comparison objects.")
(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))
+ (delete-file
+ "tests/ipynb-test-samples/test-latex-pass-correctouput.ipynb")))
(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")))))))
+ (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))
(propagated-inputs
- 106/166: gnu: Add python-pytest-tornado., (continued)
- 106/166: gnu: Add python-pytest-tornado., guix-commits, 2022/04/19
- 108/166: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/04/19
- 127/166: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/04/19
- 128/166: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/19
- 139/166: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/19
- 90/166: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/19
- 97/166: gnu: Add python-debugpy., guix-commits, 2022/04/19
- 102/166: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/19
- 110/166: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/19
- 113/166: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/04/19
- 115/166: gnu: python-nbval: Fix build.,
guix-commits <=
- 131/166: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/19
- 132/166: gnu: Add python-cbor2., guix-commits, 2022/04/19
- 152/166: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/19
- 155/166: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/19
- 89/166: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/19
- 111/166: gnu: Add texlive-unicode-math., guix-commits, 2022/04/19
- 120/166: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/19
- 119/166: gnu: Add python-docrepr., guix-commits, 2022/04/19
- 130/166: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/19
- 135/166: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/19