-
Notifications
You must be signed in to change notification settings - Fork 994
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
Implement PEP 639 #16620
Comments
PyPI uses https://github.com/pypa/packaging to parse and validate metadata, so it will need an update to support the new metadata version, keys, and deprecations. I've opened draft PRs for that and the packaging docs at:
Once those PRs (or something that supersedes them) are merged, implementation in PyPI can begin. |
Draft PR is now up at #16949 awaiting merge/release of pypa/packaging#828. |
#16949 is now ready for review with the release of packaging 24.2 |
PEP 639 implementation is live and online for PyPI now. We'll keep an eye out for issues filed if folks run into any issues as adoption takes off. |
Reopening this because part of implementing PEP 639 is also deprecating the |
By my read of 639, PyPI's responsibility is to not add any new license classifiers...
I think deprecating them in the way proposed in pypa/trove-classifiers#199 is left to a future pep. |
I'm also pretty certain we are already meeting the spec for the License field:
warehouse/warehouse/forklift/metadata.py Lines 238 to 249 in 9a270a2
|
I don't think there is further work to be done here without additional PEPs to remove license classifiers or remove the license field. |
Reading https://peps.python.org/pep-0639/#backwards-compatibility more closely, I agree:
|
What's the problem this feature will solve?
Standardized licensing metadata will in time unify the currently largely chaotic landscape.
Describe the solution you'd like
See: https://peps.python.org/pep-0639
PEP 639 has been provisionally accepted with one of the conditions being implementation in PyPI.
The text was updated successfully, but these errors were encountered: