Skip to content

Generate SBOM for wheel - #1485

Draft
bact wants to merge 4 commits into
PyThaiNLP:mainfrom
bact:generate-sbom
Draft

Generate SBOM for wheel#1485
bact wants to merge 4 commits into
PyThaiNLP:mainfrom
bact:generate-sbom

Conversation

@bact

@bact bact commented Aug 20, 2026

Copy link
Copy Markdown
Member

What do these changes do

  • Generate an SBOM for PyThaiNLP package and embed it inside the wheel, following PEP 770 guidelines
  • Upload the wheel and the SBOM to GitHub Releases too

What was wrong

No SBOM in the wheel

How this fixes it

Use a GitHub Action to generate SBOM and embed it into the wheel before publish it to PyPI,

Fixes #1476

Your checklist for this pull request

  • Passed code styles and structures
  • Passed code linting checks and unit test

- Generate an SBOM for PyThaiNLP package and embed it inside the wheel, following PEP 770 guidelines
- Upload the wheel and the SBOM to GitHub Releases too

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added the infrastructure build process, configuration, GitHub Actions label Aug 20, 2026
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Comment thread .github/workflows/pypi-publish.yml Fixed
Comment thread .github/workflows/pypi-publish.yml Fixed
Comment thread .github/workflows/pypi-publish.yml Fixed
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact

bact commented Aug 20, 2026

Copy link
Copy Markdown
Member Author

@wannaphong Please review. This software bill of materials (SBOM) will allow users of PyThaiNLP to better audit PyThaiNLP dependencies and their licenses.

See example of the generated SBOM in GitHub Releases at https://github.com/bact/licenseid/releases/tag/v0.3.7

@bact
bact requested a review from wannaphong August 20, 2026 15:01
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@bact
bact marked this pull request as draft August 20, 2026 18:56
@bact
bact removed the request for review from wannaphong August 20, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure build process, configuration, GitHub Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include SBOM in wheel

2 participants