-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(py3): Bump structlog #19877
chore(py3): Bump structlog #19877
Conversation
There's barely any coverage. Only We seem to have customized structlog pretty deeply... have a look at FWIW there is a https://www.structlog.org/en/stable/api.html#structlog.processors.JSONRenderer, I don't know if there's a reason we roll our own. Maybe @JTCunning can shed some light on that one. |
Other considerations include:
|
Yeah I'm already reading all of this and talking with James :) |
I think there's no problem bumping structlog to a known python3 compatible version (which is really all this is, since the version bump just brings us to a version where py3 tests are running). When we bump simplejson we can circle back to this and make sure things look OK. |
Yeah, I agree. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks safe to me. Browsing through their changes it's mostly docs and things that shouldn't affect us
Version 17.1.0 is the first to support python3. We were on 16.1, this is a single release bump.
Notable changes:
hynek/structlog@cf5d57c -
ConsoleRenderer
has become the default processor.This does not affect us as we have already configured our own processors:
sentry/src/sentry/runner/initializer.py
Lines 220 to 226 in 9791f3b
hynek/structlog@705d3a3 - The
TimeStamper
processor now uses more accurate timestamps.We do NOT use this processor
hynek/structlog@065b69a -
ProcessorFormatter
is added. This is purely an addition.We do NOT use this processor
hynek/structlog@e4731ba. - The
PositionalArgumentsFormatter
(which we DO use), has had a minor fix for PositionalArgumentsFormatter does not remove empty list of args hynek/structlog#82This is a minor change and shouldn't break anything
Pretty much all of the other changes are documentation changes, or minor code changes.
Overall this bump should be trivial.