cast_self in UP_TRIGGERS doesn't seem to read DEPENDS (Bug #402)
Description
This bug report is in reference to grimoire commits:
075e265fe04fb3acfe50a2d682b38edfb1f6fc97
3f7e58fad3de8397e4a3e26b565a677ae14f556c
When UP_TRIGGERS in pygobject3 triggers a cast_self on pygobject, it doesn't seem to remove the optional dependency on gobject-introspection. Thus, pygobject will be recast every time pygobject3 is cast if the optional_dependency on gobject-introspection was enabled initially.
However, when I manually cast pygobject the optional dependency is removed.
libtriggers seems to indicate that check_self runs cast -c, so I am confused as to what the difference is. I assume that DEPENDS is not being read when the spell is triggered by UP_TRIGGERS. Or is this the intended outcome?