[05:47:39] <agend> hi - how can I tell pip (through requirements.txt file) to install newest django from 1.7 branch - its 1.7.3 currently, it could be 1.7.9 later - not 1.8 when its available ???
[05:58:21] <tdsmith> agend: that or django~=1.7.3 should do it; https://www.python.org/dev/peps/pep-0440/#examples
[05:59:10] <agend> tdsmith: many thanks, couldnt find it
[06:16:19] <agend> tdsmith: is this syntax supposed to work in requirements.txt file - cause it doesnt for me: ValueError: ("Expected ',' or end-of-list in", 'Django==1.7.*', 'at', '*')
[06:23:38] <tdsmith> agend: what version of pip are you using?
[06:24:13] <tdsmith> pep 440 was implemented in pip 6
[06:24:33] <agend> tdsmith: python-pip all 1.1-3 [112 kB]
[16:23:38] <nedbat> i have a tox.ini that requires Django >=1.7,<1.8, and also installs -r requirements.txt, which requires Django. pip complains about "Double requirement given". But they are not in conflict. Why can't it install a Django version I need?
[16:26:10] <tos9> I think the answer to that always ends up being dstufft saying "because I hate the dep resolver and sometime I'll rewrite it" :)
[16:26:16] <tos9> nedbat: There is no good reason IIRC.
[16:26:29] <tos9> But it's probably the most annoying thing about pip.
[16:26:42] <nedbat> tos9: is there a way to make it work? I guess I can remove the requirements.txt include from tox.ini
[16:27:01] <tos9> nedbat: Move whichever one is the one you want to win into your commands section
[16:38:00] <doismellburning> willingc: tl;dr "I have a big boolean equation, can it be made true and if so how"
[16:38:01] <dstufft> basicially it means given a boolean expression with variables that can be either True or False, find what combination of them evaluates to True
[17:01:44] <doismellburning> slightly OT but not totally - does anyone know/recommend an RST "style checker" of some description?
[17:02:10] <doismellburning> I always write terrible broken RST, because I only ever do it for my long_descriptions; I would like to automatically check this
[17:20:25] <doismellburning> lol I have the opposite issue, I _want_ stricter ;)
[17:20:39] <doismellburning> (but still, very relevant, thanks)
[17:50:49] <wsanchez> Hey dudes, I'm running into two problems in our build system related to pip… One is that pip wants to ~/.pip, which is outside of the sandbox the builder is allowed to write to. I can probably hack around that by setting $HOME or something…
[17:51:22] <wsanchez> But the bigger issue is that I'm using --no-deps and yet pip is still trying to talk to PyPI. Isn't that not supposed to happen?
[17:57:23] <wsanchez> Thanks, that's helpful. We just upgraded to >6 today
[17:57:56] <wsanchez> (Though the issue precedes the update; we were hoping updating would fix it.)
[18:04:15] <tomprince> wsanchez: I suspect that dstufft would love some help getting pip to take over setup_requires.
[18:05:28] <wsanchez> I'd be game to work with dstufft on whatever at PyCon.
[18:05:53] <wsanchez> Though at the rate things are moving I may be working on logging. :-)
[19:28:14] <raydeo> is there some reason why pip freeze decides to use the git commit in requirements.txt when in fact the package was installed from the local filesystem?
[19:28:48] <raydeo> for example "pip install -e src/foo", followed by a "pip freeze" shows "-e git+git@...#egg=foo-master"
[19:29:35] <raydeo> this just seems undesirable to me for several reasons... I could understand if I had used pip to clone the repo
[19:32:46] <raydeo> I've now lost control over what my requirements lock contains... it should've had "-e src/foo" or "-e /Users/raydeo/src/foo"
[19:35:58] <raydeo> it's not meshing well with the ability for "pip wheel" to build a full wheelhouse from a requirements file
[19:36:43] <raydeo> since it skips any editable mode items... I'd at least like to be able to "pip freeze | sed -e 's/^-e //g' > local_requirements.txt
[19:36:51] <raydeo> then I'd be able to build the wheelhouse from local checkouts
[19:36:59] <_habnabit> raydeo, you know it's no longer required to use -e to install from git, right?