guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: python-pandas: Fix building with pytest-6.


From: guix-commits
Subject: 04/05: gnu: python-pandas: Fix building with pytest-6.
Date: Mon, 25 Oct 2021 07:02:38 -0400 (EDT)

efraim pushed a commit to branch core-updates-frozen
in repository guix.

commit c8c35af8ac7c47592525c54aff2b2a434c4e4498
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 25 14:00:12 2021 +0300

    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 203e146..dcd5a50 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]