mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
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.
This commit is contained in:
parent
8621ff6bd5
commit
e06eeaa4ca
1 changed files with 2 additions and 7 deletions
|
@ -7590,16 +7590,11 @@ (define-public python-sympy
|
|||
(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/")
|
||||
|
|
Loading…
Reference in a new issue