Skip to content

Conversation

@fgregg
Copy link
Contributor

@fgregg fgregg commented Dec 29, 2021

will close #976

without this, windows can attempt to open this file as Windows-1252

Copy link
Member

@mayeut mayeut left a comment

Choose a reason for hiding this comment

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

I missed the character reproducing the issue in the first test I added.
The test now fails without the fix on Windows.

@mayeut mayeut merged commit e9ef3e9 into pypa:main Dec 30, 2021
@mayeut
Copy link
Member

mayeut commented Dec 30, 2021

Thanks for the contribution @fgregg

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.

on windows, setup_py_python_requires attempts to open utf-8 setup.py as Windows-1252 and fails

3 participants