From 2d5c270ec4f39b81ad07c6a4fc847c9e5997b822 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 4 Feb 2022 20:06:58 +0100 Subject: gnu: python-pybtex: Fix test failure. * gnu/packages/python-xyz.scm (python-pybtex)[arguments]: Run nosetests directly instead of via setup.py. --- gnu/packages/python-xyz.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 46419e8ace..7c1b5e8ed3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21816,7 +21816,12 @@ working with iterables.") (inputs (list python-latexcodec python-pyyaml python-six)) (arguments - `(#:test-target "nosetests")) + (list + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "nosetests"))))))) (home-page "https://pybtex.org/") (synopsis "BibTeX-compatible bibliography processor") (description "Pybtex is a BibTeX-compatible bibliography processor written -- cgit v1.2.3