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

Ignore newlines when processing keywords/platforms #347

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

frenzymadness
Copy link

Newlines in keywords or platforms can break
the produced metadata in PKG-INFO or METADATA files.

Fixes: pypa/setuptools#4887

Another possibility is to raise an error if keywords or platforms contain newlines but this fix is simple and backward-compatible and does not break projects that have multiline definitions of those attributes.

Newlines in `keywords` or `platforms` can break
the produced metadata in PKG-INFO or METADATA files.

Fixes: pypa/setuptools#4887
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

Successfully merging this pull request may close these issues.

[BUG] multiline keywords breaks metadata file
1 participant