[02:04:59] <dstufft> that will either work, or it'll give us the real error message that's being masked
[02:05:17] <dstufft> alternative, you can just patch out the last couple lines if that's easier -> https://github.com/pypa/pip/blob/develop/pip/_vendor/__init__.py#L104-L108
[02:17:55] <koobs> at least ive ported (and using) pytest-capturelog now so its not that
[02:18:04] <koobs> dstufft: how do we fix class PyTest?
[02:19:45] <koobs> dstufft: i had a question yesterday, currently tests invoke pip or pip2.7, is there anyway to make those invocations the same as how console_scripts are rewritten for the python interpreter its installed with ?
[02:20:05] <koobs> that way it only tests the script name that is *actually* installed
[02:20:06] <dstufft> koobs: might try adding "tests" to the list here https://github.com/pypa/pip/blob/develop/setup.py#L24
[02:22:17] <koobs> yeh doesnt like tests as an arg
[02:22:21] <dstufft> adding a line like ``norecursedirs = .tox build dist node_modules *.egg-info`` to https://github.com/pypa/pip/blob/develop/setup.cfg#L2 might make it ignore the build dir
[02:22:23] <koobs> NameError: global name 'tests' is not defined
[11:10:17] <ysionneau> ronny: so there's no other way than what I'm doing?
[11:11:00] <dstufft> ysionneau: no, that's it currently.
[11:56:16] <ionelmc> ysionneau: why do you care about patch level anyway?
[12:01:33] <ronny> ionelmc: i suspect a bugfix is needed for his/her software to work
[12:01:59] <ionelmc> ronny: yeah i was curious what bug is that
[12:08:10] <ysionneau> ionelmc : some asyncio issues where fixed in 3.4.3
[13:55:55] <gthank> Any guesses as to why PyQT4 doesn't show up in the output of pip freeze/list despite it being installed?
[13:57:43] <gthank> To be clear: this isn't actually causing me personally any issues, but I was extremely surprised by the behavior, and don't see any immediate reason for this being the case.
[14:02:43] <dstufft> anytime you want pip or setuptools to recognize something is installed
[14:03:57] <gthank> OK. I thought I was seeing some stuff show up as installed without those, but it's just a case mis-match causing jinja2 and Jinja2-FOO.egg-info to show up in different parts of the list
[19:34:16] <gchristensen> Hi, I have a project named `probe` which depends on a package called `cfytools`. `cfytools` has a setup.py which declares requests>=2.7.0 as a dependency, and the `probe` package has a requirements.txt which declares "-e ." and "requests==0.4.3". when I `pip install -r requirements.txt` it ends up install requests 0.4.3 and makes no mention that the dependencies are not satisfiable. Is this a bug? it seems the
[19:34:19] <gchristensen> only way to safely upgrade a package is to completely delete the requirements.txt, install the new one, and regenerate. is this correct?
[19:38:18] <dstufft> pip's "resolver" is very very simple- Basically it uses the very first instance of a specifier it finds
[19:39:34] <gchristensen> I see, so for deploying things to production, should we simply avoid a requirements.txt?
[19:50:33] <dstufft> gchristensen: or regenerate it
[20:19:34] <pjdelport> gchristensen: As far as I understand it, using -r <file> basically means "override whatever else is specified with these"
[20:22:13] <carljm> gchristensen: I would say you _should_ use a requirements.txt that exactly specifies all your dependencies for deployment (including dependencies-of-dependencies)
[20:22:41] <carljm> but you shouldn't assume that pip will catch conflicts for you (at least not currently); you should test your requirements.txt and make sure it results in a working environment before you deploy using it.
[20:23:18] <carljm> (even if pip were fixed to have a better resolver, that would still be true, as there are often incompatibilities in practice between versions of Python packages that aren't necessarily reflected in their dependency metadata)
[20:24:08] <gchristensen> we do both of those things now, I'm just questioning my own sanity now.
[20:41:55] <robertjw> I'm having some trouble trying to install pip on a system that has both 2.6 and 2.7 libraries. pip wants to use the 2.6 libraries and I'm looking for a way to install pip so that it recognizes the 2.7 libs instead.
[20:43:14] <robertjw> Using 'easy_install pip' results in "Installing pip2.6 script to /usr/bin"