These changes aren't really specific to rocky but needed to support spk convert pip in our rocky 9 environment, where we've started building python without pip embedded in the same package.
After one builds a bootstrap package of python-pip using the bundled pip from python, then it is expected that it is possible to use spk convert pip -- pip, but this will fail to build due to the circular dependency. To overcome that, detect when "pip" is being converted and add the validation rules to allow the circular dependency.
These changes aren't really specific to rocky but needed to support
spk convert pip
in our rocky 9 environment, where we've started building python without pip embedded in the same package.After one builds a bootstrap package of python-pip using the bundled pip from python, then it is expected that it is possible to use
spk convert pip -- pip
, but this will fail to build due to the circular dependency. To overcome that, detect when "pip" is being converted and add the validation rules to allow the circular dependency.