Merge pull request #273345 from wegank/no-import-check

treewide: fix imports check
This commit is contained in:
Janik 2023-12-10 19:13:09 +01:00 committed by GitHub
commit aeb42e2383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -33,7 +33,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportCheck = [
pythonImportsCheck = [
"gentools"
];

View File

@ -15,7 +15,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ intervaltree ];
pythonImportCheck = [ "ipymarkup" ];
pythonImportsCheck = [ "ipymarkup" ];
# Upstream has no tests:
doCheck = false;

View File

@ -23,7 +23,7 @@ buildPythonPackage {
tqdm
];
pythonImportCheck = [
pythonImportsCheck = [
"mediafire_dl"
];

View File

@ -24,7 +24,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests/" ];
pythonImportCheck = [ "natasha" ];
pythonImportsCheck = [ "natasha" ];
meta = with lib; {
description = "NLP framework for Russian language";

View File

@ -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";

View File

@ -52,7 +52,7 @@ buildPythonPackage rec {
"lark"
];
pythonImportChecks = [ "ndn" ];
pythonImportsCheck = [ "ndn" ];
meta = with lib; {
description = "An NDN client library with AsyncIO support";

View File

@ -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";

View File

@ -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";

View File

@ -16,7 +16,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ pymorphy2 ];
pythonImportCheck = [ "yargy" ];
pythonImportsCheck = [ "yargy" ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests" ];