mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-09 04:42:01 +01: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 @@ of the SGP4 satellite tracking algorithm.")
|
||||||
(getcwd) "/build/"
|
(getcwd) "/build/"
|
||||||
(first (scandir "build"
|
(first (scandir "build"
|
||||||
(cut string-prefix? "lib." <>))))))
|
(cut string-prefix? "lib." <>))))))
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
;; Not all data files are distributed with the tarball.
|
||||||
|
(("--strict-data-files ") ""))
|
||||||
(with-directory-excursion build-directory
|
(with-directory-excursion build-directory
|
||||||
(when tests?
|
(when tests?
|
||||||
(invoke "pytest" "-vv" "pandas" "--skip-slow"
|
(invoke "pytest" "-vv" "pandas" "--skip-slow"
|
||||||
|
|
Loading…
Add table
Reference in a new issue