Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect declared license pulled by tooling #429

Open
ariel11 opened this issue May 21, 2021 · 6 comments
Open

Incorrect declared license pulled by tooling #429

ariel11 opened this issue May 21, 2021 · 6 comments

Comments

@ariel11
Copy link

ariel11 commented May 21, 2021

For the pillow packages, the tooling seems to think the declared license is CAL-1.0, even though the tooling identified the LICENSE as something else.

Not sure where the crawler is pulling CAL-1.0 from but that is incorrect - e.g. https://clearlydefined.io/definitions/pypi/pypi/-/pillow/8.2.0

image

FYI @peggymoloney

@ariel11
Copy link
Author

ariel11 commented Jul 7, 2021

This is still happening - https://clearlydefined.io/definitions/pypi/pypi/-/pillow/8.3.0

@qtomlinson
Copy link
Collaborator

After syncing and rebuilding my local dev environment, response from http://localhost:4000/definitions/pypi/pypi/-/pillow/8.2.0 still showed license.declared as "CAL-1.0"

@qtomlinson
Copy link
Collaborator

@ariel11 @capfei This seems to be a duplicate of #519. Could you please confirm? CAL-1.0 for https://clearlydefined.io/definitions/pypi/pypi/-/pillow/9.4.0. Discussion on root cause, see #519 (comment)

@ariel11
Copy link
Author

ariel11 commented Nov 14, 2023

@qtomlinson - agree they look like the same issue.

@ariel11
Copy link
Author

ariel11 commented Aug 16, 2024

This package has the same issue with "CAL-1.0" being the declared license finding, which is wrong - https://clearlydefined.io/definitions/pypi/pypi/-/matplotlib/3.9.2

@qtomlinson
Copy link
Collaborator

Current PR on parsing precedence from info.license and info.classifier does not help this case: pypi/pypi/-/matplotlib/3.9.2

  • from registryData:

    • from the info.classifier, spdxCorrect('Python Software Foundation License') yield null
    • from the info.license, spdxCorrect yields 'CAL-1.0'
  • from scancode, v30 yields NOASSERTION, may want to test v32.

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

No branches or pull requests

4 participants