Skip to content

bpo-34421 Fix unicode error on Windows#8799

Merged
merwok merged 5 commits into
python:masterfrom
julienmalard:patch-1
Sep 8, 2018
Merged

bpo-34421 Fix unicode error on Windows#8799
merwok merged 5 commits into
python:masterfrom
julienmalard:patch-1

Conversation

@julienmalard

@julienmalard julienmalard commented Aug 17, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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

merwok commented Sep 7, 2018

Copy link
Copy Markdown
Member

Can you add a news entry?

@julienmalard

Copy link
Copy Markdown
Contributor Author

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

@merwok

merwok commented Sep 7, 2018

Copy link
Copy Markdown
Member

Looks like you did not push :)

@julienmalard

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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.

5 participants