Skip to content

Commit 93be0c7

Browse files
ref: upgrade structlog (#43680)
I think this fixes a breakage with xdist: ```console File "/home/runner/work/getsentry/getsentry/.venv/lib/python3.8/site-packages/sentry_sdk/integrations/logging.py", line 96, in sentry_patched_callhandlers return old_callhandlers(self, record) File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/logging/__init__.py", line 1661, in callHandlers hdlr.handle(record) File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/logging/__init__.py", line 954, in handle self.emit(record) File "/home/runner/work/getsentry/sentry/src/sentry/logging/handlers.py", line 92, in emit logger.log(**self.get_log_kwargs(record=record, logger=logger)) File "/home/runner/work/getsentry/getsentry/.venv/lib/python3.8/site-packages/structlog/_config.py", line 396, in __getattr__ return getattr(bl, name) AttributeError: 'BoundLoggerFilteringAtNotset' object has no attribute 'log' ``` <!-- Describe your PR here. -->
1 parent 894dc16 commit 93be0c7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

requirements-base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ sentry-sdk>=1.14.0
6060
snuba-sdk>=1.0.3
6161
simplejson>=3.17.6
6262
statsd>=3.3
63-
structlog>=21.1.0
63+
structlog>=22
6464
symbolic>=10.2.0
6565
toronado>=0.1.0
6666
typing-extensions>=3.10.0.2

requirements-dev-frozen.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ soupsieve==2.3.2.post1
166166
sqlparse==0.3.0
167167
statsd==3.3
168168
stripe==2.61.0
169-
structlog==21.1.0
169+
structlog==22.1.0
170170
symbolic==10.2.0
171171
tokenize-rt==5.0.0
172172
toml==0.10.2

requirements-frozen.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ soupsieve==2.3.2.post1
119119
sqlparse==0.3.0
120120
statsd==3.3
121121
stripe==2.61.0
122-
structlog==21.1.0
122+
structlog==22.1.0
123123
symbolic==10.2.0
124124
toronado==0.1.0
125125
trio==0.21.0

0 commit comments

Comments
 (0)