From 6228d2434d7cdecc4ef55ea06fe39335d1c887d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Tue, 17 Nov 2026 20:43:45 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20explain=20the=20two=20li?= =?UTF-8?q?censes=20in=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The metadata declares MIT AND Apache-2.0 while the root LICENSE and GitHub's badge show MIT only. State that the project code is MIT and the bundled CycloneDX schema files are Apache-2.0. Refs #27. --- README.md | 8 ++++++++ docs/changelog.d/27.doc.rst | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 docs/changelog.d/27.doc.rst diff --git a/README.md b/README.md index 8f658ea..ddca951 100644 --- a/README.md +++ b/README.md @@ -69,3 +69,11 @@ The [documentation](https://python-sbom.readthedocs.io) starts with a tutorial, options and commands, and how the SBOM is built. It also covers describing a [zipapp](https://docs.python.org/3/library/zipapp.html), adding project knowledge through a content provider, and rendering an SBOM as [SPDX](https://spdx.dev/) (Software Package Data Exchange). + +## License + +python-sbom's own code is under the [MIT license](https://github.com/tox-dev/python-sbom/blob/main/LICENSE). The wheel +and source distribution also ship the schema files `python-sbom validate` checks documents against, unmodified from +[CycloneDX/specification](https://github.com/CycloneDX/specification), under the +[Apache-2.0 license](https://github.com/tox-dev/python-sbom/blob/main/src/python_sbom/_validate/schemas/LICENSE). The +package metadata covers both, so its license expression is `MIT AND Apache-2.0`. diff --git a/docs/changelog.d/27.doc.rst b/docs/changelog.d/27.doc.rst new file mode 100644 index 0000000..7315b46 --- /dev/null +++ b/docs/changelog.d/27.doc.rst @@ -0,0 +1,2 @@ +Explain in the README why the license expression is ``MIT AND Apache-2.0``: the project code is MIT and the bundled +CycloneDX schema files are Apache-2.0.