You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When publishing a project, and the description key value contains newlines at the beginning and/or the end then PyPI seems to have trouble to display it.
This is the very same issue that leads to #202: The tools that generate the PKG-INFO file must ensure that data that is supposed to be a single line of text doesn't contain line breaks.
The correct behavior of those tools should be to abort the processing, requiring the data format or content to be fixed.
Environment
Problem Description
When publishing a project, and the
description
key value contains newlines at the beginning and/or the end then PyPI seems to have trouble to display it.The fix is using
strip()
e.g.Suggested Correction
PyPI and/or the uploading tool should automatically strip the short description key.
Example Project
The text was updated successfully, but these errors were encountered: