Skip to content

Add Pitloom to generate package SBOM in wheel - #140

Draft
bact wants to merge 6 commits into
JPEWdev:mainfrom
bact:gen-sbom
Draft

Add Pitloom to generate package SBOM in wheel#140
bact wants to merge 6 commits into
JPEWdev:mainfrom
bact:gen-sbom

Conversation

@bact

@bact bact commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Add "pitllom" to Hatchling build hook to get SBOM and put it in the wheel.

Add "pitllom" to Hatchling build hook to get SBOM and put it in the wheel.

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added enhancement New feature or request documentation Improvements or additions to documentation labels Aug 11, 2026
@bact
bact marked this pull request as draft August 11, 2026 14:20
@bact

bact commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

Python 3.9 is not supported yet.
May need to revise Pitloom to lower its Python version requirement.

@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact

bact commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

Hatchling's SBOM embedding feature is only from Hatchling 1.29.0, which requires Python >= 3.10. So even Pitloom can generate the SBOM, but Hatchling will not embed the file in the wheel.

@bact

bact commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

Will see if we can inject the SBOM manually.
If we can lower Hatchling requirement to 1.27, we can support Python 3.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant