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 in Py2.7 #451

Closed
wants to merge 3 commits into from
Closed

Conversation

mhluongo
Copy link

@mhluongo mhluongo commented Feb 9, 2017

Closes #433 and #434. Pretty sure this also addresses #224 and #439, though those need confirmation.

Thanks @byjott for the fix, hopefully we can get this merged quickly.

Copy link
Contributor

@davidovich davidovich left a comment

Choose a reason for hiding this comment

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

Can you add a test to show the breakage/fix ?

@@ -159,6 +160,10 @@ def _reverse_dependencies(self, cache_keys):
"""
# First, collect all the dependencies into a sequence of (parent, child) tuples, like [('flake8', 'pep8'),
# ('flake8', 'mccabe'), ...]
return lookup_table((key_from_req(Requirement.parse(dep_name)), name)
return lookup_table((key_from_req(parse(dep_name)), name)
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this is not related to the issue you are trying to fix. Please open another PR for the package extras related modification, and remove this commit.

@vphilippon
Copy link
Member

Dealth with by #568

@vphilippon vphilippon closed this Sep 27, 2017
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.

Pip compile breaks with scandir==1.4
3 participants