Skip to content

mypy has invalid SPDX license definitions #16228

@matroscoe

Description

@matroscoe

Bug Report

We are unable to leverage the "dependency-review-action" tooling provided by GitHub to determine if mypy meets our license needs.

To Reproduce

Run dependabot and the dependency check functionality.

Expected Behavior

The mypy license to be defined in a SPDX compatible manner so it is easier to prove to management/it security that the licenses are not an issue to use.

Actual Behavior

The dependency_review Action is unable to determine how mypy is licensed.

Run actions/dependency-review-action@v3
Dependency review did not detect any denied packages
Vulnerabilities
Licenses
  Warning: 
  The validity of the licenses of the dependencies below could not be determined. Ensure that they are valid SPDX licenses:
  poetry.lock » mypy@1.5.1 – License: MIT AND NOASSERTION AND Python-2.0
  Error: Dependency review could not detect the validity of all licenses.

Your Environment

  • Mypy version used: 1.5.1
  • Mypy command-line flags: N/A
  • Mypy configuration options from mypy.ini (and other config files): N/A
  • Python version used: N/A (3.11.5/6)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions