-
Notifications
You must be signed in to change notification settings - Fork 16
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
chore: Remove version range of PyPI::packaging #204
chore: Remove version range of PyPI::packaging #204
Conversation
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.
Please provide a rationale why this is the right thing to do in the commit message.
The license BSD-2-Clause has not changed for 9 years. According to curantion guideline provided by @tsteenbe, it is rare relicensing within the same family. Signed-off-by: Bruno Pacheco <brunopacheco1@yahoo.com>
3058ca3
to
9af026b
Compare
@sschuberth Thanks for your request. Please check the new commit message. |
Thanks for adding some body text. However, that reasoning does not really go into the direction that I would have expected: When you're removing the upper bound for the version range, you're effectively saying "I do not expect any future version of the package to fix the issue and change the name of the license to 'BSD-2-Clause' proper." But why is that a valid assumption, given that the package is still maintained? If your intention is, on the other hand, to have the curation "just in case" even for future versions, to avoid the need to update the version range for new releases, you should clearly say so. However, personally I'd be reluctant to accept such a curation, even if license changes withing the same family are rare. Instead, we should work with upstream to get their licensing correct, e.g. by filing an issue at https://github.com/pypa/packaging/issues, or yet better contribute a PR that fixes the issue upstream. |
True, I will proceed as suggested, I will update the version range in another PR and open an issue/PR in the source. |
@sschuberth I perhaps need to learn a bit more who ORT scans licenses in pyp packages. packaging has a filled called pyproject.toml. The license classifier used there is Is there another way for ORT to find correctly the license in that package? |
While I'm not a Python expert either, @brunopacheco1, quick googling shows that probably using the core metadata |
@brunopacheco1 ORT will pick up the @heliocastro and myself have plans for an updated version of orthw (written in python) to generate the license mapping curations automatically based on scan results and public data sources. Still early days we first need to complete the porting from bash to python before we can add new features. |
@tsteenbe @sschuberth thanks for your prompt reply. Packaging peeps share that there is also a PEP discussing on how to improve license metadata. Check this out: https://peps.python.org/pep-0639/ |
We already have a Python-specific heuristic in place that aligns a "coarse" declared So if you declare |
Not sure if this counts as insight: I found PEP 639 by @pombredanne et al. after some random clicking around in pypa/packaging. Part of this PEP is deprecating the core metadata |
No description provided.