about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-07-29 16:49:15 -0700
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-07-30 13:00:01 +0200
commit02ecb596a350858888339145829b1411574e593a (patch)
treed0d3028f89e43eb90632829750e5febb78fa067c
parentc6b6f389146637b92beffe94f728a608047cbd4b (diff)
downloadnixlib-02ecb596a350858888339145829b1411574e593a.tar
nixlib-02ecb596a350858888339145829b1411574e593a.tar.gz
nixlib-02ecb596a350858888339145829b1411574e593a.tar.bz2
nixlib-02ecb596a350858888339145829b1411574e593a.tar.lz
nixlib-02ecb596a350858888339145829b1411574e593a.tar.xz
nixlib-02ecb596a350858888339145829b1411574e593a.tar.zst
nixlib-02ecb596a350858888339145829b1411574e593a.zip
python2Packages.imbalanced-learn: fix build
-rw-r--r--pkgs/development/python-modules/imbalanced-learn/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/imbalanced-learn/default.nix b/pkgs/development/python-modules/imbalanced-learn/default.nix
index 9020d2cc12ce..9d1064b6c756 100644
--- a/pkgs/development/python-modules/imbalanced-learn/default.nix
+++ b/pkgs/development/python-modules/imbalanced-learn/default.nix
@@ -14,7 +14,11 @@ buildPythonPackage rec {
   checkPhase = ''
     export HOME=$PWD
     # skip some tests that fail because of minimal rounding errors
-    py.test imblearn --ignore=imblearn/metrics/classification.py
+    # or large dependencies
+    py.test imblearn -k 'not classification \
+                         and not _generator \
+                         and not _forest \
+                         and not wrong_memory'
     py.test doc/*.rst
   '';