From e06eeaa4caa6181dc9f13e3f75b1d762669801b8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Sep 2020 23:00:40 +0300 Subject: gnu: python-sympy: Update check phase. * gnu/packages/python-xyz.scm (python-sympy)[arguments]: Replace 'check phase instead of deleting it and adding it back in. --- gnu/packages/python-xyz.scm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b1a2ab5efd..af557fd009 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7590,16 +7590,11 @@ multiprecision arithmetic.") (arguments `(#:phases (modify-phases %standard-phases - ;; Run the core tests after installation. By default it would run - ;; *all* tests, which take a very long time to complete and are known - ;; to be flaky. - (delete 'check) - (add-after 'install 'check + (replace 'check (lambda* (#:key outputs #:allow-other-keys) (invoke (or (which "python3") (which "python")) - "-c" "import sympy; sympy.test(\"/core\")") - #t))))) + "-c" "import sympy; sympy.test(\"/core\")")))))) (propagated-inputs `(("python-mpmath" ,python-mpmath))) (home-page "https://www.sympy.org/") -- cgit v1.2.3