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

Use SPDX license names as classifiers #15901

Closed
ralf-vogel opened this issue May 3, 2024 · 2 comments
Closed

Use SPDX license names as classifiers #15901

ralf-vogel opened this issue May 3, 2024 · 2 comments
Labels
feature request requires triaging maintainers need to do initial inspection of issue

Comments

@ralf-vogel
Copy link

What's the problem this feature will solve?

For the license clearing of a product, it is vital to know the exact license a package is using.
Currently the packages can define classifiers like:

License :: OSI Approved :: MIT License
License :: OSI Approved :: BSD License

or just:

License :: OSI Approved

This is very unspecific and raises some important questions.
What BSD License does this refer to?
SPDX lists 32 different BSD licenses.
Or even worse: what OSI Approved license is this package using?
There is a huge difference between the MIT License and the GNU General Public License v2.0 or later (especially regarding the copyleft).

So the classifiers might look useful, but in many cases they are not.

The solution I would like

Instead of the unprecise classifiers above, the the packages should be labelled with unique license identifiers matching the full names in the SPDX License List.
This also means, that the group License :: OSI Approved should not be a valid classifier.

@ralf-vogel ralf-vogel added feature request requires triaging maintainers need to do initial inspection of issue labels May 3, 2024
@di
Copy link
Member

di commented May 3, 2024

Duplicate of pypa/trove-classifiers#17.

@di di closed this as completed May 3, 2024
@ralf-vogel
Copy link
Author

FYI: the actual discussion about this topic has moved here:
https://discuss.python.org/t/pep-639-round-2-improving-license-clarity-with-better-package-metadata/12622

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request requires triaging maintainers need to do initial inspection of issue
Projects
None yet
Development

No branches or pull requests

2 participants