DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: 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
Uploaded14 days ago

New Package Report

.changes◂
DateSat, 21 Nov 2026 19:01:44 +0100
Sourcepython-sbom
Version0.5.0-1
Changed-ByDaniel Baumann <daniel@debian.org>
Architecturesource all
Distributionsid
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>
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 1 blocker, 0 important, 2 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 14 days 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: 1 blocker, 0 important, 2 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 3 found

Licensing

The code is DFSG-free: MIT for python-sbom itself and Apache-2.0 for three vendored CycloneDX JSON schemas, which are compatible and come with a full licence text beside them. debian/copyright is not accurate, however: Files: * describes the bundled Apache-2.0 LICENSE of those schemas as MIT under Bernát Gábor, and the schema stanza names Bernát Gábor where the CycloneDX files are OWASP Foundation's. Everything else in the tree was accounted for and matches the file.

Packaging

Modern, clean packaging: debhelper compat 14 with pybuild and pyproject, arch:all single binary, correct Build-Depends (python3-zipremove is uploaded and waiting in NEW), current Standards-Version 4.7.4, Vcs-* and upstream metadata, DEP-5 copyright, and examples installed from docs/examples. debhelper/dh_python3 generate the runtime dependencies from Requires-Dist, so no Depends field is needed. The one gap is that the installed python-sbom command has no manual page (Policy 12.1).

Issues

