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

LICENSE vs. COPYING.LESSER inconsistency #23

Closed
mtelka opened this issue Feb 16, 2023 · 4 comments
Closed

LICENSE vs. COPYING.LESSER inconsistency #23

mtelka opened this issue Feb 16, 2023 · 4 comments

Comments

@mtelka
Copy link

mtelka commented Feb 16, 2023

The 1.3.0 sdist at PyPI shows this as the License-File:

$ grep License-File PKG-INFO 
License-File: LICENSE
$

While at the same time it claims the project license is LGPL v3:

$ grep License: PKG-INFO 
License: GNU Lesser General Public License v3
$

But the LICENSE file contains GPL v3, not LGPL v3:

$ head -n2 LICENSE 
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007
$

The LGPL v3 is actually in the COPYING.LESSER file:

$ head -n2 COPYING.LESSER 
                   GNU LESSER GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007
$
@mtelka
Copy link
Author

mtelka commented Feb 16, 2023

Please note this is regression from 1.2.9 where both LICENSE and COPYING.LESSER files were referenced as License-File in the PKG-INFO file.

@mtelka
Copy link
Author

mtelka commented Jun 21, 2023

This is fixed in flake8-noqa 1.3.2. Thanks.

@mtelka mtelka closed this as completed Jun 21, 2023
@plinss
Copy link
Owner

plinss commented Jun 21, 2023

FWIW, I didn't change anything. I'm guessing the actual regression (and fix) was in the build tooling that creates the package (I did switch to pyproject.toml at v1.3.0).

My understanding of the LGPL is that it's an addendum to the GPL as opposed to a stand-alone license, so both files need to exist to apply the LGPL properly.

@mtelka
Copy link
Author

mtelka commented Jun 21, 2023

Yes, you are right. The other option is to include one single file with combined LGPL+GPL. See https://www.gnu.org/licenses/lgpl-3.0.html and https://www.gnu.org/licenses/lgpl+gpl-3.0.txt.

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

No branches or pull requests

2 participants