Wiz tries to guess the namespace when no namespace is being given to him, so we usually want to give fully qualified name in definition requirements to ensure that the expected one is being picked.
# No namespace given
> wiz use foo
# Explicitly fetch definition without namespace
> wiz use ::foo
# Explicitly fetch definition with namespace
> wiz use namespace::foo
However, Qip is creating definitions which require python instead of ::python. This is done on purpose so it can pick a different python when it is required (e.g. maya::python, flame::python).
The issue is that the namespace can be guessed from definitions which are automatically used but conditioned to another definition. For instance:
The graph doesn't really have any way to distinguish implicit and explicit requests, so the namespace extraction from initial requirements must be done upstream.
Within the graph, the counter should be updated only when a node is created to prevent nodes with unfulfilled conditions to influence the package extraction process in any way.
Wiz tries to guess the namespace when no namespace is being given to him, so we usually want to give fully qualified name in definition requirements to ensure that the expected one is being picked.
However, Qip is creating definitions which require
python
instead of::python
. This is done on purpose so it can pick a different python when it is required (e.g.maya::python
,flame::python
).The issue is that the namespace can be guessed from definitions which are automatically used but conditioned to another definition. For instance:
Having this definition will cause
maya::python
to be picked all the time overpython
.To fix this bug, we need to ensure that namespace is not guessed from conditioned packages.