Revert "gnu: python-numpy-bootstrap: Reduce matrix size in failing test."
This reverts commit 31557440c2
as it did not
provide the desired effect. The test is still failing.
This commit is contained in:
parent
81de56479a
commit
6a84316848
|
@ -1928,24 +1928,17 @@ writing C extensions for Python as easy as Python itself.")
|
||||||
(string-append (assoc-ref inputs "atlas")
|
(string-append (assoc-ref inputs "atlas")
|
||||||
"/lib/libsatlas.so"))))
|
"/lib/libsatlas.so"))))
|
||||||
(setenv "ATLAS" atlas-lib)))
|
(setenv "ATLAS" atlas-lib)))
|
||||||
(alist-cons-before
|
;; Tests can only be run after the library has been installed and not
|
||||||
'check 'fix-failing-tests
|
;; within the source directory.
|
||||||
|
(alist-cons-after
|
||||||
|
'install 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* (find-files "numpy/linalg/tests"
|
(with-directory-excursion "/tmp"
|
||||||
"test_regression\\.py")
|
(zero? (system* "python" "-c"
|
||||||
(("x = np.eye(1000, 66)")
|
"import numpy; numpy.test(verbose=2)"))))
|
||||||
"x = np.eye(10, 66)")))
|
(alist-delete
|
||||||
;; Tests can only be run after the library has been installed and not
|
'check
|
||||||
;; within the source directory.
|
%standard-phases)))))
|
||||||
(alist-cons-after
|
|
||||||
'install 'check
|
|
||||||
(lambda _
|
|
||||||
(with-directory-excursion "/tmp"
|
|
||||||
(zero? (system* "python" "-c"
|
|
||||||
"import numpy; numpy.test(verbose=2)"))))
|
|
||||||
(alist-delete
|
|
||||||
'check
|
|
||||||
%standard-phases))))))
|
|
||||||
(home-page "http://www.numpy.org/")
|
(home-page "http://www.numpy.org/")
|
||||||
(synopsis "Fundamental package for scientific computing with Python")
|
(synopsis "Fundamental package for scientific computing with Python")
|
||||||
(description "NumPy is the fundamental package for scientific computing
|
(description "NumPy is the fundamental package for scientific computing
|
||||||
|
|
Loading…
Reference in New Issue