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

Use setuptools instead of distutils #115

Merged
merged 3 commits into from
Jan 24, 2020
Merged

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Jan 24, 2020

On Debian Buster and Ubuntu Focal distutils has been split to a separate package. With ros/catkin#1048 catkin will prefer to use setuptools instead of distutils. Catkin exports a buildtool depend for python3-setuptools, but it does not do the same for Python 2. Since this PR is targeting the kinetic-devel branch, it both switches to setuptools to match catkin's preference and adds a <buildtool_depend> on python-setuptools so it still works when ROS_PYTHON_VERSION is 2.

@sloretz sloretz self-assigned this Jan 24, 2020
@sloretz
Copy link
Contributor Author

sloretz commented Jan 24, 2020

Oops, ros/catkin#1048 needs to be released to ROS Noetic for this PR to pass. Working on it.

@sloretz
Copy link
Contributor Author

sloretz commented Jan 24, 2020

@ros-pull-request-builder retest this please

@dirk-thomas
Copy link
Member

I am wondering if adding an explicit dependency on python3-setuptools would be cleaner.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz
Copy link
Contributor Author

sloretz commented Jan 24, 2020

I am wondering if adding an explicit dependency on python3-setuptools would be cleaner.

Explicit dependency in 1aa4fa6

@dirk-thomas dirk-thomas merged commit 2c91153 into kinetic-devel Jan 24, 2020
@dirk-thomas dirk-thomas deleted the sloretz/setuptools branch January 24, 2020 17:28
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