treewide: replace pythonImportCheck(s) with pythonImportsCheck (#392140)

This commit is contained in:
Weijia Wang
2025-04-05 13:11:14 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
@@ -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";