Skip to content

Add missing entries from dependencies.json to SBOM - #10606

Open
hugovk wants to merge 6 commits into
python-pillow:mainfrom
hugovk:sbom-json
Open

hugovk wants to merge 6 commits into
python-pillow:mainfrom
hugovk:sbom-json

Conversation

@hugovk

@hugovk hugovk commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

#10318 added missing Brotli to the SBOM.

This PR adds some more dependencies that are in the but not in the SBOM: bzip2, libpng, liblzma, zstd.

It also adds a check: dependencies.json is loaded into a dict, so pop each dependency as we fetch it. Any remaining at the end have been missed, so error. This runs on CI in wheels.yml.

Comment thread .github/generate-sbom.py
`python3 .github/generate-sbom.py [output-file]`

Output defaults to pillow-{version}.cdx.json in the current directory.
Output defaults to `pillow-{version}.cdx.json` in the current directory.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Output defaults to `pillow-{version}.cdx.json` in the current directory.
Output defaults to `pillow-{pillow_version}.cdx.json` in the current directory.

To be consistent with the variable name in the code?

Comment thread .github/generate-sbom.py Resolved

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants