mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +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:
parent
d7c26f24b9
commit
d00ba8091f
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user