python3Packages.celery: fix build
This commit is contained in:
parent
abf8d39026
commit
466a19e266
1 changed files with 8 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, libredirect
|
||||
, case, pytest, boto3, moto, kombu, billiard, pytz, future, vine
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, billiard, click, click-didyoumean, click-repl, kombu, pytz, vine
|
||||
, boto3, case, moto, pytest, pytest-celery, pytest-subtests, pytest-timeout
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -12,13 +13,14 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/default.txt \
|
||||
--replace "kombu>=4.6.10,<4.7" "kombu"
|
||||
substituteInPlace requirements/test.txt \
|
||||
--replace "moto==1.3.7" moto \
|
||||
--replace "pytest>=4.3.1,<4.4.0" pytest
|
||||
--replace "moto==1.3.7" moto
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ billiard click click-didyoumean click-repl kombu pytz vine ];
|
||||
|
||||
checkInputs = [ boto3 case moto pytest pytest-celery pytest-subtests pytest-timeout ];
|
||||
|
||||
# ignore test that's incompatible with pytest5
|
||||
# test_eventlet touches network
|
||||
# test_mongodb requires pymongo
|
||||
|
@ -32,9 +34,6 @@ buildPythonPackage rec {
|
|||
--ignore=t/unit/backends/test_mongodb.py
|
||||
'';
|
||||
|
||||
checkInputs = [ case pytest boto3 moto ];
|
||||
propagatedBuildInputs = [ kombu billiard pytz future vine ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/celery/celery/";
|
||||
description = "Distributed task queue";
|
||||
|
|
Loading…
Reference in a new issue