Skip to content
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

replace removeprefix with string slicing. #953

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

fujitatomoya
Copy link
Collaborator

closes #909

Copy link
Collaborator Author

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clalancette @ahcorde requesting review.

@fujitatomoya fujitatomoya self-assigned this Dec 12, 2024
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me with green CI.

@fujitatomoya
Copy link
Collaborator Author

Pulls: #953
Gist: https://gist.githubusercontent.com/fujitatomoya/fb544178fb206617fd328f441858d411/raw/2ac39389bf07a1976d43ef60337e5fd715590ce8/ros2.repos
BUILD args: --packages-above-and-dependencies ros2cli
TEST args: --packages-above ros2cli
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14953

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Collaborator Author

I really do not think the following access violation is generated by this PR.

--- stderr: test_launch_ros
01:30:33 Windows fatal exception: access violation
01:30:33 
01:30:33 Thread 0x00002ad4 (most recent call first):
01:30:33   File "C:\ci\ws\install\Lib\site-packages\rclpy\executors.py", line 718 in _wait_for_ready_callbacks
01:30:33   File "C:\ci\ws\install\Lib\site-packages\rclpy\executors.py", line 814 in wait_for_ready_callbacks
01:30:33   File "C:\ci\ws\install\Lib\site-packages\rclpy\executors.py", line 844 in _spin_once_impl
01:30:33   File "C:\ci\ws\install\Lib\site-packages\rclpy\executors.py", line 860 in spin_once
01:30:33   File "C:\ci\ws\install\Lib\site-packages\launch_ros\ros_adapters.py", line 77 in _run
01:30:33   File "C:\Python38\lib\threading.py", line 870 in run
01:30:33   File "C:\Python38\lib\threading.py", line 932 in _bootstrap_inner
01:30:33   File "C:\Python38\lib\threading.py", line 890 in _bootstrap

retry CI windows.

  • Windows Build Status

@fujitatomoya fujitatomoya merged commit 35d6abd into rolling Dec 17, 2024
2 of 3 checks passed
@fujitatomoya
Copy link
Collaborator Author

this is originally required for already released distros.

@Mergifyio backport humble jazzy

@clalancette clalancette deleted the fujitatomoya/not-use-str-removeprefix branch December 17, 2024 18:36
@clalancette
Copy link
Contributor

@Mergifyio backport humble jazzy

Copy link

mergify bot commented Dec 17, 2024

backport humble jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Dec 17, 2024
Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 35d6abd)
fujitatomoya added a commit that referenced this pull request Dec 17, 2024
Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 35d6abd)

Co-authored-by: Tomoya Fujita <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

removeprefix breaks compatibility with source builds on Nvidia Jetson
2 participants