pythonPackges.hypothesis, pythonPackages.pytest: simpify dependency cycle fix
This commit is contained in:
parent
2badf9a6f8
commit
acbee90e2b
@ -20,9 +20,9 @@ buildPythonPackage rec {
|
|||||||
sha256 = "063sn5m1966gvm3wrlxczdq4vw0r94h3nd9xpr94qxahpg2r4bpb";
|
sha256 = "063sn5m1966gvm3wrlxczdq4vw0r94h3nd9xpr94qxahpg2r4bpb";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest pytest_xdist flaky mock ];
|
|
||||||
propagatedBuildInputs = [ attrs coverage ] ++ lib.optional (!isPy3k) [ enum34 ];
|
propagatedBuildInputs = [ attrs coverage ] ++ lib.optional (!isPy3k) [ enum34 ];
|
||||||
|
|
||||||
|
checkInputs = [ pytest pytest_xdist flaky mock ];
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
|
|
||||||
# https://github.com/DRMacIver/hypothesis/issues/300
|
# https://github.com/DRMacIver/hypothesis/issues/300
|
||||||
|
@ -1923,11 +1923,8 @@ in {
|
|||||||
pytest = self.pytest_36;
|
pytest = self.pytest_36;
|
||||||
|
|
||||||
pytest_36 = callPackage ../development/python-modules/pytest {
|
pytest_36 = callPackage ../development/python-modules/pytest {
|
||||||
hypothesis = self.hypothesis.override {
|
# hypothesis tests require pytest that causes dependency cycle
|
||||||
# hypothesis requires pytest that causes dependency cycle
|
hypothesis = self.hypothesis.override { doCheck = false; };
|
||||||
doCheck = false;
|
|
||||||
pytest = null;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Needed for celery
|
# Needed for celery
|
||||||
|
Loading…
Reference in New Issue
Block a user