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

Fix rosbag2_py on Windows debug and stop ignoring the package #531

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

ivanpauno
Copy link
Member

@ivanpauno ivanpauno commented Oct 2, 2020

Depends on #529.

Fixes #504.
This deletes the AMENT_IGNORE file in rosbag2_py folder, as the two issues has been fixed now.

@ivanpauno ivanpauno added the bug Something isn't working label Oct 2, 2020
@ivanpauno ivanpauno requested a review from a team as a code owner October 2, 2020 21:26
@ivanpauno ivanpauno self-assigned this Oct 2, 2020
@ivanpauno ivanpauno requested review from emersonknapp and jaisontj and removed request for a team October 2, 2020 21:26
@ivanpauno
Copy link
Member Author

  • Windows debug Build Status

@ivanpauno ivanpauno changed the base branch from master to ivanpauno/fix_issue_505_linux October 2, 2020 21:32
@ivanpauno ivanpauno force-pushed the ivanpauno/fix_issue_504_windows branch from f361135 to a3bd925 Compare October 2, 2020 21:39
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

Thanks for figuring this out 🙇

rosbag2_py/test/common.py Outdated Show resolved Hide resolved
Copy link
Contributor

@mabelzhang mabelzhang 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! I think the yellow is the linter complaining about something. Approve on green CI

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno ivanpauno force-pushed the ivanpauno/fix_issue_504_windows branch from 9b14e40 to 35fe856 Compare October 5, 2020 13:12
@ivanpauno ivanpauno changed the base branch from ivanpauno/fix_issue_505_linux to master October 5, 2020 13:14
@ivanpauno
Copy link
Member Author

CI jobs (lots of them):

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

  • Linux with clang/libc++ Build Status
  • Windows debug Build Status

@ivanpauno
Copy link
Member Author

Going in, thanks for the review @Karsten1987!

@ivanpauno ivanpauno changed the title Fix rosbag2_py on Windows debug Fix rosbag2_py on Windows debug and stop ignoring the package Oct 5, 2020
@ivanpauno ivanpauno merged commit 67e27e1 into master Oct 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the ivanpauno/fix_issue_504_windows branch October 5, 2020 16:54
emersonknapp pushed a commit that referenced this pull request Feb 2, 2021
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
sloretz added a commit to ros2/rclpy that referenced this pull request Feb 16, 2021
Copies windows debug fixes from rosbag2_py for using Pybind11 on Windows
debug and RelWithDebInfo.

For more info see the original PRs

ros2/rosbag2#538
ros2/rosbag2#531

Signed-off-by: Shane Loretz <sloretz@openrobotics.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
emersonknapp pushed a commit that referenced this pull request Feb 17, 2021
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
sloretz added a commit to ros2/rclpy that referenced this pull request Feb 23, 2021
Copies windows debug fixes from rosbag2_py for using Pybind11 on Windows
debug and RelWithDebInfo.

For more info see the original PRs

ros2/rosbag2#538
ros2/rosbag2#531

Signed-off-by: Shane Loretz <sloretz@openrobotics.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
sloretz added a commit to ros2/rclpy that referenced this pull request Feb 24, 2021
* Copy windows debug fixes for pybind11

Copies windows debug fixes from rosbag2_py for using Pybind11 on Windows
debug and RelWithDebInfo.

For more info see the original PRs

ros2/rosbag2#538
ros2/rosbag2#531

Signed-off-by: Shane Loretz <sloretz@openrobotics.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Workaround for consistent Py_DEBUG macro

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* fix argument order

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Does PUBLIC Py_DEBUG resolve differences?

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Don't include Python.h if including pybind11.h

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Remove Py_DEBUG if target doesn't use pybind11

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rosbag2_py test errors in Windows Debug nightlies
4 participants