-
Notifications
You must be signed in to change notification settings - Fork 933
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
Add new License-Expression field. Bump to version 2.2 #635
Add new License-Expression field. Bump to version 2.2 #635
Conversation
License expressions provide a better way to express the license of a distribution using a well defined syntax and well known license ids from SPDX. Document that License and Classifiers will no longer deal with license metadata in the future. Bump metadata specification version to 2.2 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
0879b53
to
81df7e7
Compare
This is a proposal to add support for SPDX license expressions following the discussion in https://github.com/pypa/warehouse/issues/2996 There are few things to discuss:
|
Also how would we deal with deprecation for spec fields and for tools using these: especially Classifiers.. AFAIK they are validated strictly when doing an upload to Pypi. If we were to deprecate and remove all the license classifiers in the future, how would this be handled? a strict rejection? a warning? |
Hmm... My understanding is that we'd still use the PEP process to track updates to the metadata specification. The specification is living on packaging.python.org, because it's a good place to hold the "current state" of the specification, which is better than having to look at multiple PEPs to figure it out. |
+1. This certainly sounds like a change that warrants wider discussion and publicity than a warehouse ticket and a PR here. On a more specific note, as a package author I've no idea what SPDX is. Nor have I any interest in it - my interest in licensing for my personal projects doesn't go much beyond "do what you like with it, don't sue me, and beyond that (e.g. if you work out how to make millions off my work) I haven't really thought things through". If we're going to mandate something like this, I think we need a lot better guidance for people who frankly don't care about licensing. So I'd like a broader discussion on how we ensure this proposal caters for producers of license information as well as for consumers (who obviously have a need for precise and accurate information). |
@pradyunsg @pfmoore this makes sense. @pfmoore re:
That's fair and definitely something to make clear and easy! |
Awesome! Thanks @pombredanne! |
Fantastic - thanks for this :-) |
I am closing this PR for now, while the draft PEP is being worked on pombredanne/spdx-pypi-pep#2 |
License expressions provide a better way to express the license of a
distribution using a well defined syntax and well known license ids
from SPDX.
Document that License and Classifiers will no longer deal with license
metadata in the future.
Bump metadata specification version to 2.2
Signed-off-by: Philippe Ombredanne pombredanne@nexb.com