spkenv / spk

A Package Manager for high velocity software environments, built on spfs.
https://spkenv.dev
Apache License 2.0
40 stars 6 forks source link

spk-convert-pip updates for rocky 9 support #1000

Closed jrray closed 8 months ago

jrray commented 8 months ago

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.