treewide: replace pythonImportCheck(s) with pythonImportsCheck (#392140)
This commit is contained in:
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
|
||||
# Unit tests are hard to use, since most tests rely on downloading
|
||||
# models from Hugging Face Hub.
|
||||
pythonImportCheck = [ "curated_transformers" ];
|
||||
pythonImportsCheck = [ "curated_transformers" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "PyTorch library of curated Transformer models and their composable components";
|
||||
|
||||
@@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
pythonImportChecks = [ "mergecal" ];
|
||||
pythonImportsCheck = [ "mergecal" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://mergecal.readthedocs.io/en/latest/";
|
||||
|
||||
@@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||
|
||||
# Unit tests are hard to use, since most tests rely on downloading
|
||||
# models from Hugging Face Hub.
|
||||
pythonImportCheck = [ "spacy_curated_transformers" ];
|
||||
pythonImportsCheck = [ "spacy_curated_transformers" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "spaCy entry points for Curated Transformers";
|
||||
|
||||
Reference in New Issue
Block a user