blocker licensing 1. debian/copyright calls the vendored CycloneDX Apache-2.0 LICENSE MIT under Bernát Gábor ◂
  • Files: debian/copyright:6-8, src/python_sbom/_validate/schemas/LICENSE:1, src/python_sbom/_validate/schemas/LICENSE:189, pyproject.toml:29
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright has Files: * / Copyright: 2026 Bernát Gábor <gaborjbernat@gmail.com> / License: MIT, and the Apache stanza's pattern is only src/python_sbom/_validate/schemas/*.json. The file itself starts Apache License / Version 2.0 and contains Copyright OWASP Foundation; pyproject.toml:29 has license-files = [ "LICENSE", "src/python_sbom/_validate/schemas/LICENSE" ].
  • Problem: The schemas' LICENSE is not a .json, so Files: * matches it first and the Apache stanza never overrides it: debian/copyright states MIT and the wrong holder for a file that is CycloneDX's Apache-2.0 licence text. It is shipped in the binary package both as package data and through license-files. DEP-5 must give each file's actual licence, and a wrong licence is as serious wherever the file is, since the source package is distributed too.
  • Fix: Widen the schema stanza to the whole directory, e.g. Files: src/python_sbom/_validate/schemas/* with Copyright: OWASP Foundation and License: Apache-2.0, so that the LICENSE and the three JSON files are both described correctly.
minor licensing 2. The CycloneDX schema files are OWASP Foundation's, not Bernát Gábor's ◂
  • Files: debian/copyright:10-12, src/python_sbom/_validate/schemas/bom-1.6.schema.json:6, src/python_sbom/_validate/schemas/jsf-0.82.schema.json:6, src/python_sbom/_validate/schemas/LICENSE:189, src/python_sbom/_validate/_schemas.py:123-126
  • Basis: checked, in the package or with a reference tool
  • Evidence: _schemas.py:123 says # the official CycloneDX schema files, unchanged ... Apache-2.0, see the LICENSE beside them; LICENSE:189 reads Copyright OWASP Foundation; bom-1.6.schema.json:6 has "$comment" : "CycloneDX JSON schema is published under the terms of the Apache License 2.0.".
  • Problem: The stanza covering the three vendored schemas names Bernát Gábor as their copyright holder; the only holder named by the bundle is OWASP Foundation. Policy 2.3 does not require this notice in debian/copyright: footnote 5 to section 2.3 lists Apache-2.0 among the licences not thought to require copying their notices there, and the full Apache-2.0 LICENSE carrying the notice is installed unchanged beside the schemas; a complete machine-readable copyright file should name the holder all the same.
  • Fix: Name OWASP Foundation as the copyright holder of the schema files. While there, check whether jsf-0.82.schema.json, whose $comment credits Anders Rundgren as its developer, needs him named too.
minor packaging 3. No manual page for the installed /usr/bin/python-sbom command ◂
  • Files: pyproject.toml:81, debian/
  • Basis: checked, in the package or with a reference tool
  • Evidence: pyproject.toml:81 has scripts.python-sbom = "python_sbom._cli._main:main"; there is no man page anywhere in the source tree and no debian/*.manpages file. Policy 12.1: "Each program, utility, and function should have an associated manual page included in the same package or a dependency."
  • Problem: The binary package installs a user-facing python-sbom command, and Policy 12.1 considers a missing manual page a bug. The documentation exists as docs/reference/cli.rst, but it is neither installed nor turned into a man page.
  • Fix: Add a man page under debian/ (written from docs/reference/cli.rst) and list it in debian/python3-python-sbom.manpages so that dh_installman installs it.
Verified ◂
  • Prescan wording hits src/python_sbom/_validate/schemas/spdx.schema.json:148-150 are members of the schema's enum of SPDX licence identifiers (CC-BY-NC-1.0, CC-BY-ND-..., ...), data about licences, not licence terms for the file; the file is one of CycloneDX's official schemas and is Apache-2.0 (its $comment and the LICENSE beside it).
  • Prescan holder hits are placeholders and fixture data, not copyright notices of those files: bench/_fixtures.py:50 is the _LICENSE text the benchmark writes into generated fixture projects (Copyright (c) 2026 Bench Authors); tests/_seeder/LICENSE:1 (Example), docs/examples/hatchling/LICENSE:1 (You) and docs/tutorials/first-sbom.rst:20 (a printf that creates a demo LICENSE) are demo-project files; tests/_collect/test_source.py:28-29, tests/_collect/test_wheel.py:29, tests/test_backend.py:40, tests/test_pdm.py:29, tests/test_setuptools.py:53 and tests/hatch/conftest.py:39 write Copyright (c) 2026 Example fixture projects; tests/_model/test_bom.py:152 is expected test data.
  • tests/_formats/test_spdx.py:162,184 contain Copyright (c) PyPA as a field of an SPDX document fixture, not a notice of the test file.
  • All 261 files of the source tree (.pc/ and debian/ excluded) were inventoried, and every debian/ file was read in full; a grep for Copyright/(C)/©/SPDX-License-Identifier/permission/GNU/Apache/MPL/public-domain wording found only the files above plus licence names listed inside spdx.schema.json.
  • The three JSON schemas and src/python_sbom/_validate/schemas/LICENSE are upstream's own license-files and package data (pyproject.toml:28-29); the schemas are unchanged copies of CycloneDX's (comment at src/python_sbom/_validate/_schemas.py:123-126), so the only licensing faults are the two in debian/copyright above.
  • No built, minified, archived or PDF files were flagged; src/python_sbom/version.py is generated by hatch-vcs, and .git_archival.txt carries describe-name: 0.5.0, so hatch-vcs can determine the version from the repacked tarball; the docs/examples/*/session.console files are plain-text shell transcripts and the docs/_static/*.svg are the project's own logo assets referenced by the docs (not opened; judged from their role).
  • Build dependencies exist in the archive: 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, pybuild-plugin-pyproject 7.20261030, python3-packageurl 0.17.6-1. python3-zipremove is not in the archive yet but is built by zipremove 0.10.0-1 waiting in NEW, so the dependency is not a fault.
  • No Depends field is required: compat 14's dh_gencontrol adds relationship substvars itself, and dh_python3 translates Requires-Dist/requires.txt into ${python3:Depends} (dh_python3(1), --depends); with X-Python3-Version: 3.15 it emits the interpreter package python3.15, which exists (/usr/share/dh-python/dhpython/depends.py, min==max branch), and Debian's python3 is 3.14.8.
  • The validate extra is optional by design: src/python_sbom/_validate/_document.py:98-107 checks find_spec and raises MissingExtraError (a SbomError, printed by _cli/_main.py without a traceback); python3-spdx-tools 0.8.5-1 and python3-license-expression 30.4.1-2 are in the archive and jsonschema-rs is not in the package lists, so validate does not work in Debian, but it fails cleanly as upstream documents.
  • sid in debian/changelog is an accepted distribution name: devscripts' /usr/bin/dch accepts experimental|unstable|sid|UNRELEASED|... (line 540), so the changelog distribution is not an issue.
  • Standards-Version 4.7.4 agrees with the reviewing system's Policy 4.7.4.1 in its first two components; source format is 3.0 (quilt) with no patches, there are no maintainer scripts, and debian/upstream/metadata is valid YAML.
  • The build runs no upstream tests: pybuild's default test step is unittest discovery (/usr/share/dh-python/dhpython/build/base.py), which finds none of the pytest suite, and there is no debian/tests/control. Not a policy violation, but the suite is therefore never exercised by Debian.
  • 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 ◂
  • No build was run, so the exact installed file list (three schemas, schemas/LICENSE, the examples tree) is inferred from pyproject.toml, debian/python3-python-sbom.examples and hatchling's package-data defaults.
  • Whether CycloneDX's original schema distribution carried a NOTICE or further attribution could not be checked: only the files in this source package are available, and its bundled Apache-2.0 LICENSE is the only notice.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader hasn't responded yet, and is welcome to at any time. The hold has ended, so the package is now open for review as usual.

Review Information

rejected — allocated to eamanu 6 days ago, started 6 days ago, completed 2 days ago.

Final Comment

Hello!

Thanks for your contributions to Debian!

Please, read my next comments:

  • src/python_sbom/_validate/schemas/LICENSE mentions "Copyrigh OWASP Foundation", please mention it.
  • nit, you can ignore this but, I'd leave Source key with https://github.com/tox-dev/python-sbom/ not the tag

Public Notes

6 days ago ● public

License check: python-sbom 0.5.0-1

Archive component: main

COMPATIBLE:

  • Apache-2.0 (Note: not compatible with GPL-2)
  • MIT
6 days ago ● public

Author check: python-sbom 0.5.0-1

Scanned 261 files. 2 author(s) declared in debian/copyright.

NOT IN debian/copyright (5):

  • Example
    • tests/_collect/test_source.py:29
    • tests/_collect/test_wheel.py:40
  • Example\n", encoding="utf-8")
    • tests/_collect/test_wheel.py:29
  • Example\n\nMIT terms\n", encoding="utf-8")
    • tests/hatch/conftest.py:39
    • tests/test_backend.py:40
    • tests/test_pdm.py:29
    • tests/test_setuptools.py:53
  • Example\nCopyright (c) 2025 Other\n"}
    • tests/_collect/test_source.py:28
  • You\n\nMIT terms\n' > LICENSE
    • docs/tutorials/first-sbom.rst:20
2 days ago ● public

licensecheck

Command: licensecheck -r --deb-machine .
Exit code: 0

Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: FIXME
Upstream-Contact: FIXME
Source: FIXME
Disclaimer: Autogenerated by licensecheck

Files: ./.git_archival.txt
 ./.gitattributes
 ./.github/CODEOWNERS
 ./.github/CONTRIBUTING.md
 ./.github/FUNDING.yaml
 ./.github/SECURITY.md
 ./.github/THREAT_MODEL.md
 ./.github/dependabot.yaml
 ./.github/release.yaml
 ./.github/workflows/actions.lock
 ./.github/workflows/check.yaml
 ./.github/workflows/codeql.yaml
 ./.github/workflows/news.yaml
 ./.github/workflows/prepare-release.yaml
 ./.github/workflows/release.yaml
 ./.github/workflows/scorecard.yaml
 ./.github/workflows/upgrade-release-tools.yaml
 ./.pre-commit-config.yaml
 ./.readthedocs.yaml
 ./CONTRIBUTING.md
 ./README.md
 ./bench/__init__.py
 ./bench/__main__.py
 ./bench/_cases.py
 ./debian/changelog
 ./debian/control
 ./debian/lrc.config
 ./debian/python3-python-sbom.examples
 ./debian/rules
 ./debian/source/format
 ./debian/upstream/metadata
 ./debian/watch
 ./docs/__init__.py
 ./docs/_static/changelog-toc.css
 ./docs/_static/favicon.svg
 ./docs/_static/logo-dark.svg
 ./docs/_static/logo-horizontal-dark.svg
 ./docs/_static/logo-horizontal-light.svg
 ./docs/_static/logo-light.svg
 ./docs/_static/python-sbom.css
 ./docs/changelog.rst
 ./docs/concepts/architecture.rst
 ./docs/concepts/backends.rst
 ./docs/concepts/document.rst
 ./docs/concepts/glossary.rst
 ./docs/concepts/index.rst
 ./docs/conf.py
 ./docs/contributing.rst
 ./docs/examples/auditwheel/meson.build
 ./docs/examples/auditwheel/pyproject.toml
 ./docs/examples/auditwheel/session.console
 ./docs/examples/auditwheel/src/greet/__init__.py
 ./docs/examples/auditwheel/src/greet/_greet.c
 ./docs/examples/auditwheel/src/greet/_greet.pyi
 ./docs/examples/auditwheel/src/greet/cli.py
 ./docs/examples/flit-core/pyproject.toml
 ./docs/examples/flit-core/session.console
 ./docs/examples/flit-core/src/greet/__init__.py
 ./docs/examples/flit-core/src/greet/cli.py
 ./docs/examples/hatchling/pyproject.toml
 ./docs/examples/hatchling/session.console
 ./docs/examples/hatchling/src/greet/__init__.py
 ./docs/examples/hatchling/src/greet/cli.py
 ./docs/examples/maturin/Cargo.toml
 ./docs/examples/maturin/pyproject.toml
 ./docs/examples/maturin/session-maturin-build.console
 ./docs/examples/maturin/session.console
 ./docs/examples/maturin/src/main.rs
 ./docs/examples/meson-python/meson.build
 ./docs/examples/meson-python/pyproject.toml
 ./docs/examples/meson-python/session-delocate.console
 ./docs/examples/meson-python/session.console
 ./docs/examples/meson-python/src/greet/__init__.py
 ./docs/examples/meson-python/src/greet/_greet.c
 ./docs/examples/meson-python/src/greet/_greet.pyi
 ./docs/examples/meson-python/src/greet/cli.py
 ./docs/examples/pdm-backend/pyproject.toml
 ./docs/examples/pdm-backend/session.console
 ./docs/examples/pdm-backend/src/greet/__init__.py
 ./docs/examples/pdm-backend/src/greet/cli.py
 ./docs/examples/poetry-core/pyproject.toml
 ./docs/examples/poetry-core/session.console
 ./docs/examples/poetry-core/src/greet/__init__.py
 ./docs/examples/poetry-core/src/greet/cli.py
 ./docs/examples/scikit-build-core/CMakeLists.txt
 ./docs/examples/scikit-build-core/pyproject.toml
 ./docs/examples/scikit-build-core/session.console
 ./docs/examples/scikit-build-core/src/greet/__init__.py
 ./docs/examples/scikit-build-core/src/greet/_greet.c
 ./docs/examples/scikit-build-core/src/greet/_greet.pyi
 ./docs/examples/scikit-build-core/src/greet/cli.py
 ./docs/examples/setuptools/pyproject.toml
 ./docs/examples/setuptools/session.console
 ./docs/examples/setuptools/src/greet/__init__.py
 ./docs/examples/setuptools/src/greet/cli.py
 ./docs/examples/uv-build/pyproject.toml
 ./docs/examples/uv-build/session.console
 ./docs/examples/uv-build/src/greet/__init__.py
 ./docs/examples/uv-build/src/greet/cli.py
 ./docs/examples/zipapp/pyproject.toml
 ./docs/examples/zipapp/session.console
 ./docs/examples/zipapp/src/greet/__init__.py
 ./docs/examples/zipapp/src/greet/cli.py
 ./docs/how-to/archive.rst
 ./docs/how-to/backends/flit-core.rst
 ./docs/how-to/backends/hatchling.rst
 ./docs/how-to/backends/index.rst
 ./docs/how-to/backends/maturin.rst
 ./docs/how-to/backends/meson-python.rst
 ./docs/how-to/backends/other-backends.rst
 ./docs/how-to/backends/pdm-backend.rst
 ./docs/how-to/backends/poetry-core.rst
 ./docs/how-to/backends/scikit-build-core.rst
 ./docs/how-to/backends/setuptools.rst
 ./docs/how-to/backends/uv-build.rst
 ./docs/how-to/built-elsewhere.rst
 ./docs/how-to/content-provider.rst
 ./docs/how-to/index.rst
 ./docs/how-to/spdx.rst
 ./docs/how-to/validate.rst
 ./docs/index.rst
 ./docs/reference/api.rst
 ./docs/reference/backends.rst
 ./docs/reference/cli.rst
 ./docs/reference/configuration.rst
 ./docs/reference/index.rst
 ./docs/tutorials/index.rst
 ./hatch_build.py
 ./pylock.toml
 ./pyproject.toml
 ./src/python_sbom/__init__.py
 ./src/python_sbom/__main__.py
 ./src/python_sbom/_cli/__init__.py
 ./src/python_sbom/_cli/_archive.py
 ./src/python_sbom/_cli/_embed.py
 ./src/python_sbom/_cli/_main.py
 ./src/python_sbom/_cli/_parser.py
 ./src/python_sbom/_cli/_spdx.py
 ./src/python_sbom/_cli/_validate.py
 ./src/python_sbom/_collect/__init__.py
 ./src/python_sbom/_collect/_archive.py
 ./src/python_sbom/_collect/_content.py
 ./src/python_sbom/_collect/_facts.py
 ./src/python_sbom/_collect/_revision.py
 ./src/python_sbom/_collect/_settings.py
 ./src/python_sbom/_collect/_wheel.py
 ./src/python_sbom/_errors.py
 ./src/python_sbom/_formats/__init__.py
 ./src/python_sbom/_formats/_json.py
 ./src/python_sbom/_formats/_spdx.py
 ./src/python_sbom/_generate/__init__.py
 ./src/python_sbom/_generate/_archive.py
 ./src/python_sbom/_generate/_embed.py
 ./src/python_sbom/_model/__init__.py
 ./src/python_sbom/_model/_archive.py
 ./src/python_sbom/_model/_bom.py
 ./src/python_sbom/_model/_components.py
 ./src/python_sbom/_model/_content.py
 ./src/python_sbom/_model/_graph.py
 ./src/python_sbom/_model/_identity.py
 ./src/python_sbom/_model/_iri.py
 ./src/python_sbom/_model/_markers.py
 ./src/python_sbom/_model/_metadata.py
 ./src/python_sbom/_model/_names.py
 ./src/python_sbom/_model/_record.py
 ./src/python_sbom/_model/_tools.py
 ./src/python_sbom/_model/_types.py
 ./src/python_sbom/_model/_wheel.py
 ./src/python_sbom/_validate/__init__.py
 ./src/python_sbom/_validate/_artifact.py
 ./src/python_sbom/_validate/_document.py
 ./src/python_sbom/_validate/_licenses.py
 ./src/python_sbom/_validate/_limits.py
 ./src/python_sbom/_validate/_schemas.py
 ./src/python_sbom/_validate/schemas/spdx.schema.json
 ./src/python_sbom/_wheel/__init__.py
 ./src/python_sbom/_wheel/_bundled.py
 ./src/python_sbom/_wheel/_reader.py
 ./src/python_sbom/_wheel/_sdist.py
 ./src/python_sbom/_wheel/_write.py
 ./src/python_sbom/_wheel/_zip.py
 ./src/python_sbom/backend.py
 ./src/python_sbom/hatch/__init__.py
 ./src/python_sbom/hatch/_hook.py
 ./src/python_sbom/hatch/hooks.py
 ./src/python_sbom/pdm.py
 ./src/python_sbom/setuptools.py
 ./tests/_cli/conftest.py
 ./tests/_cli/test_archive.py
 ./tests/_cli/test_embed.py
 ./tests/_cli/test_main.py
 ./tests/_cli/test_parser.py
 ./tests/_cli/test_spdx.py
 ./tests/_cli/test_validate.py
 ./tests/_collect/test_archive.py
 ./tests/_collect/test_content.py
 ./tests/_collect/test_facts.py
 ./tests/_collect/test_revision.py
 ./tests/_collect/test_settings.py
 ./tests/_formats/test_json.py
 ./tests/_generate/pinned/embed-members.json
 ./tests/_generate/pinned/embed.cdx.json
 ./tests/_generate/test_archive.py
 ./tests/_model/test_archive.py
 ./tests/_model/test_bom.py
 ./tests/_model/test_components.py
 ./tests/_model/test_content.py
 ./tests/_model/test_graph.py
 ./tests/_model/test_identity.py
 ./tests/_model/test_iri.py
 ./tests/_model/test_licenses.py
 ./tests/_model/test_markers.py
 ./tests/_model/test_names.py
 ./tests/_model/test_record.py
 ./tests/_model/test_tools.py
 ./tests/_model/test_wheel.py
 ./tests/_seeder/hatch_build.py
 ./tests/_seeder/pyproject.toml
 ./tests/_seeder/src/seeder/embed/__init__.py
 ./tests/_validate/test_artifact.py
 ./tests/_validate/test_document.py
 ./tests/_validate/test_licenses.py
 ./tests/_validate/test_schemas.py
 ./tests/_wheel/test_bundled.py
 ./tests/_wheel/test_reader.py
 ./tests/_wheel/test_sdist.py
 ./tests/_wheel/test_write.py
 ./tests/_wheel/test_zip.py
 ./tests/conftest.py
 ./tests/examples/cibuildwheel/test_cibuildwheel.py
 ./tests/examples/conftest.py
 ./tests/examples/delocate/test_delocate.py
 ./tests/examples/flit_core/test_flit_core.py
 ./tests/examples/hatchling/test_hatchling.py
 ./tests/examples/maturin/test_maturin.py
 ./tests/examples/maturin/test_maturin_build.py
 ./tests/examples/meson_python/test_meson_python.py
 ./tests/examples/pdm_backend/test_pdm_backend.py
 ./tests/examples/poetry_core/test_poetry_core.py
 ./tests/examples/scikit_build_core/test_scikit_build_core.py
 ./tests/examples/setuptools/test_setuptools.py
 ./tests/examples/uv_build/test_uv_build.py
 ./tests/examples/zipapp/test_zipapp.py
 ./tests/hatch/test_hook.py
 ./tests/test_backend_star.py
 ./tests/test_no_hatchling.py
 ./tests/test_public_api.py
 ./tests/test_version.py
 ./tox.toml
Copyright: NONE
License: UNKNOWN
 FIXME

Files: ./tests/hatch/conftest.py
 ./tests/test_backend.py
 ./tests/test_pdm.py
 ./tests/test_setuptools.py
Copyright: 2026, Example MIT terms ", encoding="utf-8")
License: UNKNOWN
 FIXME

Files: ./src/python_sbom/_validate/schemas/LICENSE
 ./src/python_sbom/_validate/schemas/bom-1.6.schema.json
 ./src/python_sbom/_validate/schemas/jsf-0.82.schema.json
Copyright: NONE
License: Apache-2.0
 FIXME

Files: ./LICENSE
 ./tests/_generate/test_embed.py
 ./tests/_model/test_metadata.py
Copyright: NONE
License: Expat
 FIXME

Files: ./debian/copyright
Copyright: 2026, Bernát Gábor <gaborjbernat@gmail.com>
  2026, Daniel Baumann <daniel@debian.org>
License: Apache-2.0 and/or Expat
 FIXME

Files: ./tests/_formats/test_spdx.py
Copyright: NONE
License: CC0-1.0
 FIXME

Files: ./src/python_sbom/_model/_licenses.py
Copyright: NONE
License: Expat and/or PSF-2.0
 FIXME

Files: ./bench/_fixtures.py
Copyright: 2026, Bench Authors Permission is hereby granted, free of charge. "
License: UNKNOWN
 FIXME

Files: ./tests/_seeder/LICENSE
Copyright: 2026, Example
License: UNKNOWN
 FIXME

Files: ./tests/_collect/test_wheel.py
Copyright: 2026, Example ", encoding="utf-8")
License: UNKNOWN
 FIXME

Files: ./tests/_collect/test_source.py
Copyright: 2026, Example Copyright (c) 2025 Other "},
  2026, Example",
License: UNKNOWN
 FIXME

Files: ./docs/examples/hatchling/LICENSE
Copyright: 2026, You
License: UNKNOWN
 FIXME

Files: ./docs/tutorials/first-sbom.rst
Copyright: 2026, You MIT terms ' > LICENSE
License: UNKNOWN
 FIXME

Files: ./src/python_sbom/_collect/_source.py
Copyright: line of the license files the project names, as they sit in the project
License: UNKNOWN
 FIXME

Files: ./src/python_sbom/_model/_inputs.py
Copyright: str | None
License: UNKNOWN
 FIXME

2 days ago ● public

debian/copyright check

Command: cme check dpkg-copyright
Exit code: 0

INFO: Model Dpkg::Copyright class: accept attribute should be a list of hash with 'pattern' key. I.e. something like [ { pattern => 'xyz.*', info}, ...] instead of [ 'xyz.*' => {info}, ... ]
INFO: Model Dpkg::Copyright class: accept attribute should feature a pattern parameter, using name instead
INFO: Model Dpkg::Copyright::LicenseSpec class: accept attribute should be a list of hash with 'pattern' key. I.e. something like [ { pattern => 'xyz.*', info}, ...] instead of [ 'xyz.*' => {info}, ... ]
INFO: Model Dpkg::Copyright::LicenseSpec class: accept attribute should feature a pattern parameter, using name instead
INFO: Model Dpkg::Copyright::Content class: accept attribute should be a list of hash with 'pattern' key. I.e. something like [ { pattern => 'xyz.*', info}, ...] instead of [ 'xyz.*' => {info}, ... ]
INFO: Model Dpkg::Copyright::Content class: accept attribute should feature a pattern parameter, using name instead
Warning in 'Files:"*" License short_name': value is "MIT". There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
Offending value: 'MIT'
Warning in 'Files:"debian/*" License short_name': value is "MIT". There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
Offending value: 'MIT'
you can try 'cme fix dpkg-copyright' to fix the warnings shown above
2 days ago ● public

licenserecon

Command: licenserecon
Exit code: 0

en: Versions: licenserecon '20.1'  licensecheck '3.3.9-1'

Parsing Source Tree  ....
Reading d/copyright  ....
Running licensecheck ....

No significant differences found
2 days ago ● public

Look for SPDX

Command: grep -r -B1 'SPDX-'
Exit code: 0

tests/_formats/test_spdx.py-    assert spdx == {
tests/_formats/test_spdx.py:        "spdxVersion": "SPDX-2.3",
--
tests/_generate/test_embed.py-_CARGO: Final[bytes] = json.dumps({"bomFormat": "CycloneDX", "specVersion": "1.5", "version": 1}).encode()
tests/_generate/test_embed.py:_SPDX: Final[bytes] = b'{"spdxVersion": "SPDX-2.3"}'
--
tests/_cli/test_spdx.py-    text = target.read_bytes()
tests/_cli/test_spdx.py:    assert (text.endswith(b"}\n"), b"\r\n" in text, json.loads(text)["spdxVersion"]) == (True, False, "SPDX-2.3")
--
src/python_sbom/_formats/_spdx.py-    spdx: Final[Spdx] = {
src/python_sbom/_formats/_spdx.py:        "spdxVersion": "SPDX-2.3",
--
src/python_sbom/_cli/_parser.py-        action="append",
src/python_sbom/_cli/_parser.py:        metavar="SPDX-ID",
2 days ago ● public

Lintian

Command: lintian -i -I -v --pedantic
Exit code: 0

N:
W: python3-python-sbom: no-manual-page [usr/bin/python-sbom]
N: 
N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
N:   a manual page
N:   
N:   Note that though the man program has the capability to check for several
N:   program names in the NAMES section, each of these programs should have its
N:   own manual page (a symbolic link to the appropriate manual page is
N:   sufficient) because other manual page viewers such as xman or tkman don't
N:   support this.
N:   
N:   If the name of the manual page differs from the binary by case, man may be
N:   able to find it anyway; however, it is still best practice to match the
N:   exact capitalization of the executable in the manual page.
N:   
N:   If the manual pages are provided by another package on which this package
N:   depends, Lintian may not be able to determine that manual pages are
N:   available. In this case, after confirming that all binaries do have manual
N:   pages after this package and its dependencies are installed, please add a
N:   Lintian override.
N: 
N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
N:   for details.
N: 
N:   Visibility: warning
N:   Show-Always: no
N:   Check: documentation/manual
N:   Renamed from: binary-without-manpage
N: 
N:
W: python3-python-sbom: unusual-interpreter /usr/bin/python3.15 [usr/bin/python-sbom]
N: 
N:   This package contains a script for an interpreter that is not shipped in
N:   the package and is not known to Lintian. It is possible that there is a
N:   typo or the interpreter is not executable.
N: 
N:   Visibility: warning
N:   Show-Always: no
N:   Check: scripts
N: 
N:
I: python3-python-sbom: extra-license-file [usr/lib/python3/dist-packages/python_sbom/_validate/schemas/LICENSE]
N: 
N:   All license information should be collected in the debian/copyright file.
N:   This usually makes it unnecessary for the package to install this
N:   information in other places as well.
N: 
N:   Please refer to Copyright information (Section 12.5) in the Debian Policy
N:   Manual for details.
N: 
N:   Visibility: info
N:   Show-Always: no
N:   Check: files/licenses
N: 
N:
I: python-sbom source: installable-field-mirrors-source (in section for python3-python-sbom) Section [debian/control:23]
N: 
N:   The named field for an installation package in debian/control has the same
N:   value as the one inherited from the source paragraph.
N:   
N:   In the interest of shorter and clearer files, you may wish to take
N:   advantage of the inheritance rules. This field is redundant.
N: 
N:   Visibility: info
N:   Show-Always: no
N:   Check: debian/control/field/redundant
N:   Renamed from: binary-control-field-duplicates-source
N: 
N:
I: python3-python-sbom: package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/python_sbom/_validate/schemas/LICENSE]
N: 
N:   This package ships a documentation file outside /usr/share/doc
N:   Documentation files are normally installed inside /usr/share/doc.
N:   
N:   If this file doesn't describe the contents or purpose of the directory it
N:   is in, please consider moving this file to /usr/share/doc/ or maybe even
N:   removing it. If this file does describe the contents or purpose of the
N:   directory it is in, please add a lintian override.
N: 
N:   Visibility: info
N:   Show-Always: no
N:   Check: documentation
N: 
N:   Screen: python/egg/metadata
N:     Advocates: "Scott Kitterman" <debian@kitterman.com>
N:     Reason: The folders XXX.dist-info/ and XXX.egg-info/ hold metadata for
N:             Python modules. Those files are not documentation even though
N:             some of their names carry the .txt file extension.
N:             
N:             Python modules can be both public and private.
N:             
N:             Read more in
N:             https://www.python.org/dev/peps/pep-0427/#the-dist-info-directory,
N:             https://www.python.org/dev/peps/pep-0376/#id16,
N:             https://www.python.org/dev/peps/pep-0610/,
N:             https://www.python.org/dev/peps/pep-0639/,
N:             https://setuptools.pypa.io/en/latest/deprecated/python_eggs.html,
N:             and Bug#1003913.
N: 
N:
P: python-sbom source: redundant-priority-optional-field [debian/control:3]
N: 
N:   This package currently sets the Priority field in the debian/control file
N:   to "optional".
N:   
N:   As of dpkg version 1.22.13, this field is set to "optional" by default. As
N:   such, in this case the Priority field is redundant and should be removed.
N: 
N:   Visibility: pedantic
N:   Show-Always: no
N:   Check: debian/control/field/priority
N: 
2 days ago ● public

duck

Command: duck
Exit code: 0

(no output)

2 days ago ● public

look for copyright

Command: egrep -R -i copyright
Exit code: 0

tests/_model/test_components.py:    metadata = parse_metadata("Name: a\nVersion: 1\nLicense: Copyright\n        the full text\n")
tests/_model/test_bom.py:        copyright_line="Copyright (c) 2026 Example",
tests/_model/test_bom.py:        "copyright": "Copyright (c) 2026 Example",
tests/test_backend.py:    (root / "LICENSE").write_text("Copyright (c) 2026 Example\n\nMIT terms\n", encoding="utf-8")
tests/test_setuptools.py:    (root / "LICENSE").write_text("Copyright (c) 2026 Example\n\nMIT terms\n", encoding="utf-8")
tests/hatch/conftest.py:    (tmp_path / "project" / "LICENSE").write_text("Copyright (c) 2026 Example\n\nMIT terms\n", encoding="utf-8")
tests/test_pdm.py:    (root / "LICENSE").write_text("Copyright (c) 2026 Example\n\nMIT terms\n", encoding="utf-8")
tests/_formats/test_spdx.py:        "copyright": "Copyright (c) PyPA",
tests/_formats/test_spdx.py:        "copyrightText": "Copyright (c) PyPA",
tests/_seeder/LICENSE:Copyright (c) 2026 Example
tests/conftest.py:        copyright_line: str | None = None,
tests/conftest.py:        copyright_line: str | None = None,
tests/conftest.py:            copyright=copyright_line,
tests/_collect/test_source.py:from python_sbom._collect._source import copyright_notice, hash_build_scripts, selected_wheels
tests/_collect/test_source.py:        pytest.param({"LICENSE": "MIT terms\n"}, None, id="no-copyright-line"),
tests/_collect/test_source.py:            {"LICENSE": "MIT\n\nCopyright (c) 2026 Example\nCopyright (c) 2025 Other\n"},
tests/_collect/test_source.py:            "Copyright (c) 2026 Example",
tests/_collect/test_source.py:            id="first-copyright-line",
tests/_collect/test_source.py:def test_copyright(tmp_path: Path, files: Mapping[str, str], expected: str | None) -> None:
tests/_collect/test_source.py:    assert copyright_notice(tmp_path, ["LICENSE", "NOTICE"]) == expected
tests/_collect/test_wheel.py:    (tmp_path / "LICENSE").write_text("MIT\n\nCopyright (c) 2026 Example\n", encoding="utf-8")
tests/_collect/test_wheel.py:    assert (tree.name, tree.metadata.name, tree.copyright, tree.bundled, tree.build_scripts) == (
tests/_collect/test_wheel.py:        "Copyright (c) 2026 Example",
LICENSE:The above copyright notice and this permission notice shall be included
LICENSE:IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
docs/tutorials/first-sbom.rst:    $ printf 'Copyright (c) 2026 You\n\nMIT terms\n' > LICENSE
docs/conf.py:globals()["copyright"] = f"2026-{_NOW.year}"
docs/examples/hatchling/LICENSE:Copyright (c) 2026 You
docs/reference/api.rst:    ``description``, ``licenses`` (:class:`~python_sbom.License`), ``copyright``, ``hashes``
bench/_fixtures.py:    "MIT License\n\nCopyright (c) 2026 Bench Authors\n\nPermission is hereby granted, free of charge.\n"
pyproject.toml:  "CPY",                                       # The project does not add copyright headers to individual files
debian/copyright:Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
debian/copyright:Copyright: 2026 Bernát Gábor <gaborjbernat@gmail.com>
debian/copyright:Copyright: 2026 Bernát Gábor <gaborjbernat@gmail.com>
debian/copyright:Copyright: 2026 Daniel Baumann <daniel@debian.org>
debian/copyright: The above copyright notice and this permission notice shall be included in all
debian/copyright: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
src/python_sbom/_model/_bom.py:    if artifact.copyright is not None:
src/python_sbom/_model/_bom.py:        root["copyright"] = artifact.copyright
src/python_sbom/_model/_archive.py:    copyright_line: str | None,
src/python_sbom/_model/_archive.py:        copyright=copyright_line,
src/python_sbom/_model/_types.py:#: ``purl``, ``supplier``, ``authors``, ``description``, ``licenses``, ``copyright``, ``hashes``,
src/python_sbom/_model/_types.py:        "copyright": NotRequired[str],
src/python_sbom/_model/_inputs.py:    copyright: str | None
src/python_sbom/_model/_inputs.py:    # what the project adds: the copyright line of its license files and the scripts that built it
src/python_sbom/_model/_inputs.py:    copyright: str | None
src/python_sbom/_model/_wheel.py:        copyright=tree.copyright,
src/python_sbom/_validate/schemas/bom-1.6.schema.json:        "copyright": {
src/python_sbom/_validate/schemas/bom-1.6.schema.json:          "title": "Component Copyright",
src/python_sbom/_validate/schemas/bom-1.6.schema.json:          "description": "A copyright notice informing users of the underlying claims to copyright ownership in a published work.",
src/python_sbom/_validate/schemas/bom-1.6.schema.json:    "copyright": {
src/python_sbom/_validate/schemas/bom-1.6.schema.json:      "title": "Copyright",
src/python_sbom/_validate/schemas/bom-1.6.schema.json:      "description": "A copyright notice informing users of the underlying claims to copyright ownership in a published work.",
src/python_sbom/_validate/schemas/bom-1.6.schema.json:          "title": "Copyright Text",
src/python_sbom/_validate/schemas/bom-1.6.schema.json:          "description": "The textual content of the copyright."
src/python_sbom/_validate/schemas/bom-1.6.schema.json:        "copyright": {
src/python_sbom/_validate/schemas/bom-1.6.schema.json:          "items": {"$ref": "#/definitions/copyright"},
src/python_sbom/_validate/schemas/bom-1.6.schema.json:          "title": "Copyright Evidence",
src/python_sbom/_validate/schemas/bom-1.6.schema.json:          "description": "Copyright evidence captures intellectual property assertions, providing evidence of possible ownership and legal protection."
src/python_sbom/_validate/schemas/LICENSE:      "Licensor" shall mean the copyright owner or entity authorized by
src/python_sbom/_validate/schemas/LICENSE:      the copyright owner that is granting the License.
src/python_sbom/_validate/schemas/LICENSE:      copyright notice that is included in or attached to the work
src/python_sbom/_validate/schemas/LICENSE:      submitted to Licensor for inclusion in the Work by the copyright owner
src/python_sbom/_validate/schemas/LICENSE:      the copyright owner. For the purposes of this definition, "submitted"
src/python_sbom/_validate/schemas/LICENSE:      designated in writing by the copyright owner as "Not a Contribution."
src/python_sbom/_validate/schemas/LICENSE:   2. Grant of Copyright License. Subject to the terms and conditions of
src/python_sbom/_validate/schemas/LICENSE:      copyright license to reproduce, prepare Derivative Works of,
src/python_sbom/_validate/schemas/LICENSE:          that You distribute, all copyright, patent, trademark, and
src/python_sbom/_validate/schemas/LICENSE:      You may add Your own copyright statement to Your modifications and
src/python_sbom/_validate/schemas/LICENSE:      same "printed page" as the copyright notice for easier
src/python_sbom/_validate/schemas/LICENSE:   Copyright OWASP Foundation
src/python_sbom/_formats/_spdx.py:    copyrightText: NotRequired[str]
src/python_sbom/_formats/_spdx.py:    if copyright_text := component.get("copyright"):
src/python_sbom/_formats/_spdx.py:        package["copyrightText"] = copyright_text
src/python_sbom/_generate/_archive.py:    copyright_notice,
src/python_sbom/_generate/_archive.py:            copyright_line=copyright_notice(root, tree.metadata[""].values("license_files")),
src/python_sbom/_collect/_wheel.py:from ._source import copyright_notice, file_sha256, hash_build_scripts, selected_wheels
src/python_sbom/_collect/_wheel.py:        copyright=copyright_notice(root, metadata.values("license_files")),
src/python_sbom/_collect/_source.py:"""Read what the project tree adds: the copyright notice, the bundled wheels it selects and its build scripts."""
src/python_sbom/_collect/_source.py:def copyright_notice(root: Path, license_files: list[str]) -> str | None:
src/python_sbom/_collect/_source.py:    # the first Copyright line of the license files the project names, as they sit in the project
src/python_sbom/_collect/_source.py:                if line.startswith("Copyright"):
src/python_sbom/_collect/_source.py:    "copyright_notice",
2 days ago ● public

License check: python-sbom 0.5.0-1

Archive component: main

COMPATIBLE:

  • Apache-2.0 (Note: not compatible with GPL-2)
  • MIT

Back to Dashboard | View all reviews for this package