-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add distutils package needed by colcon. #1027
Conversation
Signed-off-by: Marco A. Gutierrez <marcogg@marcogg.com>
I'm willing to bet that this is a regression caused by #1026. The |
Also, somewhat ironically, this doesn't appear to fix the problem. In a fresh noble VM, the |
Oh, this is fun, I think I figured it out.
All three factors were needed for this behavior to manifest. My recommendation is to install |
I think that in the end we will likely need both the apt setuptools and distutils packages since Debian splits the modules into separate even though they're both part of setuptools upstream. |
Signed-off-by: Marco A. Gutierrez <marcogg@marcogg.com>
|
It's inconsequential. I have no idea why they did that. Installing
It does, however, work for Python 3.11:
The
|
tl;dr - Ignore Ubuntu's |
In a maintenance meeting, @cottsay and I have discussed the various fixes here: unconditionally installing setuptools, installing setuptools alongside the colcon package with the missing dependency, and since this is all arising because of the colcon version in upstream noble missing a runtime dependency on setuptools, updating our version of colcon-core so it has higher precedence than the upstream one again: That's being handled in ros-infrastructure/reprepro-updater#203 which is blocked on a deployment issue but moving forward. Let's hold off on either this PR or #1028 until that lands to see if it fixes this issue. |
Alright, I can now see At present, our I'm proposing that our |
The aforementioned "Replaces" change to |
Dev jobs are failing like: https://build.ros2.org/view/Rdev/job/Rdev__rqt_srv__ubuntu_noble_amd64/2/console with:
This PR adds
python3-distutils
to thedevel_task.Dockerfile.em
file in an effort to fix the missing dependency.