mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pandas: Honor #:tests? flag.
* gnu/packages/python-science.scm (python-pandas)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
ab961fe542
commit
a0400dc9a5
1 changed files with 15 additions and 14 deletions
|
@ -359,13 +359,14 @@ of the SGP4 satellite tracking algorithm.")
|
|||
;; xsel needs to write a log file.
|
||||
(setenv "HOME" "/tmp")))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(let ((build-directory
|
||||
(string-append
|
||||
(getcwd) "/build/"
|
||||
(first (scandir "build"
|
||||
(cut string-prefix? "lib." <>))))))
|
||||
(with-directory-excursion build-directory
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv" "pandas" "--skip-slow"
|
||||
"--skip-network"
|
||||
"-k"
|
||||
|
@ -378,7 +379,7 @@ of the SGP4 satellite tracking algorithm.")
|
|||
" and not test_ExcelWriter_dispatch"
|
||||
;; TODO: Missing input
|
||||
" and not TestS3"
|
||||
" and not s3")))))))))
|
||||
" and not s3"))))))))))
|
||||
(propagated-inputs
|
||||
`(("python-jinja2" ,python-jinja2)
|
||||
("python-numpy" ,python-numpy)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue