pythonPackages.gensim: use checkInputs
This commit is contained in:
parent
ac832c796b
commit
7739f79ff3
@ -5,6 +5,7 @@
|
|||||||
, six
|
, six
|
||||||
, scipy
|
, scipy
|
||||||
, smart_open
|
, smart_open
|
||||||
|
, scikitlearn, testfixtures, unittest2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -15,20 +16,20 @@ buildPythonPackage rec {
|
|||||||
sha256 = "78ed9b6ac35f104542f3bee0386d71ddf9432d74c153065d2ea9f6baf10e5b49";
|
sha256 = "78ed9b6ac35f104542f3bee0386d71ddf9432d74c153065d2ea9f6baf10e5b49";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ smart_open numpy six scipy
|
propagatedBuildInputs = [ smart_open numpy six scipy ];
|
||||||
# scikitlearn testfixtures unittest2 # for tests
|
|
||||||
];
|
checkInputs = [ scikitlearn testfixtures unittest2 ];
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
# Two tests fail.
|
# Two tests fail.
|
||||||
|
#
|
||||||
# ERROR: testAddMorphemesToEmbeddings (gensim.test.test_varembed_wrapper.TestVarembed)
|
# ERROR: testAddMorphemesToEmbeddings (gensim.test.test_varembed_wrapper.TestVarembed)
|
||||||
# ImportError: Could not import morfessor.
|
# ImportError: Could not import morfessor.
|
||||||
# This package is not in nix
|
# This package is not in nix
|
||||||
|
#
|
||||||
# ERROR: testWmdistance (gensim.test.test_fasttext_wrapper.TestFastText)
|
# ERROR: testWmdistance (gensim.test.test_fasttext_wrapper.TestFastText)
|
||||||
# ImportError: Please install pyemd Python package to compute WMD.
|
# ImportError: Please install pyemd Python package to compute WMD.
|
||||||
# This package is not in nix
|
# This package is not in nix
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Topic-modelling library";
|
description = "Topic-modelling library";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user