-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
My CI started failing a few days ago with the following types of errors (not just for rosidl_adapter).
Finished <<< opensplice_cmake_module [4.29s]
stderr: rosidl_adapter
CMake Warning at /root/ros2_ws/ros2_base/install/share/ament_cmake_pytest/cmake/ament_add_pytest_test.cmake:73 (message):
The Python module 'pytest' was not found, pytests can not be run (e.g. on
Ubuntu/Debian install the package 'python3-pytest')
Call Stack (most recent call first):
CMakeLists.txt:31 (ament_add_pytest_test)
After some troubleshooting this seems to be due to the fact that when pytest is installed through pip, it installs version 4.6.1 which seems to clobber some of the other ROS python dependencies.
When this version is installed and I run: python3 -m pytest --version, it fails with a dist error.
If i remove the pip version everything works ok:
RUN python3 -m pip uninstall pytest -y
I think the build directions should be updated with a workaround for this issue: https://index.ros.org/doc/ros2/Installation/Dashing/Linux-Development-Setup/
pbaughman and mobydoby
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working