From 8b14338b1fabcccd55ded5eae5fde8b5951d12be Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 21 Jul 2023 15:33:42 +0200 Subject: [PATCH 1/4] python310Packages.para: put nose in nativeCheckInputs --- pkgs/development/python-modules/para/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/para/default.nix b/pkgs/development/python-modules/para/default.nix index af46ab30fd23..e1f3f828120f 100644 --- a/pkgs/development/python-modules/para/default.nix +++ b/pkgs/development/python-modules/para/default.nix @@ -1,8 +1,8 @@ { lib , buildPythonPackage , fetchPypi -, pytestCheckHook , nose +, pytestCheckHook }: buildPythonPackage rec { @@ -14,9 +14,10 @@ buildPythonPackage rec { hash = "sha256-RsMjKunY6p2IbP0IzdESiSICvthkX0C2JVWXukz+8hc="; }; - nativeCheckInputs = [ pytestCheckHook ]; - - checkInputs = [ nose ]; + nativeCheckInputs = [ + nose + pytestCheckHook + ]; pythonImportsCheck = [ "para" ]; From 2b6c79aaa443af836c17ca0ca7f628ab972037f1 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 23 Jul 2023 12:46:45 +0200 Subject: [PATCH 2/4] python310Packages.mwxml: put nose in nativeCheckInputs --- pkgs/development/python-modules/mwxml/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mwxml/default.nix b/pkgs/development/python-modules/mwxml/default.nix index 5c66e2269163..792b52f01abc 100644 --- a/pkgs/development/python-modules/mwxml/default.nix +++ b/pkgs/development/python-modules/mwxml/default.nix @@ -4,8 +4,8 @@ , jsonschema , mwcli , mwtypes -, pytestCheckHook , nose +, pytestCheckHook }: buildPythonPackage rec { @@ -23,9 +23,10 @@ buildPythonPackage rec { mwtypes ]; - nativeCheckInputs = [ pytestCheckHook ]; - - checkInputs = [ nose ]; + nativeCheckInputs = [ + nose + pytestCheckHook + ]; disabledTests = [ "test_page_with_discussion" From 932c3af5227175ea67dcd701eeaa86d70cbee75d Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 23 Jul 2023 12:47:16 +0200 Subject: [PATCH 3/4] python310Packages.mwtypes: put nose in nativeCheckInputs --- pkgs/development/python-modules/mwtypes/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mwtypes/default.nix b/pkgs/development/python-modules/mwtypes/default.nix index 13e617599129..89e693dda89a 100644 --- a/pkgs/development/python-modules/mwtypes/default.nix +++ b/pkgs/development/python-modules/mwtypes/default.nix @@ -2,8 +2,8 @@ , buildPythonPackage , fetchPypi , jsonable -, pytestCheckHook , nose +, pytestCheckHook }: buildPythonPackage rec { @@ -17,9 +17,10 @@ buildPythonPackage rec { propagatedBuildInputs = [ jsonable ]; - nativeCheckInputs = [ pytestCheckHook ]; - - checkInputs = [ nose ]; + nativeCheckInputs = [ + nose + pytestCheckHook + ]; disabledTests = [ "test_normalize_path_bad_extension" From e55fa9110d9d92cdbbed0ab1d3a22880d323a68b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 23 Jul 2023 12:47:57 +0200 Subject: [PATCH 4/4] python310Packages.jsonable: put nose in nativeCheckInputs --- pkgs/development/python-modules/jsonable/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/jsonable/default.nix b/pkgs/development/python-modules/jsonable/default.nix index eabd310cb763..705087674adb 100644 --- a/pkgs/development/python-modules/jsonable/default.nix +++ b/pkgs/development/python-modules/jsonable/default.nix @@ -1,8 +1,8 @@ { lib , buildPythonPackage , fetchFromGitHub -, pytestCheckHook , nose +, pytestCheckHook }: buildPythonPackage rec { @@ -16,9 +16,10 @@ buildPythonPackage rec { hash = "sha256-3FIzG2djSZOPDdoYeKqs3obQjgHrFtyp0sdBwZakkHA="; }; - nativeCheckInputs = [ pytestCheckHook ]; - - checkInputs = [ nose ]; + nativeCheckInputs = [ + nose + pytestCheckHook + ]; pythonImportsCheck = [ "jsonable" ];