From c8c35af8ac7c47592525c54aff2b2a434c4e4498 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 25 Oct 2021 14:00:12 +0300 Subject: 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. --- gnu/packages/python-science.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 203e146dbc..dcd5a5045d 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -365,6 +365,9 @@ of the SGP4 satellite tracking algorithm.") (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" -- cgit v1.2.3