1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

celery: disable eventlet tests

eventlet cannot be imported in any tests because it fails to be imported
inside the sandboxed environment
This commit is contained in:
makefu 2017-09-25 11:11:43 +02:00
parent d7c26f24b9
commit d00ba8091f
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -2606,6 +2606,13 @@ in {
# https://github.com/celery/celery/pull/3736#issuecomment-274155454 from upstream
patches = [ ../development/python-modules/celery/fix_endless_python3.6_loop_logger_isa.patch ];
## importing of eventlet fails because of:
# _proto_tcp = socket.getprotobyname('tcp')
## raises an exception in the sandbox
preCheck = ''
rm ./t/unit/concurrency/test_eventlet.py
'';
buildInputs = with self; [ pytest case ];
propagatedBuildInputs = with self; [ kombu billiard pytz anyjson amqp eventlet ];