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 UnicodeDecodeError caused by opening README with no encoding #1029

Closed
wants to merge 1 commit into from

Conversation

danyeaw
Copy link
Contributor

@danyeaw danyeaw commented Apr 11, 2019

Signed-off-by: Dan Yeaw [email protected]

Pull Request Check List

This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles!

  • Added tests for changed code.
  • Updated documentation for changed code.

This PR fixes #1027 by opening the README with the UTF-8 encoding, instead of the default encoding for the platform. I looked at the tests that exist, and the test_builder and test_complete already do quite a bit of testing around importing a description from a README. Would it be worth creating unicode characters in the "complete" README.rst?

@drunkwcodes
Copy link

Please read the new reply in #1027

Copy link

@drunkwcodes drunkwcodes left a comment

Choose a reason for hiding this comment

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

It should have been like this since version 0.11.0.

https://poetry.eustace.io/blog/poetry-0-11-0-is-out.html

@danyeaw
Copy link
Contributor Author

danyeaw commented May 26, 2019

@sdispater Thanks for poetry ♥️, can you please review this?

@danyeaw
Copy link
Contributor Author

danyeaw commented Jul 10, 2019

@sdispater Any update on being able to merge this? I have to work around this right now by removing the pyproject.toml when building Gaphor for Windows to force use of a redundant setup.py.

@danyeaw danyeaw closed this Jul 11, 2019
@danyeaw danyeaw deleted the add-open-encoding branch July 11, 2019 02:10
Copy link

github-actions bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UnicodeDecodeError in Masonry with MSYS2
2 participants