Merge pull request #273345 from wegank/no-import-check
treewide: fix imports check
This commit is contained in:
commit
aeb42e2383
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportCheck = [
|
||||
pythonImportsCheck = [
|
||||
"gentools"
|
||||
];
|
||||
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ intervaltree ];
|
||||
pythonImportCheck = [ "ipymarkup" ];
|
||||
pythonImportsCheck = [ "ipymarkup" ];
|
||||
|
||||
# Upstream has no tests:
|
||||
doCheck = false;
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage {
|
||||
tqdm
|
||||
];
|
||||
|
||||
pythonImportCheck = [
|
||||
pythonImportsCheck = [
|
||||
"mediafire_dl"
|
||||
];
|
||||
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
pytestFlagsArray = [ "tests/" ];
|
||||
pythonImportCheck = [ "natasha" ];
|
||||
pythonImportsCheck = [ "natasha" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "NLP framework for Russian language";
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [ pytestCheckHook gensim ];
|
||||
# TODO: remove when gensim usage will be fixed in `navec`.
|
||||
disabledTests = [ "test_gensim" ];
|
||||
pythonImportCheck = [ "navec" ];
|
||||
pythonImportsCheck = [ "navec" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compact high quality word embeddings for Russian language";
|
||||
|
@ -52,7 +52,7 @@ buildPythonPackage rec {
|
||||
"lark"
|
||||
];
|
||||
|
||||
pythonImportChecks = [ "ndn" ];
|
||||
pythonImportsCheck = [ "ndn" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An NDN client library with AsyncIO support";
|
||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
pytestFlagsArray = [ "razdel" ];
|
||||
pythonImportCheck = [ "razdel" ];
|
||||
pythonImportsCheck = [ "razdel" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rule-based system for Russian sentence and word tokenization";
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
# Tries to download model binary artifacts:
|
||||
"tests/test_api.py"
|
||||
];
|
||||
pythonImportCheck = [ "slovnet" ];
|
||||
pythonImportsCheck = [ "slovnet" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Deep-learning based NLP modeling for Russian language";
|
||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pymorphy2 ];
|
||||
pythonImportCheck = [ "yargy" ];
|
||||
pythonImportsCheck = [ "yargy" ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
pytestFlagsArray = [ "tests" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user