You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MIT AND Apache-2.0 is correct. The two signals you saw have different scopes:
The root LICENSE (and the GitHub badge, which reads only that file) covers the project's own code, which is MIT.
The license field in pyproject.toml covers everything in the wheel and sdist. Those also ship the CycloneDX schema files that python-sbom validate checks documents against, unmodified from CycloneDX/specification, which is Apache-2.0. Their license sits beside them at src/python_sbom/_validate/schemas/LICENSE.
Both files are in license-files, so both land in .dist-info/licenses/. For downstream packaging, use MIT AND Apache-2.0.
The README did not explain this; #28 adds a License section.
Activity
gaborbernat commentedon Nov 18, 2026
MIT AND Apache-2.0is correct. The two signals you saw have different scopes:LICENSE(and the GitHub badge, which reads only that file) covers the project's own code, which is MIT.licensefield inpyproject.tomlcovers everything in the wheel and sdist. Those also ship the CycloneDX schema files thatpython-sbom validatechecks documents against, unmodified from CycloneDX/specification, which is Apache-2.0. Their license sits beside them atsrc/python_sbom/_validate/schemas/LICENSE.Both files are in
license-files, so both land in.dist-info/licenses/. For downstream packaging, useMIT AND Apache-2.0.The README did not explain this; #28 adds a License section.