Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require that package descriptions not include newlines (#219)
* Require that package descriptions not include newlines Previously, we would include the description-with-newlines directly as the PKG-INFO summary, which could cause subtly broken builds (for instance, the package may install, but none of the specified dependencies). Now, raise a validation error during building, like: RuntimeError The Poetry configuration is invalid: - [description] 'First line\nSecond line (BOOOOOM)' does not match '^[^\n]+$' Closes python-poetry/poetry#1372
- Loading branch information