Skip to content

SBOM: Use real versions from dependencies.json#9593

Merged
hugovk merged 4 commits intopython-pillow:mainfrom
hugovk:sbom-versions
Apr 30, 2026
Merged

SBOM: Use real versions from dependencies.json#9593
hugovk merged 4 commits intopython-pillow:mainfrom
hugovk:sbom-versions

Conversation

@hugovk
Copy link
Copy Markdown
Member

@hugovk hugovk commented Apr 28, 2026

Follow on from #9550 and #9559.

Changes proposed in this pull request:

  • Sort things alphabetically to make easier to find
  • Use versions from dependencies.json
  • Remove historical 'tested on'
  • Git ignore generated SBOM

Will be easier to review commit-by-commit, can also split to separate PRs if desired.

cc @jkowalleck @sethmlarson

Comment thread .github/generate-sbom.py
"name": "pythoncapi_compat",
"description": "Backport header for new CPython C-API functions "
"(vendored in src/thirdparty/pythoncapi_compat.h)",
"licenses": [{"license": {"id": "0BSD"}}],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

TIL BSD Zero has an ID of "0BSD".

Comment thread .github/generate-sbom.py
"version": versions["tiff"],
"scope": "optional",
"description": "AVIF codec (optional, used by PIL._avif). "
"Requires libavif >= 1.0.0.",
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.

No objections, but did you want to mention why you removed 'Requires libavif >= 1.0.0'?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's not relevant to an SBOM, which records what was actually used in this release.

This is a receipt of what we're delivering, and we report elsewhere what actual libavif version is included.

Comment thread .github/generate-sbom.py Outdated
@hugovk hugovk merged commit be85633 into python-pillow:main Apr 30, 2026
104 of 111 checks passed
@hugovk hugovk deleted the sbom-versions branch April 30, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants