mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 03:44:06 -05:00
gnu: python-pandas: Fix building with pytest-6.
* gnu/packages/python-science.scm (python-pandas)[arguments]: In custom 'check phase adjust to not fail tests with missing test data.
This commit is contained in:
parent
a0400dc9a5
commit
c8c35af8ac
1 changed files with 3 additions and 0 deletions
|
@ -365,6 +365,9 @@ (define-public python-pandas
|
|||
(getcwd) "/build/"
|
||||
(first (scandir "build"
|
||||
(cut string-prefix? "lib." <>))))))
|
||||
(substitute* "pyproject.toml"
|
||||
;; Not all data files are distributed with the tarball.
|
||||
(("--strict-data-files ") ""))
|
||||
(with-directory-excursion build-directory
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv" "pandas" "--skip-slow"
|
||||
|
|
Loading…
Reference in a new issue