Skip to content
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

classifier vs classifiers in the upload api #9085

Closed
konstin opened this issue Feb 13, 2021 · 1 comment
Closed

classifier vs classifiers in the upload api #9085

konstin opened this issue Feb 13, 2021 · 1 comment

Comments

@konstin
Copy link
Contributor

konstin commented Feb 13, 2021

Describe the bug

The upload api used by twine generally accepts fields from the core metadata specification. But while the core metadata describes a field called Classifier, warehouse ignores classifier and instead wants classifiers. It seems that PEP 301 has introduced this mismatch, and setuptools/twine have kept it since.

Expected behavior

Since I don't expect that the fields of the upload api can be changed at this point, it would be good if there was some documentation about where the upload differentiates from the core metadata specification.

To Reproduce

Try uploading a package with classifier in the POST form-data, find that it doesn't show up in the ui.

My Platform
n/a

Additional context

This was first reported in PyO3/maturin#407

@di
Copy link
Member

di commented Mar 11, 2021

Closing as a duplicate of #3151.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants