-
Notifications
You must be signed in to change notification settings - Fork 431
Deprecate ddtrace.propagation.utils #3068
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
Deprecate ddtrace.propagation.utils #3068
Conversation
The contents of ``ddtrace.propagation.utils.py`` have been moved into ``ddtrace.propagation._utils.py`` in an | ||
effort to internalize the module. Public methods have been imported back | ||
into ``ddtrace.propagation.utils.py`` in order to retain compatibility, but this module will be | ||
removed entirely in version 1.0.0. |
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.
We can probably simplify this message to be more like:
ddtrace.propagation.utils.from_wsgi_header
andddtrace.propagation.utils.get_wsgi_header
have been deprecated and will be removed in version 1.0.0.
Or, if they really are going to ddtrace.contrib.trace_utils
, we can just do that move now and state that as the release note.
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.
When I moved them to ddtrace.contrib.trace_utils
I got a circular import error because of the propagation.http module, so Kyle just recommended I go the normal deprecation route. I'll simplify the message!
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.
Actually I'd prefer we just say
ddtrace.propagation.utils
has been deprecated and will be removed in version 1.0.
Commit Message
In preparation for the 1.0 release where we'll remove the utils module.
Checklist