Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.3k
Ignore newlines when processing keywords/platforms#4888
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Newlines in `keywords` or `platforms` can breakthe produced metadata in PKG-INFO or METADATA files.Fixes:pypa#4887
abravalheri commentedMar 18, 2025
Thank you very much@frenzymadness for having a look on this issue and proposing a solution. I think we have 2 options according tohttps://setuptools.pypa.io/en/latest/development/developer-guide.html#code-conventions-and-other-practices (see description about modifying files in the
In the case we go for a change in the |
frenzymadness commentedMar 19, 2025
You are right, sorry. Let me take this to distutils and see what they think about this change there. |
Summary of changes
Newlines in
keywordsorplatformscan breakthe produced metadata in PKG-INFO or METADATA files.
Fixes:#4887
Pull Request Checklist
newsfragments/].