guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: python-sympy: Update check phase.


From: guix-commits
Subject: 03/03: gnu: python-sympy: Update check phase.
Date: Tue, 22 Sep 2020 16:08:24 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit e06eeaa4caa6181dc9f13e3f75b1d762669801b8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Sep 22 23:00:40 2020 +0300

    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 b1a2ab5..af557fd 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/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]