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

Fix license line ending in wheel metadata for Windows #836

Merged
merged 2 commits into from
Mar 8, 2022

Conversation

messense
Copy link
Member

@messense messense commented Mar 8, 2022

@netlify
Copy link

netlify bot commented Mar 8, 2022

✔️ Deploy Preview for maturin-guide canceled.

🔨 Explore the source changes: de75834

🔍 Inspect the deploy log: https://app.netlify.com/sites/maturin-guide/deploys/62276b18fa448e0007a4f6b4

let mut lines = license.split_inclusive('\n');
assert_eq!(
lines.next().unwrap(),
"Copyright (c) 2018-present konstin\r\n"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without trim_end(), this becomes Copyright (c) 2018-present konstin\r\r\n on Windows.

https://github.com/messense/maturin/runs/5465287747?check_suite_focus=true

@messense messense force-pushed the fix-windows-metadata branch from f9bf3bb to f237c38 Compare March 8, 2022 14:18
@messense messense merged commit 51810c9 into PyO3:main Mar 8, 2022
@messense messense deleted the fix-windows-metadata branch March 8, 2022 15:00
anthrotype added a commit to anthrotype/pngquant-wheels that referenced this pull request Mar 9, 2022
anthrotype added a commit to anthrotype/pngquant-wheels that referenced this pull request Mar 9, 2022
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.

allow to include license text file in the wheel metadata
1 participant