LicenseCheck
LicenseCheck copied to clipboard
Fixed GNU Library being not recognized, added UPL-1.0
Purpose of This Pull Request
- [ ] Documentation update
- [x] Bug fix
- [x] New feature
- [ ] Other (please explain):
Overview of Changes
- Fixed bug with GNU Library not being recognized as GNU Library General Public License, version 2.0. The name GNU Library is an old alias for this license - you can verify it at the GNU website.
- Added UPL-1.0 license, which is a very permissive license similar to MIT (see at tldrlegal). The most important difference is that UPL-1.0 includes an explicit patent grant and clear ability to relicense on either the same or other terms. In
types, I included it after other permissive licenses compatible with GPL (in the compatibility matrix too).
Reviewer Focus
It would be worth double-checking changes made to the compatibility matrix - I've set UPL-1.0 in the same way as MIT was there.
Additional Notes
The problem with UPL-1.0 and GNU Library can be easily reproduced by issuing the check presented below, which will in result warn about unrecognized licenses.
$ printf "%s\n%s\n" "psycopg2-binary==2.9.10" "oracledb" | licensecheck
2025-10-03 22:58:36.893 | WARNING | licensecheck.license_matrix:licenseLookup:114 - 'GNU LIBRARY' License not identified so falling back to UNKNOWN
2025-10-03 22:58:36.894 | WARNING | licensecheck.license_matrix:licenseLookup:114 - 'UPL-1.0' License not identified so falling back to UNKNOWN