Skip to content

License? #27

Closed
Closed

Description

@dotlambda

Is the license MIT (as LICENSE.md suggests) or MIT AND Apache-2.0?

license = "MIT AND Apache-2.0"

Activity

  1. gaborbernat commented on Nov 18, 2026

    @gaborbernat
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions