DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-sbom 0.5.0-1

Package Information

DescriptionSBOMs for Python distributions

Software bills of materials (SBOMs) for Python distributions. python-sbom writes a CycloneDX Software bills of materials (SBOM) into every wheel you build, where PEP 770 (a Python Enhancement Proposal) tells installers to keep it. The SBOM records your project, the runtime dependencies it declares, any wheels it bundles, and the build toolchain, and a rebuild with the same inputs reproduces it byte for byte.

MaintainerDaniel Baumann <daniel@debian.org>
Changed ByDaniel Baumann <daniel@debian.org>
Sponsormail@daniel-baumann.ch
Distributionsid
Architectureall
VCSgit: https://forgejo.debian.net/python/python-sbom (browse)
Closes#1154698
Trackerhttps://tracker.debian.org/pkg/python-sbom
Uploaded4 hours ago

New Package Report

.changes◂
Sourcepython-sbom
Version0.5.0-1
Changed-ByDaniel Baumann <daniel@debian.org>
Architecturesource all
Distributionsid
DateSat, 21 Nov 2026 19:01:44 +0100
Changelog◂
python-sbom (0.5.0-1) sid; urgency=medium
 .
   * Initial upload to sid, needed for tox-ini-fmt (Closes: #1154698).
.dsc◂
Sectionpython
Priorityoptional
Componentmain
Package-Listpython3-python-sbom deb python optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-sbom
Upstream-Contact: https://github.com/tox-dev/python-sbom/issues
Source: https://github.com/tox-dev/python-sbom/tags

Files: *
Copyright: 2026 Bernát Gábor <gaborjbernat@gmail.com>
License: MIT

Files: src/python_sbom/_validate/schemas/*.json
Copyright:
 2026 Bernát Gábor <gaborjbernat@gmail.com>
 OWASP Foundation
License: Apache-2.0

Files: debian/*
Copyright: 2026 Daniel Baumann <daniel@debian.org>
License: MIT

License: Apache-2.0
 The full text of the Apache 2.0 license
 can be found in the file /usr/share/common-licenses/Apache-2.0

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 3 hours ago.

Report◂

DFSG NEW review for python-sbom version 0.5.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 3 found

Licensing

The package is DFSG-compliant: the project is MIT (LICENSE text is complete and reproduced in debian/copyright) and the three vendored CycloneDX schema files are Apache-2.0, which combines fine with MIT; both licence texts are present or referenced. debian/copyright is accurate except that its Apache-2.0 stanza matches only schemas/*.json, so the shipped Apache-2.0 licence text src/python_sbom/_validate/schemas/LICENSE falls through to the Files: * MIT stanza; that is the only licensing defect and it has no practical effect, since the file is just the licence text and the schemas themselves are correctly covered. All holders the prescan flagged are placeholders in generated example/test licence files, not real copyright holders.

Packaging

Packaging is sound: debhelper compat 14 with dh-sequence-python3/dh-sequence-single-binary drives pybuild, Build-Depends pin the interpreters and backend plugins pyproject.toml needs and all of them exist in the archive at satisfying versions, dh_python3 derives the runtime Depends from Requires-Dist, the package is correctly single-binary and Architecture: all, source format is 3.0 (quilt) with no patches, changelog and Vcs-*/upstream metadata are in order, and Standards-Version 4.7.4 matches the current Policy 4.7.4.1.

Issues

minor licensing 1. Files: src/python_sbom/_validate/schemas/*.json leaves the shipped Apache-2.0 schemas/LICENSE declared MIT ◂
  • Files: debian/copyright:10-14, src/python_sbom/_validate/schemas/LICENSE
  • Basis: checked, in the package or with a reference tool
  • Evidence: Files: src/python_sbom/_validate/schemas/*.json / License: Apache-2.0, while Files: * / Copyright: 2026 Bernát Gábor / License: MIT catches the schema directory's LICENSE, whose text is Apache License Version 2.0 and whose appendix says Copyright OWASP Foundation.
  • Problem: The stanza pattern ends in .json, so it matches only the three schema files and not src/python_sbom/_validate/schemas/LICENSE, which the binary package ships and which upstream's pyproject.toml lists in license-files under license = "MIT AND Apache-2.0". That file is therefore attributed by the catch-all stanza to MIT and to Bernát Gábor although it is the Apache-2.0 licence text naming OWASP Foundation, so debian/copyright misstates the licensing of one file. The DFSG is unaffected (it is only a licence text, no file is unlicensed, and the schemas themselves are correctly covered), hence minor.
  • Fix: Widen the Apache stanza to Files: src/python_sbom/_validate/schemas/* (or add the LICENSE path to it) so the OWASP Apache-2.0 text is covered there.
Verified ◂
  • Read every file under debian/ in full: changelog (0.5.0-1, sid, closes #1154698), control, copyright, rules, source/format (3.0 (quilt)), upstream/metadata, watch was left to the separate check, lrc.config and python3-python-sbom.examples (installs docs/examples/*, a supported wildcard per dh_installexamples(1)).
  • Read the root LICENSE (full MIT text, no copyright line) and pyproject.toml (license = "MIT AND Apache-2.0", license-files LICENSE and src/python_sbom/_validate/schemas/LICENSE). debian/copyright carries the full MIT text and points Apache-2.0 at /usr/share/common-licenses/Apache-2.0, which exists.
  • src/python_sbom/_validate/schemas/bom-1.6.schema.json, src/python_sbom/_validate/schemas/jsf-0.82.schema.json and src/python_sbom/_validate/schemas/spdx.schema.json are the CycloneDX 1.6.2 schemas (their headers state they are published under Apache-2.0, and tests/_validate/test_schemas.py pins each to the sha256 of the upstream 1.6.2 release); covered by the Apache-2.0 stanza, with OWASP Foundation named; src/python_sbom/_validate/schemas/LICENSE is the Apache-2.0 text with the OWASP appendix.
  • src/python_sbom/_validate/schemas/spdx.schema.json:148-150, flagged by the scan, are entries of an enum of SPDX licence identifiers (CC-BY-NC-4.0 etc.), not licence terms of the file; it is the Apache-2.0 CycloneDX licence-ID schema, so there is no non-free content.
  • bench/_fixtures.py:50 contains a synthetic licence string ("Copyright (c) 2026 Bench Authors") written into benchmark fixture projects, not a real holder.
  • docs/examples/hatchling/LICENSE and docs/tutorials/first-sbom.rst:20 use the placeholder "Copyright (c) 2026 You" for the tutorial's example project; the examples under docs/examples/ are upstream-authored demo projects and are installed as plain text via the .examples file.
  • tests/_collect/test_source.py:28-29 ("Example", "Other") and tests/_collect/test_wheel.py are literals for the copyright-line parsing tests; tests/_seeder/LICENSE is the placeholder licence of the seeder fixture project.
  • tests/hatch/conftest.py, tests/test_backend.py, tests/test_pdm.py and tests/test_setuptools.py write the same synthetic "Copyright (c) 2026 Example" LICENSE into temporary projects; no test files are installed.
  • No compiled, minified, archived or PDF files exist in the tree (glob for .whl/.gz/.zip/.pdf/.png/.so/.pyc found nothing); tests/_generate/pinned/.json are generated SBOM fixtures, pylock.toml is upstream's uv lock file (metadata, read its header), and docs/_static holds the project's own logo SVGs and CSS.
  • Every named dependency exists in the reviewing system's package lists at a satisfying version: python3.15 3.15.2-1, python3-hatchling 1.32.4-1, python3-hatch-vcs 0.5.0-1, python3-hatch-fancy-pypi-readme 25.1.0-2, python3-packageurl 0.17.6-1, python3-zipremove 0.10.0-1, python3-packaging 26.3-1, pybuild-plugin-pyproject 7.20261030 (which Depends python3-installer and python3-build), dh-sequence-single-binary provided by debhelper 14.5.
  • Runtime dependencies need no explicit Depends: dh_python3 translates Requires-Dist into ${python3:Depends} (python3-installer, python3-packageurl, python3-packaging (>= 26.3), python3-zipremove), and at compat 14 dh_gencontrol adds the relationship substvars itself; no maintscripts, *.maintscript or debian/tests exist.
  • Standards-Version 4.7.4 against Policy 4.7.4.1: same first two components, so current; compat 14 is supported and not discouraged; no patches, so no DEP-3 concerns; changelog distribution sid and version 0.5.0-1 are consistent with upstream's 0.5.0 (.git_archival.txt describe-name).
  • uscan found the packaged version as the newest upstream release (upstream 0.5.0, packaged 0.5.0).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • The SVG logos and CSS under docs/_static were not opened (binary/image handling policy); their provenance is taken from their location in the project's own docs tree.
  • No build, test run or byte-compilation could be executed here; nothing in the package points to a dependency the archive lacks, and the test suite is not part of the installed package.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 3 hours ago.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
0.5.0-1 e505ae89… 2026-11-30 00:04 2026-12-03 16:44 eamanu rejected VIEW

Back to Dashboard | View all reviews for this package