-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Dial back Pythonfinder integration effort #2582
Conversation
4d54c61
to
893fb8f
Compare
9c68041
to
ff985cc
Compare
pipenv/core.py
Outdated
'{} -c "import sys; print(sys.executable)"'.format(line), | ||
) | ||
if not isinstance(output, str): | ||
output = output.decode(sys.getdefaultencoding()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fs_str(output)
But we don't need to handle this anyway
pipenv/core.py
Outdated
c = delegator.run( | ||
cmd, block=False, timeout=PIPENV_TIMEOUT, env=pip_config, | ||
) | ||
c.block() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't block here and we pass block=False
we can't read the output...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be indented inside the with
block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense to me, I just put it there because of no reason in particular
8143f40
to
de8ddb0
Compare
just rebased this, I think I'm probably good with it if you are (I can cut 1.0 of pythonfinder if we are satisfied) |
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
This is still not working though.
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
9b8b999
to
ef060c4
Compare
Signed-off-by: Dan Ryan <dan@danryan.co>
Let’s try this a little at a time…
This only uses Pythonfinder in
find_a_system_python
, and leaves everything else alone. I hope this approach will make rewrites easier to tackle.