-
Notifications
You must be signed in to change notification settings - Fork 5
Change license.file
to license-files
+ SPDX-compliance
#528
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
Conversation
I encountered this issue when making a release astro-informatics/sleplet#451
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.
Looks good to me.
In case helpful to anyone understanding why this change is required, relevant part of Python Packaging User Guide documentation says that
As per PEP 639 licenses should be declared with two fields:
license
is an SPDX license expression consisting of one or more license identifiers.license-files
is a list of license file glob patterns.A previous PEP had specified license to be a table with a file or a text key, this format is now deprecated.
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.
Actually reading the above linked documentation a bit more carefully I think we want to specify both license
and license-files
fields?
Co-authored-by: Matt Graham <matthew.m.graham@gmail.com>
Co-authored-by: Matt Graham <matthew.m.graham@gmail.com>
https://stackoverflow.com is currently down |
I glanced over it initially, but yeah I think you are right, it does want both. It didn't error with just one, but did with the use of the old |
license.file
to license-files
license.file
to license-files
+ SPDX-compliance
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.
Thanks for updating, looks all good to me.
I encountered this issue when making a release astro-informatics/sleplet#451. Also, make
BSD-3
SPDX-compliant.