[noetic] wrap rostest call to add python pointing to sys.executable in PATH#1879
Conversation
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
python pointing to sys.executable in PATH
Can you please reference some of the failing tests here to be able to determine what might cause this. |
|
|
That test ( |
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Yeah it seems unrelated to this PR. |
I am surprised since it is a declared dependency: ros_comm/test/test_rosbag/package.xml Line 35 in aedcece |
|
@ros-pull-request-builder retest this please edit: test failures, rerunning to check for flakiness, these are the old tests |
|
@ros-pull-request-builder retest this please |
dirk-thomas
left a comment
There was a problem hiding this comment.
Just waiting for the noetic-devel branch to be created.
Another possible solution to #1830. This adds a temporary directory with a symlink to python to the path variable.
This uses
tempfile.TemporaryDirectorywhich is only available in python 3.2 and above, so it must not be merged onto themelodic-develbranch. With this PR (and #1870) I don't see anyros_commtests using Python 2, though many tests raiseModuleNotFoundErrorwhen trying to import other packages.