-
Notifications
You must be signed in to change notification settings - Fork 1k
Include admonition about deprecated license classifiers on /classifiers
#17868
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
Hi, can you provide more details? The exact command you ran and the output you saw would be helpful. The The Packaging user guide does explain how to use the new PEP 639 fields: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files |
I understand. I didn't mean the specifics of the Regardless, here is the notice:
When authoring Though I think it would be great for consistency to let https://pypi.org/classifiers/ have an admonition on license classifier deprecation. That way, if someone used https://pypi.org/classifiers/ as an entrypoint, they know right away not to use the license classifiers. This may help with the overall awarerness towards PEP-639. |
/classifiers
Correct, this warning is coming from setuptools: https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/dist.py#L439-L447
I think that makes sense, and that it should also link to https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#licens just like the warning you shared. I've renamed this issue and added the "Documentation" and "Good First Issue" label to it. |
Hi, I’m interested in working on this issue as a part of GSoC 2025. I’ve worked with Flask and MongoDB and would love to contribute. Can I take this up? |
@kumar-reddy-kunchala Please do! |
What's the problem this feature will solve?
While upgrading the
build
package to 1.2.2.post1, I've stumbled upon a deprecation notice on Trove license classifiers in pyproject.toml, however there is no mention on this on the respective pypi.org documentation site. I missed the PEP-639 introduction, hence was briefly confused.Describe the solution you'd like
I would suggest adding an admonition referencing PEP-639, or at least mentioning the changes as documented in https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#classifiers
Additional context
I wasn't sure which issue tracker pypi.org is using, so opening a feature request here is just a guess. I hope this is ok.
The text was updated successfully, but these errors were encountered: