-
Notifications
You must be signed in to change notification settings - Fork 912
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
[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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.TemporaryDirectory
which is only available in python 3.2 and above, so it must not be merged onto themelodic-devel
branch. With this PR (and #1870) I don't see anyros_comm
tests using Python 2, though many tests raiseModuleNotFoundError
when trying to import other packages.