diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-08-08 21:07:18 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-08-11 09:35:26 +0000 |
commit | 7739f79ff30da354e4fe5f38e661b2ecaa36ab1c (patch) | |
tree | cf39d7d281d3c556821b468e27dc09e7bb68d41a /pkgs/development/python-modules/gensim | |
parent | ac832c796bcb67afb3217fe3b282297411c54036 (diff) |
pythonPackages.gensim: use checkInputs
Diffstat (limited to 'pkgs/development/python-modules/gensim')
-rw-r--r-- | pkgs/development/python-modules/gensim/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/gensim/default.nix b/pkgs/development/python-modules/gensim/default.nix index f9f8198e4ac1b..9a1a870dd00a2 100644 --- a/pkgs/development/python-modules/gensim/default.nix +++ b/pkgs/development/python-modules/gensim/default.nix @@ -5,6 +5,7 @@ , six , scipy , smart_open +, scikitlearn, testfixtures, unittest2 }: buildPythonPackage rec { @@ -15,20 +16,20 @@ buildPythonPackage rec { sha256 = "78ed9b6ac35f104542f3bee0386d71ddf9432d74c153065d2ea9f6baf10e5b49"; }; - propagatedBuildInputs = [ smart_open numpy six scipy - # scikitlearn testfixtures unittest2 # for tests - ]; - doCheck = false; + propagatedBuildInputs = [ smart_open numpy six scipy ]; - # Two tests fail. + checkInputs = [ scikitlearn testfixtures unittest2 ]; + # Two tests fail. + # # ERROR: testAddMorphemesToEmbeddings (gensim.test.test_varembed_wrapper.TestVarembed) # ImportError: Could not import morfessor. # This package is not in nix - + # # ERROR: testWmdistance (gensim.test.test_fasttext_wrapper.TestFastText) # ImportError: Please install pyemd Python package to compute WMD. # This package is not in nix + doCheck = false; meta = { description = "Topic-modelling library"; |