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
This commit is contained in:
parent
8db3e9207d
commit
2fc6522c39
@ -2,6 +2,8 @@
|
|||||||
, pytestpep8, pytest, pyflakes }:
|
, pytestpep8, pytest, pyflakes }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
# upstream has abandoned project in favor of pytest-flake8
|
||||||
|
# retaining package to not break other packages
|
||||||
pname = "pytest-flakes";
|
pname = "pytest-flakes";
|
||||||
version = "4.0.0";
|
version = "4.0.0";
|
||||||
|
|
||||||
@ -11,9 +13,11 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytestpep8 pytest ];
|
checkInputs = [ pytestpep8 pytest ];
|
||||||
nativeBuildInputs = [ pytest ];
|
propagatedBuildInputs = [ pytest pyflakes ];
|
||||||
propagatedBuildInputs = [ pyflakes ];
|
|
||||||
|
|
||||||
|
# no longer passes
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "pytest_flakes" ];
|
||||||
# disable one test case that looks broken
|
# disable one test case that looks broken
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test test_flakes.py -k 'not test_syntax_error'
|
py.test test_flakes.py -k 'not test_syntax_error'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user