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

bpo-34421 Fix unicode error on Windows #8799

Merged
merged 5 commits into from Sep 8, 2018
Merged

Conversation

julienmalard
Copy link
Contributor

@julienmalard julienmalard commented Aug 17, 2018

This fixes an issue reported to setuptools that prevents the installation of packages containing unicode module or package names in Windows:
pypa/setuptools#1399

https://bugs.python.org/issue34421

This fixes an issue reported to setuptools that prevents the installation of packages containing unicode module or package names in Windows:
pypa/setuptools#1399
@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

@julienmalard julienmalard changed the title Fix unicode error on Windows bpo-34421 Fix unicode error on Windows Aug 17, 2018
@merwok
Copy link
Member

merwok commented Sep 7, 2018

Can you add a news entry?

@julienmalard
Copy link
Contributor Author

Done! Please let me know if I got it correctly.

@merwok
Copy link
Member

merwok commented Sep 7, 2018

Looks like you did not push :)

@julienmalard
Copy link
Contributor Author

Ah, sorry about that!

@@ -0,0 +1,2 @@
Fixed installation issue with setuptools setuptools that crashed with
packages containing unicode module or package names in Windows.
Copy link
Member

Choose a reason for hiding this comment

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

The directories are messed up here.

Minor things:

  • Can you put this in the Library section instead of Windows? It is a distutils change on all platforms.
  • Mention distutils, not setuptools.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, thanks!

@merwok merwok merged commit 0afada1 into python:master Sep 8, 2018
@miss-islington
Copy link
Contributor

Thanks @julienmalard for the PR, and @merwok for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @julienmalard for the PR, and @merwok for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 8, 2018
This caused installation errors in some cases on Windows.
Patch by Julien Malard.
(cherry picked from commit 0afada1)

Co-authored-by: Julien Malard <julien.malard@mail.mcgill.ca>
@bedevere-bot
Copy link

GH-9117 is a backport of this pull request to the 3.6 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 8, 2018
This caused installation errors in some cases on Windows.
Patch by Julien Malard.
(cherry picked from commit 0afada1)

Co-authored-by: Julien Malard <julien.malard@mail.mcgill.ca>
@bedevere-bot
Copy link

GH-9118 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Sep 8, 2018
This caused installation errors in some cases on Windows.
Patch by Julien Malard.
(cherry picked from commit 0afada1)

Co-authored-by: Julien Malard <julien.malard@mail.mcgill.ca>
miss-islington added a commit that referenced this pull request Sep 8, 2018
This caused installation errors in some cases on Windows.
Patch by Julien Malard.
(cherry picked from commit 0afada1)

Co-authored-by: Julien Malard <julien.malard@mail.mcgill.ca>
@julienmalard julienmalard deleted the patch-1 branch September 8, 2018 21:43
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

5 participants