mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
pythonPackages.kombu: Enable for python > 2.7
Only tests cannot run on python3* because dependencies are unavailable
(qpid-python). Kombu is announced to work fine for python3[1]
[1] a4edc670f4/setup.py (L168-L170)
This commit is contained in:
parent
5c7708e568
commit
853209dde9
@ -12137,13 +12137,13 @@ in modules // {
|
||||
};
|
||||
|
||||
# most of these are simply to allow the test suite to do its job
|
||||
buildInputs = with self; [ mock unittest2 nose redis qpid-python pymongo sqlalchemy pyyaml msgpack boto ];
|
||||
buildInputs = with self; optionals isPy27 [ mock unittest2 nose redis qpid-python pymongo sqlalchemy pyyaml msgpack boto ];
|
||||
|
||||
propagatedBuildInputs = with self; [ amqp anyjson ] ++
|
||||
(optionals (pythonOlder "2.7") [ importlib ordereddict ]);
|
||||
|
||||
# tests broken on python 2.6? https://github.com/nose-devs/nose/issues/806
|
||||
doCheck = (pythonAtLeast "2.7");
|
||||
doCheck = isPy27;
|
||||
|
||||
meta = {
|
||||
description = "Messaging library for Python";
|
||||
|
Loading…
Reference in New Issue
Block a user