-
-
Notifications
You must be signed in to change notification settings - Fork 619
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-compile: AttributeError: 'NoneType' object has no attribute 'name' #421
Comments
This may be a duplicate of #416. |
This might be a regression -- I was seeing the same until I downgraded to piptools==1.7.0 |
@cmc333333 I'm also seeing this error in 1.8.0 but not in 1.7.0, with what seems like a perfectly reasonable list of packages. using pip==9.0.1 |
Failing for me with cpython 3.5.3. I'm wondering what the commonalities are. Clearly, the current pip-tools version (1.8.2) must be working for someone. (?) |
I found I could get it to work by checking for for ireq in ireqs:
if ireq.req is None:
continue
key = key_from_req(ireq.req) This doesn't solve the root cause of why |
I just noticed something while trying to reproduce: After some more testing, I found that if the output file (the .txt one) has
That makes sense, as the part failing is the one where the output file is read to get the previously existing pins. looks like there's something not handling the editables link in that part. |
I tried to reproduce on master, this seems to be fixed (likely related to #484). |
Closing as per #485 |
There is one remaining bug to fix that raises a |
Closed by #540 |
i suddenly got this error when compiling with an -e line. which was there before and compiled. Fixed by running pip install pip-tools --upgrade and moved from 4.5.1 to 5.2.1
|
Describe the issue briefly here.
Steps to replicate
git clone https://github.com/pyca/cryptography
cd cryptography/
pip-compile dev-requirements.txt
Expected result
Either it working, or a clear error message.
Actual result
The text was updated successfully, but these errors were encountered: