python3Packages.pytest_5: init at 5.4.3

This commit is contained in:
Jonathan Ringer
2020-08-16 17:44:59 -07:00
parent 619795114b
commit 2b9faf7def
2 changed files with 87 additions and 1 deletions
+7 -1
View File
@@ -2633,9 +2633,15 @@ in {
pythonPackages = self;
});
# pytest>=6 is too new for most packages
pytest = if isPy3k then self.pytest_5 else self.pytest_4;
pytest_5 = callPackage ../development/python-modules/pytest {
pytest_6 = callPackage ../development/python-modules/pytest {
# hypothesis tests require pytest that causes dependency cycle
hypothesis = self.hypothesis.override { doCheck = false; };
};
pytest_5 = callPackage ../development/python-modules/pytest/5.nix {
# hypothesis tests require pytest that causes dependency cycle
hypothesis = self.hypothesis.override { doCheck = false; };
};