Set django-compressor==1.2a2 instead of '==dev' #11
Conversation
… it to latest fixes it. See issue rdegges#10.
Hey, sorry it took me so long to reply to this. I've actually been doing a lot of research to figure out why this is happening. Turns out, this is a known bug in Here's what it means:
That's a huge pain in the ass, but it's the only way to make things work in production (which I think is super important). I'm no going to accept this pull request for that reason, but I will see what i can do about getting the pip patch accepted (I'll try to write some tests for it if I can figure out the pip codebase). |
Great explanation, no worries about taking some time to respond. I should be following pip, but don't. |
Hmm, changing
In addition to changing req/common.txt, I had to run the following two commands in sequence to solve the problem
This way pip will notice that the |
the key here is that if you run |
It appears that on the first attempt, the install fails but it actually downloads the package. The second attempt finds the package locally and can install it. This is what happened to my co-worker on Windows at least. I can't easily recreate at the moment. |
Perhaps we can have |
|
Hmm, that may be the best solution. I do wonder though, how come heroku installs |
@tonyxiao it's a bug in pip. I wrote a fix and patched it for heroku, but the patch is awaiting upstream approval because it doesn't have any tests written. I need to get on that. You can see the pull request here: pypa/pip#436 |
See issue #10.
I don't believe this was a local problem. Maybe pip can't find dev?