File tree 4 files changed +8
-5
lines changed
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 10
10
* Fix a bug in the Celery integration that would drop pending events during
11
11
worker shutdown (particularly an issue when running with `max_tasks_per_child
12
12
= 1`)
13
+ * Fix a bug with ` repr ` ing locals whose ` __repr__ ` simultaneously changes the
14
+ WSGI environment or other data that we're also trying to serialize at the
15
+ same time.
13
16
14
17
## 0.7.6
15
18
Original file line number Diff line number Diff line change 42
42
)
43
43
44
44
45
- VERSION = "0.7.6 "
45
+ VERSION = "0.7.7 "
46
46
DEFAULT_SERVER_NAME = socket .gethostname () if hasattr (socket , "gethostname" ) else None
47
47
DEFAULT_OPTIONS = {
48
48
"dsn" : None ,
Original file line number Diff line number Diff line change 1
- import sys
2
1
import weakref
3
2
from inspect import iscoroutinefunction
4
3
5
4
from sentry_sdk .hub import Hub , _should_send_default_pii
6
5
from sentry_sdk .utils import (
6
+ HAS_REAL_CONTEXTVARS ,
7
7
event_from_exception ,
8
8
capture_internal_exceptions ,
9
9
transaction_from_function ,
@@ -39,11 +39,11 @@ def setup_once():
39
39
if tornado_version is None or tornado_version < (5 , 0 ):
40
40
raise RuntimeError ("Tornado 5+ required" )
41
41
42
- if sys . version_info < ( 3 , 7 ) :
42
+ if not HAS_REAL_CONTEXTVARS :
43
43
# Tornado is async. We better have contextvars or we're going to leak
44
44
# state between requests.
45
45
raise RuntimeError (
46
- "The tornado integration for Sentry requires Python 3.7+ "
46
+ "The tornado integration for Sentry requires Python 3.6+ or the aiocontextvars package "
47
47
)
48
48
49
49
ignore_logger ("tornado.application" )
Original file line number Diff line number Diff line change 12
12
13
13
setup (
14
14
name = "sentry-sdk" ,
15
- version = "0.7.6 " ,
15
+ version = "0.7.7 " ,
16
16
author = "Sentry Team and Contributors" ,
17
17
author_email = "hello@getsentry.com" ,
18
18
url = "https://github.com/getsentry/sentry-python" ,
You can’t perform that action at this time.
0 commit comments