gnu: python-scikit-learn: Remove obsolete phase.

* gnu/packages/machine-learning.scm (python-scikit-learn)[arguments]
<#:phases>: Remove 'make-files-writable phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Sarah Morgensen 2021-07-26 19:56:41 -07:00 committed by Maxim Cournoyer
parent b67d82972e
commit 18e872b805
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1108,14 +1108,7 @@ (define-public python-scikit-learn
(invoke "pytest" "sklearn" "-m" "not network"
;; This test tries to access the internet.
"-k" "not test_load_boston_alternative"))))
(add-before 'reset-gzip-timestamps 'make-files-writable
(lambda* (#:key outputs #:allow-other-keys)
;; Make sure .gz files are writable so that the
;; 'reset-gzip-timestamps' phase can do its work.
(let ((out (assoc-ref outputs "out")))
(for-each make-file-writable
(find-files out "\\.gz$"))))))))
"-k" "not test_load_boston_alternative")))))))
(inputs
(list openblas))
(native-inputs