-
Notifications
You must be signed in to change notification settings - Fork 773
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] changes to make it work with Python3 #1069
[Noetic] changes to make it work with Python3 #1069
Conversation
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
For some reason when the second test starts in I tested each one of them individually, and it works. any thoughts? |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Chnged enviroment variable |
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.
A few minor comments. Should the Python files have python3
in the shebang or are they intended to still support python 2?
gazebo_ros
tests worked for me. I didn't run the gazebo_plugins
tests (that's problem on my end. I can't get its dependencies to compile yet...)
Co-Authored-By: Mabel Zhang <mabel.m.zhang@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
shebang lines look like : |
I think for Python3, usually the shebang lines would look like |
@mabelzhang @ahcorde IIUC PEP 394 recommends shebangs match the python version ( |
Thank you for the clarification and the link! |
Signed-off-by: ahcorde <ahcorde@gmail.com>
the scripts in gazebo_ros are written in bash not in Python. Should I install them with |
Definitely not. If they're bash scripts, what has the |
|
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
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! Tests pass on my machine using Gazebo 11 (currently using gazebo11 from packages.osrfoundation.org, but hope to use packages.ros.org when that becomes available).
@chapulina @j-rivero I think this should go in before the other Noetic PRs since it has changes required for Noetic. Mind taking a look, and if it looks ok then merging it? |
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.
Works for me. Let's just merge it like this, but beware that the *11
rosdep keys are not working yet, see ros-infrastructure/reprepro-updater#75 (comment).
* Noetic - changes to make it work with Python3 Signed-off-by: ahcorde <ahcorde@gmail.com> Co-authored-by: Mabel Zhang <mabel.m.zhang@gmail.com> Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
* Noetic - changes to make it work with Python3 Signed-off-by: ahcorde <ahcorde@gmail.com> Co-authored-by: Mabel Zhang <mabel.m.zhang@gmail.com> Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
Changes to make it work with Python3
Signed-off-by: ahcorde ahcorde@gmail.com