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

Switch to unittest.mock #78

Merged
merged 1 commit into from
May 1, 2023
Merged

Switch to unittest.mock #78

merged 1 commit into from
May 1, 2023

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Apr 7, 2023

The mock package has been integrated into unittest since Python 3.3, which includes all supported distributions of ROS 2.

Should resolve the current build failures on RHEL 9: https://build.ros2.org/view/Rbin_rhel_el964/job/Rbin_rhel_el964__urdfdom_py__rhel_9_x86_64__binary/

The mock package has been integrated into unittest since Python 3.3,
which includes all supported distributions of ROS 2.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay requested a review from clalancette as a code owner April 7, 2023 17:24
@cottsay cottsay self-assigned this Apr 7, 2023
@clalancette
Copy link
Contributor

Once we are out of Rolling sync hold, I'll merge this and do releases.

@clalancette clalancette merged commit 41dadc6 into ros2 May 1, 2023
@clalancette clalancette deleted the cottsay/unittest-mock branch May 1, 2023 21:09
clalancette added a commit to ros2/ros_buildfarm_config that referenced this pull request May 1, 2023
With the merge of ros/urdf_parser_py#78,
it should build now.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette
Copy link
Contributor

See also ros2/ros_buildfarm_config#272 , where we unblacklist this.

cottsay pushed a commit to ros2/ros_buildfarm_config that referenced this pull request May 3, 2023
With the merge of ros/urdf_parser_py#78,
it should build now.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
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.

2 participants