-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Docs] PyPI Meta tags no longer include license #4956
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
Comments
Can confirm, liccheck reads it as
|
It looks like it's related to this: But it seems like the change occurred with this commit: There was a PR to fully review this: #4901 Maybe this should be reverted until the license gets figured out? |
I created a PR to temporarily resolve this problem until a perfect PEP 639 license declaration can be formulated. |
This seems related to license_scanner issues 26 I think @WilliamRoyNelson PR will fix it |
This issue is present in the latest release 79.0.1 |
This issue is present in the latest release 80.0.0 |
There is an open discussion regarding the difficulties of deriving an accurate composite license expression in the discourse thread starting on https://discuss.python.org/t/pep-639-round-3-improving-license-clarity-with-better-package-metadata/53020/196. It is a non trivial problem that other projects are also facing. For the time being, while a comprehensive solution is not formulated, please read the canonical source of license information, i.e. license files distributed within the archive, for accurate, complete, and up-to-date information on the licensing model. |
I really appreciate that link, I think I have a much better understanding of the underlying problem. |
This issue is present in the latest release 80.1.0 |
See: pypa/setuptools#4956 Signed-off-by: Aurélien Bompard <[email protected]>
The removal of the classifier is intentional, as it removed redundant (and potentially contradictory) information from the metadata. The intention is to declare the license in exactly one canonical location. Currently, that location is in the LICENSE file. I consider it a bug that license scanner doesn't recognize this well-known license indicator, which other tools such as GitHub do recognize. ![]() In jaraco/skeleton#171, I'm exploring a system-level approach to providing an even more concise license indicator, so that's where I plan to invest my energy. I do suspect merging that change will fix this problem (for Setuptools and hundreds of other projects).
There's no need to announce that the issue is present. That's kind of how every issue works. Until a change is made to address it, it will be part of every release.
I think it's more accurate to say it occurred with ad84110. The merge commit includes unrelated changes. |
Hey, I do understand how the classifier will be redundant but what about License-Expression? This field was also introduced in pep 639 helps tooling figure out what license is used Having to license file in there is good for humans but not the easiest for tooling |
See jaraco/skeleton#171 (comment), where I've consolidated my thoughts on the matter. I'm working on merging that into Setuptools now. |
Summary
PyPI normally shows a package's license in the Meta tags. This is important for automated tools used in enterprise environments that ensure that only licensed packages are used, and for users to be able to easily determine if a package has a open-source license. The current PyPI page has no indication that setuptools has an open source license.
Before change to license classifiers:


Now it doesn't:
OS / Environment
No response
Additional Information
78.1.0 shows license: https://pypi.org/project/setuptools/78.1.0/
78.1.1 does not: https://pypi.org/project/setuptools/78.1.1/
Code of Conduct
The text was updated successfully, but these errors were encountered: