diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-05-10 10:53:48 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-05-11 22:13:16 +0200 |
commit | 2fc6522c3926218e2634537613b2e18bb58c214f (patch) | |
tree | 5924381bf6fa9ea2d2668bf311fe4d379cf8470a /pkgs/development/python-modules/pytest-flakes | |
parent | 8db3e9207dbaf486877693133304a892bb36886f (diff) |
python3Packages.pytest-flakes: disable check, use pythonImportsCheck
Upstream has abandoned this package Keeping this package around as to not break the many other packages which use this as a test dependency
Diffstat (limited to 'pkgs/development/python-modules/pytest-flakes')
-rw-r--r-- | pkgs/development/python-modules/pytest-flakes/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pytest-flakes/default.nix b/pkgs/development/python-modules/pytest-flakes/default.nix index d1f06b03a8d3a..bae42301982c4 100644 --- a/pkgs/development/python-modules/pytest-flakes/default.nix +++ b/pkgs/development/python-modules/pytest-flakes/default.nix @@ -2,6 +2,8 @@ , pytestpep8, pytest, pyflakes }: buildPythonPackage rec { + # upstream has abandoned project in favor of pytest-flake8 + # retaining package to not break other packages pname = "pytest-flakes"; version = "4.0.0"; @@ -11,9 +13,11 @@ buildPythonPackage rec { }; checkInputs = [ pytestpep8 pytest ]; - nativeBuildInputs = [ pytest ]; - propagatedBuildInputs = [ pyflakes ]; + propagatedBuildInputs = [ pytest pyflakes ]; + # no longer passes + doCheck = false; + pythonImportsCheck = [ "pytest_flakes" ]; # disable one test case that looks broken checkPhase = '' py.test test_flakes.py -k 'not test_syntax_error' |