pythonPackages.gensim: use checkInputs
This commit is contained in:
parent
ac832c796b
commit
7739f79ff3
1 changed files with 7 additions and 6 deletions
|
@ -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 ];
|
||||
|
||||
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";
|
||||
|
|
Loading…
Reference in a new issue