You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a note guiding users to include SBOM files in the source distribution (#2120)
* Add a note guiding users to include SBOM files in the source distribution
* Remove mention of uv and build
---------
Co-authored-by: Cary Hawkins <[email protected]>
Copy file name to clipboardExpand all lines: docs/plugins/builder/wheel.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ The builder plugin name is `wheel`.
25
25
|`bypass-selection`|`false`| Whether or not to suppress the error when one has not defined any file selection options and all heuristics have failed to determine what to ship |
26
26
|`sbom-files`|| A list of paths to [Software Bill of Materials](https://peps.python.org/pep-0770/) files that will be included in the `.dist-info/sboms/` directory of the wheel |
27
27
28
+
!!! note
29
+
Many build frontends will build the wheel from a source distribution. This is the recommended approach, but it means you need to ensure the SBOM files passed to `sbom-files` are also [included in the source distribution](https://hatch.pypa.io/latest/config/build/#file-selection).
0 commit comments