guix-commits
[Top][All Lists]
Advanced

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

06/08: gnu: python-geopandas: Fix build.


From: guix-commits
Subject: 06/08: gnu: python-geopandas: Fix build.
Date: Fri, 20 May 2022 18:18:07 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 09d0d0f6a5280200d15f2d102c963a712c681b14
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Wed May 18 19:21:11 2022 +0000

    gnu: python-geopandas: Fix build.
    
    * gnu/packages/geo.scm (python-geopandas)[arguments]: Disable broken
      tests. Re-enable test_fillna_no_op_returns_copy which does not fail
      anymore.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/geo.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index c2569c27d4..0c9240eea7 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -715,9 +715,14 @@ pyproj, Rtree, and Shapely.")
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
                (invoke "pytest"
-                       ; Disable test that fails with
-                       ; NotImplementedError in pandas.
-                       "-k" "not test_fillna_no_op_returns_copy"
+                       ; Disable tests that fail due to incompatibilities
+                       ; with our pandas version.
+                       "-k"
+                       (string-append
+                         "not test_getitem_invalid"
+                         " and not test_value_counts"
+                         " and not test_setitem_invalid"
+                         " and not test_insert_invalid")
                        ; Disable tests that require internet access.
                        "-m" "not web")))))))
     (propagated-inputs



reply via email to

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