This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
peep crashes when deps are already in the virtual env #22
Comments
Thoughts on gsathya@859430e ?
becomes
|
erikrose
added a commit
that referenced
this issue
Feb 28, 2014
…already installed. Fix #22. Bump version to 0.9.1. Thanks to gsathya for an initial patch toward this. I just tweaked his to maintain the package order from the requirements file, so you can paste into it without disturbing any organizational scheme you had going on there.
Sort of nitpick, but it makes more sense to make satisfied_req_names a dict, rather than a set if you're just doing lookup. The running time is O(n) and not O(n*n) |
Oh wow. Disregard my earlier comment. TIL python sets are implemented using dictionaries[0] [0] - http://svn.python.org/projects/python/trunk/Objects/setobject.c |
Yep, they're dicts without values, iirc. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I had a requirements file with a single requirement. The package was already installed in my virtual environment, but I wanted peep to give me the sha to put in the file.
It appears that peep errors when the package is already installed into the virtual env because it never downloads files to hash.
console log of the problem with description:
https://gist.github.com/lonnen/c5dc13deb12589f6de04
The text was updated successfully, but these errors were encountered: