psf / sboms-for-python-packages

Software Bill-of-Materials documents for Python packages
24 stars 1 forks source link

Survey of Python build backends handling non-Python software #4

Open sethmlarson opened 3 weeks ago

sethmlarson commented 3 weeks ago

These build backends are likely to have a more complicated use-case, such as needing to generate their own SBOMs instead of only forwarding along SBOM documents specified in pyproject.toml.

ncoghlan commented 2 weeks ago

Additional "full fledged build systems that can emit Python packages" options:

There are also projects like zig and compiletools, as well as Rust, where non-Python dependencies may end up statically linked into the resulting extension modules.

There probably needs to be a way to just inject additional SBOM snippets directly, and leave it up to the project itself to manage keeping them in sync with the actual build process. Defining a common way to do that would mean that each affected build system project didn't need to invent one for itself.