-
Notifications
You must be signed in to change notification settings - Fork 963
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
Fail upload if rST description does not render #3966
Comments
cc @mblayman |
#3760 should help - you can call |
This branch prevents a package upload if the rendered content for the description_content_type is invalid. If no description_content_type is set, 'text/x-rst' is assumed as the type. Fixes pypi#3966
Reopening this since the change got reverted. |
Looking at the user's project and their Travis build logs in #4099, I can't see why the upload would have failed.
We should probably experiment with this Travis feature and figure out if it was somehow user error, or if there's actually something broken about the way Travis deploys to PyPI. |
Solved in #5835 |
If the reStructuredText
long_description
does not render, let's fail the upload instead of just rendering it as plaintext, and raise a meaningful error to the user.The text was updated successfully, but these errors were encountered: