You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is rosdep install --skip-keys="pkg-a pkg-b" meant to skip not just the pkgs pkg-a, pkg-b but also the dependency of those 2 pkgs? That's what I expect, but it's not clear from its help.
Citing help on humble
--skip-keys=SKIP_KEYS
Affects the 'check' and 'install' verbs. The specified
rosdep keys will be ignored, i.e. not resolved and not
installed. The option can be supplied multiple times.
A space separated list of rosdep keys can also be
passed as a string. A more permanent solution to
locally ignore a rosdep key is creating a local rosdep
rule with an empty list of packages (include it in
/etc/ros/rosdep/sources.list.d/ before the defaults).
If the understanding above is wrong, don't read further, this ticket should be immediately closed.
Issue
rosdep install --skip-keys="pkg-a pkg-b" seems to skip pkg-a, pkg-b pkgs but still installs the dependency of those 2 pkgs.
Verifying the issue statement
In the test done (explained in the folded clause), I expect the transitive dependency (opengl-related pkgs) won't get installed.
Detail of the verification step
Test I did is a bit too elaborated unnecessarilly. Hope it's still valid test to verify the issue...
Spec of a quick test I did:
Done on osrf/space-ros:humble-2024.07.0 Docker image.
In this test, I run rosdep with rviz pkg suite that is customized for this test only. And see if OPENGL-related pkgs get installed. Dep tree in this custom suite looks like the following graph (pkgs that are not mentioned here are removed for the sake of the test) so opengl is a transitive dependency, and if it does get installed that's the reported issue:
Originally from space-ros/space-ros#189 (reply in thread)
Clarification first
Is
rosdep install --skip-keys="pkg-a pkg-b"
meant to skip not just the pkgspkg-a, pkg-b
but also the dependency of those 2 pkgs? That's what I expect, but it's not clear from its help.Citing help on humble
If the understanding above is wrong, don't read further, this ticket should be immediately closed.
Issue
rosdep install --skip-keys="pkg-a pkg-b"
seems to skippkg-a, pkg-b
pkgs but still installs the dependency of those 2 pkgs.Verifying the issue statement
In the test done (explained in the folded clause), I expect the transitive dependency (
opengl
-related pkgs) won't get installed.Detail of the verification step
Test I did is a bit too elaborated unnecessarilly. Hope it's still valid test to verify the issue...
Spec of a quick test I did:
Done on
osrf/space-ros:humble-2024.07.0
Docker image.In this test, I run
rosdep
with rviz pkg suite that is customized for this test only. And see ifOPENGL
-related pkgs get installed. Dep tree in this custom suite looks like the following graph (pkgs that are not mentioned here are removed for the sake of the test) soopengl
is a transitive dependency, and if it does get installed that's the reported issue:More detail of the test
rviz2
pkg to only depend on these 2 pkgs i.e.:rosdep
key ofopengl
seems to installlibgl1-mesa-dev, libglu1-mesa-dev
on Ubuntu.On this Docker img, the pkgs in question are not installed yet.
Prep
Result
I do see the 2 pkgs (the rosdep key
opengl
corresponds to) get installed.The text was updated successfully, but these errors were encountered: