getsentry / raven-python

Raven is the legacy Python client for Sentry (getsentry.com) — replaced by sentry-python
https://sentry.io
BSD 3-Clause "New" or "Revised" License
1.68k stars 657 forks source link

Tornado 5.0 release broke our build on Trusty #1206

Closed robvdl closed 6 years ago

robvdl commented 6 years ago

Can tornado please be pinned in raven, it's crashing on Trusty ever since Tornado 5.0 has been released, fine with Tornado 4.5.3

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/octocommon/logfilters.py", line 3, in <module>
    from raven.contrib.django.raven_compat.handlers import SentryHandler
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/raven/__init__.py", line 54, in <module>
    from raven.base import *  # NOQA
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/raven/base.py", line 37, in <module>
    from raven.conf.remote import RemoteConfig
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/raven/conf/remote.py", line 36, in <module>
    DEFAULT_TRANSPORT = discover_default_transport()
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/raven/conf/remote.py", line 18, in discover_default_transport
    from raven.transport.threaded import ThreadedHTTPTransport
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/raven/transport/__init__.py", line 18, in <module>
    from raven.transport.registry import *  # NOQA
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/raven/transport/registry.py", line 19, in <module>
    from raven.transport.tornado import TornadoHTTPTransport
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/raven/transport/tornado.py", line 17, in <module>
    from tornado.httpclient import AsyncHTTPClient, HTTPClient
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/tornado/httpclient.py", line 49, in <module>
    from tornado import gen, httputil, stack_context
  File "/usr/share/parcelcollectbroker/venv/lib/python3.4/site-packages/tornado/gen.py", line 1295, in <module>
    _wrap_awaitable = asyncio.ensure_future
AttributeError: 'module' object has no attribute 'ensure_future'