[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
115/232: gnu: python-nbval: Fix build.
From: |
guix-commits |
Subject: |
115/232: gnu: python-nbval: Fix build. |
Date: |
Sun, 24 Apr 2022 23:58:57 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 36d7210db2f3fea9292ea5a3ce1eee00e8d5ffb5
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
- 90/232: gnu: python-click: Update to 8.1.2 and honor TESTS?., (continued)
- 90/232: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/24
- 95/232: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/24
- 98/232: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/24
- 99/232: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/24
- 101/232: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/04/24
- 102/232: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/24
- 103/232: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/04/24
- 108/232: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/04/24
- 109/232: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/04/24
- 114/232: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/04/24
- 115/232: gnu: python-nbval: Fix build.,
guix-commits <=
- 116/232: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/04/24
- 122/232: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/04/24
- 123/232: gnu: Add python-sphinx-sitemap., guix-commits, 2022/04/24
- 125/232: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/04/24
- 124/232: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/24
- 127/232: gnu: Add texlive-cbfonts., guix-commits, 2022/04/24
- 129/232: gnu: texlive-latex-geometry: Propagate texlive-latex-graphics., guix-commits, 2022/04/24
- 132/232: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/04/24
- 135/232: gnu: Add python-rfc3339-validator., guix-commits, 2022/04/24
- 137/232: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/24