-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat(python): add license fields #4722
Conversation
@DmitriyLewen Can you please take a look? |
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.
LGTM.
I think about case, when package hasn't been updated.
Docs say If only the License field is present, such tools SHOULD issue a warning informing users it is deprecated and recommending License-Expression instead.
. We need to follow their logic and can only use the new field. But perhaps we want to add some information in python page with link to official docs?
Oh... I missed that you kept previous field for backwards compatibility. |
* bump go-dep-parser * update tests * fix testdata
Description
According to PEP-639 license field is deprecated and replaced by the new License-Expression field, and there was added License-File field.
We left compatibility with the deprecated field, and also added support for new ones.
See #4261
Related PRs
Checklist