This is a request for feature to block packages from being converted with the convert tool. Specifically for a safeguard on spk convert pip to not install python-X if X already exists in SPK.
This has nearly bitten us (SPI) a couple of times. The example spk package is opencolorio, which exists in our repo and provides valid python bindings. The problem package is the pypi opencolorio that is converted to python-opencolorio by spk convert pip ... typically as part of a dependency of another top-level python packages that's being converted. python-opencolorio provides conflicting opencolorio bindings and this may lead you subtle issues that we want to avoid (based on assumptions of names and capabilities that are not correct). Another example of this is openimageio.
So we'd like a way to prevent this from occuring throughspk convert pip ... commands. At the moment, someone converting a top-level package might not be aware of all the dependencies it is also converting and whether conflicting ones like this should be published into spk.
This could be by checking for spk package names before converting packages or dependencies, or having config for blocklist of know culprits for a site (in case they don't want a blanket ban on this kind of shard name suffixes).
This is a request for feature to block packages from being converted with the convert tool. Specifically for a safeguard on
spk convert pipto not installpython-XifXalready exists in SPK.This has nearly bitten us (SPI) a couple of times. The example spk package is
opencolorio, which exists in our repo and provides valid python bindings. The problem package is the pypiopencoloriothat is converted topython-opencoloriobyspk convert pip ...typically as part of a dependency of another top-level python packages that's being converted.python-opencolorioprovides conflicting opencolorio bindings and this may lead you subtle issues that we want to avoid (based on assumptions of names and capabilities that are not correct). Another example of this isopenimageio.So we'd like a way to prevent this from occuring through
spk convert pip ...commands. At the moment, someone converting a top-level package might not be aware of all the dependencies it is also converting and whether conflicting ones like this should be published into spk.This could be by checking for spk package names before converting packages or dependencies, or having config for blocklist of know culprits for a site (in case they don't want a blanket ban on this kind of shard name suffixes).