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 setup.py on Windows #8798

Merged
merged 1 commit into from
Nov 27, 2020
Merged

Fix setup.py on Windows #8798

merged 1 commit into from
Nov 27, 2020

Conversation

jplu
Copy link
Contributor

@jplu jplu commented Nov 26, 2020

What does this PR do?

This PR fixes the target deps_table_update on Windows by forcing the newline to be LF.

Copy link
Contributor

@stas00 stas00 left a comment

Choose a reason for hiding this comment

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

It makes total sense that we want "\n" on windows. thank you, @jplu!

Not sure how examples/seq2seq/finetune.py sneaked in past autoformatters into master - can we move it into a separate PR as it has nothing to do with the proposed fix? And CI catches some errors on examples/seq2seq/finetune.py anyway - so something to fix there.
(edit: it was a bad PR merge #8478, reverted now - so if you rebase your branch this second file will go away)

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@stas00 stas00 merged commit b0f2dbc into huggingface:master Nov 27, 2020
stas00 pushed a commit to stas00/transformers that referenced this pull request Dec 5, 2020
enforce unix newline encoding regardless of OS creating the file
@jplu jplu deleted the fix-windows-setup branch June 13, 2023 14:23
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.

None yet

3 participants