From 6481892b07167a83149a1eaff9532aef134ad3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 23 Dec 2020 20:53:28 +0100 Subject: [PATCH 1/4] pythonPackages.backports_unittest-mock: Disable tests --- .../python-modules/backports_unittest-mock/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/backports_unittest-mock/default.nix b/pkgs/development/python-modules/backports_unittest-mock/default.nix index a55eeff511fe..b85c642787e6 100644 --- a/pkgs/development/python-modules/backports_unittest-mock/default.nix +++ b/pkgs/development/python-modules/backports_unittest-mock/default.nix @@ -13,9 +13,14 @@ buildPythonPackage rec { buildInputs = [ setuptools_scm ]; + # does not contain tests + doCheck = false; + pythonImportsCheck = [ "backports.unittest_mock" ]; + meta = with stdenv.lib; { description = "Provides a function install() which makes the mock module"; homepage = "https://github.com/jaraco/backports.unittest_mock"; license = licenses.mit; + maintainers = with maintainers; [ SuperSandro2000 ]; }; } From 55f2b8026f638eb8494d0ab3213fc3c55a206d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 23 Dec 2020 20:53:42 +0100 Subject: [PATCH 2/4] pythonPackages.pytest-black: Disable tests --- pkgs/development/python-modules/pytest-black/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pytest-black/default.nix b/pkgs/development/python-modules/pytest-black/default.nix index 20b2483c9d16..6f23c00baf36 100644 --- a/pkgs/development/python-modules/pytest-black/default.nix +++ b/pkgs/development/python-modules/pytest-black/default.nix @@ -18,6 +18,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ black pytest toml ]; + # does not contain tests + doCheck = false; pythonImportsCheck = [ "pytest_black" ]; meta = with lib; { From bfec86dac43a19c1818b9170a9defe05a8c31c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 23 Dec 2020 20:53:58 +0100 Subject: [PATCH 3/4] pythonPackages.pytest-mypy: Disable tests --- pkgs/development/python-modules/pytest-mypy/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pytest-mypy/default.nix b/pkgs/development/python-modules/pytest-mypy/default.nix index 2d2a3264e741..9062284d5dfd 100644 --- a/pkgs/development/python-modules/pytest-mypy/default.nix +++ b/pkgs/development/python-modules/pytest-mypy/default.nix @@ -17,8 +17,13 @@ buildPythonPackage rec { }; nativeBuildInputs = [ setuptools_scm ]; + propagatedBuildInputs = [ pytest mypy filelock ]; + # does not contain tests + doCheck = false; + pythonImportsCheck = [ "pytest_mypy" ]; + meta = with lib; { description = "Mypy static type checker plugin for Pytest"; homepage = "https://github.com/dbader/pytest-mypy"; From 77d9213735c11d0913b3bbbca42b39b910e80fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 23 Dec 2020 20:54:09 +0100 Subject: [PATCH 4/4] pythonPackages.setuptools-scm-git-archive: Disable tests --- .../python-modules/setuptools-scm-git-archive/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix b/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix index 9c08871339a5..d2b464054969 100644 --- a/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix +++ b/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix @@ -14,6 +14,9 @@ buildPythonPackage rec { checkInputs = [ pytest ]; + doCheck = false; + pythonImportsCheck = [ "setuptools_scm_git_archive" ]; + meta = with stdenv.lib; { description = "setuptools_scm plugin for git archives"; homepage = "https://github.com/Changaco/setuptools_scm_git_archive";