-
Notifications
You must be signed in to change notification settings - Fork 249
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
Rename rclpy.qos.QoS*Policy to rclpy.qos.*Policy #1832
Rename rclpy.qos.QoS*Policy to rclpy.qos.*Policy #1832
Conversation
Signed-off-by: Christophe Bedard <[email protected]>
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.
@christophebedard LGTM.
However, I am curious how tests were passing with renamed from rclpy.qos import QoSDurabilityPolicy
?
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.
lgtm with green CI
Pulls: #1832 |
for not breaking the downstream packages, we have an alias for retroccompatibility. https://github.com/ros2/rclpy/blob/a09a0312cf9e2bbe0f6dc4467c72060a2fb74ce5/rclpy/rclpy/qos.py#L410 |
Yes, these were still working because there are aliases. And using those aliases does not trigger deprecation warnings. |
https://github.com/Mergifyio backport jazzy |
✅ Backports have been created
|
Signed-off-by: Christophe Bedard <[email protected]> (cherry picked from commit 786c3c4)
Signed-off-by: Christophe Bedard <[email protected]> (cherry picked from commit 786c3c4) Co-authored-by: Christophe Bedard <[email protected]>
Just a simple change. Although these names were not deprecated, they were renamed in ros2/rclpy#379.