Bug#711269: python-eventlet: FTBFS: tests fail

2013-06-05 Thread Jakub Wilk

Source: python-eventlet
Version: 0.12.1-2
Severity: serious
Justification: fails to build from source

Once the problem with documentation (#711265) is fixed, python-eventlet 
still FTBFS, because of test failures:

| ==
| ERROR: test_change_subscription (tests.zmq_test.TestUpstreamDownStream)
| --
| Traceback (most recent call last):
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 
73, in wrapped
| return func(*a, **kw)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 
208, in test_change_subscription
| pub, sub, port = self.create_bound_pair(zmq.PUB, zmq.SUB)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 
38, in create_bound_pair
| s1 = self.context.socket(type1)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", 
line 123, in socket
| return Socket(self, socket_type)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", 
line 201, in __init__
| self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in 
__setattr__
| self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ==
| ERROR: test_close_during_recv (tests.zmq_test.TestUpstreamDownStream)
| --
| Traceback (most recent call last):
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 
73, in wrapped
| return func(*a, **kw)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 
375, in test_close_during_recv
| sender, receiver, port = self.create_bound_pair(zmq.XREQ, zmq.XREQ)
| AttributeError: 'module' object has no attribute 'XREQ'
|
| ==
| ERROR: test_close_linger (tests.zmq_test.TestUpstreamDownStream)
| --
| Traceback (most recent call last):
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 
73, in wrapped
| return func(*a, **kw)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 
67, in test_close_linger
| sock1, sock2, _ = self.create_bound_pair(zmq.PAIR, zmq.PAIR)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 
38, in create_bound_pair
| s1 = self.context.socket(type1)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", 
line 123, in socket
| return Socket(self, socket_type)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", 
line 201, in __init__
| self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in 
__setattr__
| self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ==
| ERROR: test_close_socket_raises_enotsup 
(tests.zmq_test.TestUpstreamDownStream)
| --
| Traceback (most recent call last):
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 
73, in wrapped
| return func(*a, **kw)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 
91, in test_close_socket_raises_enotsup
| req, rep, port = self.create_bound_pair(zmq.PAIR, zmq.PAIR)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 
38, in create_bound_pair
| s1 = self.context.socket(type1)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", 
line 123, in socket
| return Socket(self, socket_type)
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", 
line 201, in __init__
| self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in 
__setattr__
| self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ==
| ERROR: test_close_xsocket_raises_enotsup 
(tests.zmq_test.TestUpstreamDownStream)
| --
| Traceback (most recent call last):
|   File 
"/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 
73, in wrapped
| return func(*a, **kw)
|   

Bug#711269: python-eventlet: FTBFS: tests fail

2013-10-13 Thread David Suárez
Fixed in version 0.13.0-1, closing it.

David


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org