Skip to content

Question: Understanding if license resultion is working as intended #109

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

Closed
2 tasks done
a-recknagel opened this issue Mar 13, 2025 · 1 comment
Closed
2 tasks done
Assignees
Labels
question Further information is requested

Comments

@a-recknagel
Copy link

  • I have checked for similar questions in the project's issue tracker to avoid duplicates.
  • I have searched existing issues to see if this question has been asked before.

Your Question

My issue can be replicated with the following setup:
requirements.txt

certifi

command

licensecheck -l "PROPRIETARY" --only-licenses MPL -u "requirements:requirements.txt"

output

                  Info                   
┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓
┃ Item            ┃ Value               ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩
│ program         │ licensecheck        │
│ version         │ 2024.3              │
│ license         │ MIT LICENSE         │
│ project_license │ PROPRIETARY LICENSE │
└─────────────────┴─────────────────────┘
                                                               
                       List Of Packages                        
┏━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Compatible ┃ Package ┃ License(s)                           ┃
┡━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ ✖          │ certifi │ MOZILLA PUBLIC LICENSE 2.0 (MPL 2.0)│
└────────────┴─────────┴──────────────────────────────────────┘

I would have thought that setting MPL on the allowlist would make MPL projects compatible, but it seems the project license is also taken into account (if I set -l MPL I get a check-mark). Is that how it's supposed to work?

@a-recknagel a-recknagel added the question Further information is requested label Mar 13, 2025
@a-recknagel
Copy link
Author

My bad, looks like this is a duplicate of #86. Feel free to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants