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 @@ multiprecision arithmetic.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; Run the core tests after installation. By default it would run
|
(replace 'check
|
||||||
;; *all* tests, which take a very long time to complete and are known
|
|
||||||
;; to be flaky.
|
|
||||||
(delete 'check)
|
|
||||||
(add-after 'install 'check
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(invoke
|
(invoke
|
||||||
(or (which "python3") (which "python"))
|
(or (which "python3") (which "python"))
|
||||||
"-c" "import sympy; sympy.test(\"/core\")")
|
"-c" "import sympy; sympy.test(\"/core\")"))))))
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-mpmath" ,python-mpmath)))
|
`(("python-mpmath" ,python-mpmath)))
|
||||||
(home-page "https://www.sympy.org/")
|
(home-page "https://www.sympy.org/")
|
||||||
|
|
Reference in a new issue