[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
115/233: gnu: python-nbval: Fix build.
From: |
guix-commits |
Subject: |
115/233: gnu: python-nbval: Fix build. |
Date: |
Sun, 24 Apr 2022 23:39:51 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 32854795f3556ab12a1dc5a8d8276f24fab4eb2a
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
- 101/233: gnu: Add python-ipyparallel-bootstrap., (continued)
- 101/233: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/04/24
- 104/233: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/04/24
- 105/233: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/24
- 106/233: gnu: Add python-pytest-tornado., guix-commits, 2022/04/24
- 107/233: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/24
- 108/233: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/04/24
- 110/233: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/24
- 112/233: gnu: Add texlive-lm-math., guix-commits, 2022/04/24
- 113/233: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/04/24
- 114/233: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/04/24
- 115/233: gnu: python-nbval: Fix build.,
guix-commits <=
- 119/233: gnu: Add python-docrepr., guix-commits, 2022/04/24
- 122/233: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/04/24
- 126/233: gnu: Add texlive-cbfonts-fd., guix-commits, 2022/04/24
- 127/233: gnu: Add texlive-cbfonts., guix-commits, 2022/04/24
- 129/233: gnu: texlive-latex-geometry: Propagate texlive-latex-graphics., guix-commits, 2022/04/24
- 132/233: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/04/24
- 137/233: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/24
- 140/233: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/04/24
- 143/233: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/04/24
- 150/233: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/24