pythonPackages.pytest_32: move into celery

as that's the only consumer of this version of Pytest.
This commit is contained in:
Frederik Rietdijk 2018-08-13 11:51:42 +02:00
parent 381639716f
commit 4e659884f9
2 changed files with 13 additions and 11 deletions

View File

@ -2,7 +2,18 @@
pytest, case, kombu, billiard, pytz, anyjson, amqp, eventlet
}:
buildPythonPackage rec {
let
# Needed for celery
pytest_32 = pytest.overridePythonAttrs( oldAttrs: rec {
version = "3.2.5";
src = oldAttrs.src.override {
inherit version;
sha256 = "6d5bd4f7113b444c55a3bbb5c738a3dd80d43563d063fc42dcb0aaefbdd78b81";
};
});
in buildPythonPackage rec {
pname = "celery";
version = "4.2.0";

View File

@ -1455,7 +1455,7 @@ in {
'';
};
celery = callPackage ../development/python-modules/celery { pytest = self.pytest_32; };
celery = callPackage ../development/python-modules/celery { };
cerberus = callPackage ../development/python-modules/cerberus { };
@ -1839,15 +1839,6 @@ in {
hypothesis = self.hypothesis.override { doCheck = false; };
};
# Needed for celery
pytest_32 = self.pytest_37.overridePythonAttrs( oldAttrs: rec {
version = "3.2.5";
src = oldAttrs.src.override {
inherit version;
sha256 = "6d5bd4f7113b444c55a3bbb5c738a3dd80d43563d063fc42dcb0aaefbdd78b81";
};
});
pytest-httpbin = callPackage ../development/python-modules/pytest-httpbin { };
pytest-asyncio = callPackage ../development/python-modules/pytest-asyncio { };