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

pip-review hangs when running with pip 18, Python 2.7 and Windows 7 #64

Open
texasreddog opened this issue Sep 20, 2018 · 4 comments
Open

Comments

@texasreddog
Copy link

I've been using pip-review for a while, but it has just seemed to stop working recently. when I try to run it on the command line with the -i option, it just sits and hangs and never returns anything. I finally have to Ctrl-C to get out of it, then it shows:

C:\Users>pip-review -i
Operation cancelled by user
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 162, in run_module_as_main
"main", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "c:\Python27\Scripts\pip-review.exe_main
.py", line 9, in
File "c:\Python27\Lib\site-packages\pip_review_main
.py", line 201, in main
outdated = get_outdated_packages(forwarded)
File "c:\Python27\Lib\site-packages\pip_review_main_.py", line 185, in get_outdated_packages
output = check_output(command).decode('utf-8')
File "c:\python27\lib\subprocess.py", line 567, in check_output
output, unused_err = process.communicate()
File "c:\python27\lib\subprocess.py", line 791, in communicate
stdout = _eintr_retry_call(self.stdout.read)
File "c:\python27\lib\subprocess.py", line 476, in _eintr_retry_call
return func(*args)
KeyboardInterrupt

I'm using Python 2.7.11 on a Windows 7 machine.

@jgonggrijp
Copy link
Owner

Thanks for reporting this. Which version of pip-review and which version of pip are you using? Did you recently update either of those?

@texasreddog
Copy link
Author

texasreddog commented Sep 21, 2018 via email

@jgonggrijp jgonggrijp changed the title pip-review hangs when running pip-review hangs when running with pip 18, Python 2.7 and Windows 7 Sep 21, 2018
@jgonggrijp
Copy link
Owner

It may very well be the case that pip-review 1.0 (which is indeed the latest version) isn't compatible with pip 18. I haven't tested this combination yet. I'll look into it.

@jgonggrijp jgonggrijp self-assigned this Sep 22, 2018
@jgonggrijp
Copy link
Owner

On my mac, pip-review 1.0 works fine with pip 18, both under python 2.7 and python 3.5. So if this is a real issue, it is probably windows-specific. I need help from a Windows user to figure out what is causing this issue. @texasreddog, could you give this a try, perhaps with a fresh virtual environment to rule out side effects from installed other packages?

@jgonggrijp jgonggrijp removed their assignment Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants