[03:28:31] <njs> (unless you've gone to sleep, in which case I guess I'll see your reply tomorrow or something)
[08:57:14] <t4nk982> hey, quick question. I'm trying to bundle together a python library that in turn depends on two other libraries (Cython and meliae). the problem is that meliae requires Cython to be installed, so specifying both in install_requires doesn't really help.
[08:57:20] <t4nk982> is there a way to get around this?
[10:29:57] <ionelmc> t4nk982: what's the actual problem?
[10:51:44] <DRMacIver> dstufft: It's very possible this is me doing something wrong, but I was doing what seemed to me based on reading to be the best option. :-)
[10:53:00] <DRMacIver> dstufft: But basically I have https://github.com/HypothesisWorks/hypothesis-python/blob/master/setup.py#L51 and get a fairly constant (not high volume but enough that it's annoying) rate of "Hypothesis doesn't install correctly on 2.7" requests because people have old pip
[10:54:33] <DRMacIver> Complaining about that on Twitter wasa basically the source of this :-)
[10:55:00] <DRMacIver> But basically I was under the impression that if I wanted *newer* pip to behave correctly I should be avoiding doing conditionals on Python version in setup.py
[10:55:37] <mgedmin> there was a range of new-ish pip versions that did Bad Things if you had the wheel cache enabled, and a setup.py did dynamic computations
[10:55:59] <mgedmin> but even newer pip versions made the wheel cache segregated by minor python version by default, to avoid this issue
[11:01:37] <dstufft> DRMacIver: Oh, you pair it with uh, https://github.com/pypa/twine/blob/master/setup.py#L29-L32 or so, but basically ``pip install`` from a sdist will ingore that section of setup.cfg and just use what setup.py says, building a wheel though will use that section to override (compeltely, not in addition to) install_requires when the wheel is built, and every version of pip that has supported wheels supports markers inside of wheels
[11:01:58] <dstufft> DRMacIver: FWIW you could also just ship a wheel, that will probably cover most people who are complaining
[11:02:20] <dstufft> you have to go back to pip 1.4 to get a version of pip that doesn't support wheel by default
[11:03:02] <dstufft> Which is like, Ubuntu 12.04, but not 14.04, and Debian oldstable but not Debian stable
[11:03:34] <dstufft> (1.4 came out in 2013, 1.5 came out Jan 1st, 2014)
[11:03:56] <DRMacIver> BTW sorry if that came out a bit aggressively towards you/pip on Twitter. I was actually complaining about downstream packaging!
[11:05:00] <dstufft> DRMacIver: Oh no, not at all.I was just on my phone and twitter is a bit annoying :] I had an inkling it had something to do with that but wanted to make sure
[11:48:39] <ionelmc> dstufft: so basically there's no way to build a bad wheel with that setup.cfg technique?
[11:49:32] <ionelmc> does it break down if pip/wheel are old or something? (eg: incorrectly built wheel if pip/wheel too old)
[11:52:34] <t4nk982> ionelmc: http://bazaar.launchpad.net/~meliae-dev/meliae/trunk/view/head:/setup.py#L65 seems to be the problem. meliae requires Cython to be installed before it gets installed. so doing a simple "pip install Cython meliae" doesn't work, and the same things happens if I specify them both in install_requires of my own project.
[11:55:42] <mgedmin> meliae doesn't even use setuptools :/
[12:00:49] <ionelmc> t4nk982: looks like a broken setup.py to me
[12:01:03] <ionelmc> use something else or ask the maintainers to fix it
[13:21:32] <t4nk982> ionelmc: I was afraid of that. out of curiosity, how would this be fixed if it's using a function available in Cython?
[13:21:51] <t4nk982> isn't availability of Cython *needed* there?
[13:54:21] <tlyng> have something changed with pip/setuptools lately? Suddenly pip won't accept my requirements-dev.txt file, it raises RequirementParseError (Invalid requirement, parse error at "u'__placeh'"). It goes away if I removed the `extras` flags in requirements-dev.txt (./src/mypackage[test,experimental] => ./src/mypackage)
[14:02:23] <ionelmc> t4nk982: you can use it "lazily" - eg, have cython in setup_requires and then use the builtin support of cython from setuptools
[14:02:43] <ionelmc> t4nk982: though my preference is to just ship the C files and be done with it
[14:03:00] <ionelmc> i don't like projects that have cython in setup_requires - makes everything goddamn slow
[16:32:44] <puiterwijk> dstufft: hi. I'm seeing a lot of 500 errors on PyPI: on every package page after logging in, and when trying to register a new user
[16:49:32] <ronan> hi, is there an ETA on the next pip release?
[17:01:58] <xafer> A 8.1.2 should happen soonish hopefully