-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PEP 639: Use SPDX license expressions in Core package metadata #1625
Conversation
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pypa/packaging-problems#41 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reported-by: Aliaksei Urbanski @Jamim Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
And fix minor typo Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
CC: @pfmoore Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Do not deprecate the License field with a new field. Instead reuse License and provide backward compatibility. Also add License-File field already in use in wheel and setuptools. Integrates latest feedback Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
CC: @takluyver and @sdispater Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reported-by: Pradyun Gedam @pradyunsg Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
Reported-by: Pradyun Gedam <pradyunsg@gmail.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Also improve formatting Reported-by: Pradyun Gedam @pradyunsg Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
- Refactor intro with new and improved abstract, scope, non-scope, motivation and rationale sections - Add new Backwards Compatibility, Security and How to Teach sections - Move Reference Implementation out of appendix as its own section - Add new Rejected ideas section - Add new License Expression example using setuptools in Appendix Reported-by: Chris Jerdonek @cjerdonek Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reported-By: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
Reported-By: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
Reported-by: Nick Coghlan @ncoghlan Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reported-by: Nick Coghlan @ncoghlan Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
The case does nt matter, but there is a canonical case: if the case is the not the standard canonical case, tools should issue a warning. Reported-by: Oleg Grenrus @phadej Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reported-by: Oleg Grenrus @phadej Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Cabal uses both expressions and license files as proposed in this PEP Reported-by: Oleg Grenrus @phadej Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
@Steap ping. Your commits in this PR makes the CLA bot unhappy. We can solve this with either:
Thanks! |
Dear @python/pep-editors this belated PR is ready for your consideration and get a number assigned! |
OK, let's do this :) Thanks for working on this. |
Reporte-by: Cyril Roelandt <tipecaml@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reported-by: Nick Coghlan @ncoghlan Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reported-by: Pradyun Gedam @pradyunsg Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
Use latest SPDX spec 2.2 and SPDX license list 3.10 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reported-by: Miro Hrončok @hroncok Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pep-9999.rst
Outdated
Author: Philippe Ombredanne <pombredanne at nexb.com> | ||
Sponsor: Paul Moore <p.f.moore at gmail.com> | ||
BDFL-Delegate: Paul Moore <p.f.moore at gmail.com> | ||
Discussions-To: https://discuss.python.org/t/improving-license-clarity-with-better-package-metadata |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer using the ID here since the slug changes if you edit the title. This should reliably point to the same thread: https://discuss.python.org/t/2154
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@uranusjr done
Reported-by: Tzu-ping Chung @uranusjr Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
9645d5d
to
eae8321
Compare
It looks like 639 is the next available number, so go ahead and claim that one. CLA bot is now happy, so I think that's the final barrier to merging. |
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@Rosuav done! thank you. |
LGTM! |
Thanks @Rosuav! ^>^ |
…n#1625) * Add PEP draft for SPDX license expressions Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Add reference to another license-related ticket pypa/packaging-problems#41 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Add proper Draft status Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Direct PEP discussions to discuss.python.org Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Adopt latest PEP copyright conventions Reported-by: Aliaksei Urbanski @Jamim Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Add @pf_moore as BDFL delegate. And fix minor typo Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Add Paul Moore as a PEP sponsor CC: @pfmoore Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Reuse License Field. Add License-File. Do not deprecate the License field with a new field. Instead reuse License and provide backward compatibility. Also add License-File field already in use in wheel and setuptools. Integrates latest feedback Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Add packaging license metadata survey sections Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Add poetry and flit references CC: @takluyver and @sdispater Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typo Reported-by: Pradyun Gedam @pradyunsg Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> * Fix typo and improve subtitle Reported-by: Pradyun Gedam <pradyunsg@gmail.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typo Reported-by: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> * Fix typo Reported-by: Pradyun Gedam <pradyunsg@gmail.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Use appendix and use footnotes for links Also improve formatting Reported-by: Pradyun Gedam @pradyunsg Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Add new sections and improve existing sections - Refactor intro with new and improved abstract, scope, non-scope, motivation and rationale sections - Add new Backwards Compatibility, Security and How to Teach sections - Move Reference Implementation out of appendix as its own section - Add new Rejected ideas section - Add new License Expression example using setuptools in Appendix Reported-by: Chris Jerdonek @cjerdonek Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typo Reported-By: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> * Fix typo Reported-By: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> * Improve presentation Reported-By: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> * Improve style Reported-By: Pradyun Gedam <pradyunsg@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> * Move setuptools and wheel notes on license-file out Reported-by: Nick Coghlan @ncoghlan Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Clarify and discourage use of public domain Reported-by: Nick Coghlan @ncoghlan Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typo Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typos and clarify multi classifiers migrations Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Report warning for expression case The case does nt matter, but there is a canonical case: if the case is the not the standard canonical case, tools should issue a warning. Reported-by: Oleg Grenrus @phadej Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Use deprecated not obsolete per SPDX Reported-by: Oleg Grenrus @phadej Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Correct Cabal that uses SPDX expressions Cabal uses both expressions and license files as proposed in this PEP Reported-by: Oleg Grenrus @phadej Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typo Reported-by: Oleg Grenrus @phadej Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Use LicenseRef- prefix for non-standard SPDX ids This help endsure that the expressions is fully parseable by a conforming license expression processor Reported-by: Oleg Grenrus @phadej Reported-by: Nick Coghlan @ncoghlan Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typos. Reporte-by: Cyril Roelandt <tipecaml@gmail.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typo and add BSD* distributions reference Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typo and improve grammar Reported-by: Nick Coghlan @ncoghlan Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Copy Edits for initial sections * Reword a paragraph * Update pep-9999.rst * Fix typo Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Remove erroneous leading spaces Reported-by: Pradyun Gedam @pradyunsg Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com> * Update SPDX license list and spec versions Use latest SPDX spec 2.2 and SPDX license list 3.10 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Fix typos and formatting Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Clarify License file path definition Reported-by: Miro Hrončok @hroncok Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Use permalink for discussion link Reported-by: Tzu-ping Chung @uranusjr Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> * Assign number as PEP-0639 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
This is a new PEP to improve the license information handled in Core metadata which is now more than ready to enter the formal PEP process.
The discussion has been taking at https://discuss.python.org/t/improving-license-clarity-with-better-package-metadata/2154 and in the original PR on my fork pombredanne#2
This has been triggered by several discussions in particular:
Signed-off-by: Philippe Ombredanne pombredanne@nexb.com