apache / buildstream

BuildStream, the software integration tool
https://buildstream.build/
Apache License 2.0
85 stars 30 forks source link

Provide mechanism for junctioned plugins to express their dependencies #1894

Open nanonyme opened 9 months ago

nanonyme commented 9 months ago

As discussed in https://gitlab.com/BuildStream/bst-plugins-experimental/-/issues/59, junctioned plugins currently cannot express which packages they need let alone which versions of said packages they need. BuildStream and plugins should agree upon API/metadata for providing this information so BuildStream can gracefully error out when plugin dependencies are unsatisfied.

nanonyme commented 7 months ago

@gtristan @jjardon this is not limited to just package requirements. Plugin junctions also cannot state which version of Python they need. There is no metadata for this.