From 9a435111dbb766992faa116514fa1a683daef56f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A9clairevoyant?= <848000+eclairevoyant@users.noreply.github.com> Date: Sat, 22 Mar 2025 12:17:50 -0400 Subject: [PATCH] treewide: replace pythonImportCheck(s) with pythonImportsCheck --- .../development/python-modules/curated-transformers/default.nix | 2 +- pkgs/development/python-modules/mergecal/default.nix | 2 +- .../python-modules/spacy-curated-transformers/default.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/curated-transformers/default.nix b/pkgs/development/python-modules/curated-transformers/default.nix index 32a52a5fd06a..332b95fe060c 100644 --- a/pkgs/development/python-modules/curated-transformers/default.nix +++ b/pkgs/development/python-modules/curated-transformers/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/mergecal/default.nix b/pkgs/development/python-modules/mergecal/default.nix index 25d038f02b36..e8de357e0f30 100644 --- a/pkgs/development/python-modules/mergecal/default.nix +++ b/pkgs/development/python-modules/mergecal/default.nix @@ -37,7 +37,7 @@ buildPythonPackage rec { pytest-cov-stub ]; - pythonImportChecks = [ "mergecal" ]; + pythonImportsCheck = [ "mergecal" ]; meta = { homepage = "https://mergecal.readthedocs.io/en/latest/"; diff --git a/pkgs/development/python-modules/spacy-curated-transformers/default.nix b/pkgs/development/python-modules/spacy-curated-transformers/default.nix index 1a2cea820e5c..8624f1f003ff 100644 --- a/pkgs/development/python-modules/spacy-curated-transformers/default.nix +++ b/pkgs/development/python-modules/spacy-curated-transformers/default.nix @@ -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";