-
Notifications
You must be signed in to change notification settings - Fork 225
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
Add types to rcutils_logger.py #1249
Conversation
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
fba7276
to
69ab5da
Compare
fc503f2
to
0a68da4
Compare
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
13a0469
to
4b0aa25
Compare
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
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Fixed RHEL failing |
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
@fujitatomoya Can you re-run the CI? It should be fixed now. |
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
@fujitatomoya the Windows failure should be fixed. |
@@ -25,6 +24,7 @@ | |||
from typing import Literal | |||
from typing import NamedTuple | |||
from typing import Optional | |||
from typing import OrderedDict |
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 fixes, https://ci.ros2.org/job/ci_windows/22308/testReport/junit/(root)/rclpy/___/
..\..\src\ros2\rclpy\rclpy\rclpy\logging.py:21: in <module>
from rclpy.impl.rcutils_logger import RcutilsLogger
..\..\src\ros2\rclpy\rclpy\rclpy\impl\rcutils_logger.py:254: in <module>
supported_filters: OrderedDict[SupportedFiltersKeys, Type[LoggingFilter]] = OrderedDict()
E TypeError: 'type' object is not subscriptable
@fujitatomoya Should Windows still be building? |
Pulls: #1249 |
@sloretz @clalancette This PR caused regression in multiple tests in rosbag2 with the error message:
You can see a full log from one of the failing jobs Curious if we can revert this PR? |
So we aren't seeing this failing in e.g. https://ci.ros2.org/view/nightly/job/nightly_linux_release/3164/ . My best guess is that the action there is using Ubuntu 22.04, instead of Ubuntu 24.04. Since we are only targeting Ubuntu 24.04, that action should probably be updated. |
Looks like the action is indeed running 22.04
|
Ok. Got it.
|
No description provided.