[06:32:56] <MarkusH> What's the recommended way to get the installed version of a package during runtime? http://stackoverflow.com/a/2073599 looks promising
[06:35:29] <ronny> MarkusH: the way to do it by metadata is pkg_resources.get_distribution('myproject').name
[07:21:43] <tx> Hey guys, I may have a bit of a weird request. We cache pip packages locally for fast CI / software builds. Only problem is that sometimes these packages take some time to build.
[07:22:05] <tx> Is there some sort of pre-built remote wheel / egg repo?
[07:22:27] <tx> Aim is to pre-build for a specific python version + arch. Save a lot of time.
[10:54:14] <ronny> tx: you could put a devpi in the middle build a wheel and upload it with twine
[10:54:24] <ronny> tx: that way you controll the building anf the timing
[10:54:35] <ronny> and devpi can be configured not to get new versions from pypi
[14:26:40] <dstufft> pombreda: No, the fact it's old is how it generally works :)
[14:38:47] <pombreda> dstufft: I reckon this :P welll guess what .... not sure how, but lxml has just pubslihed manylinux wheels there https://pypi.python.org/pypi/lxml/3.6.4 .... so these may be working. let me test
[14:40:30] <pombreda> dstufft: I wonder why Centos has been picked rather than debian.... nefore many Linux I have had faily good sucess with older debians for eggs, then wheels
[14:41:41] <dstufft> pombreda: other people doing this sort of thing (Enthought, Anaconda, Holy Build Box, etc) were all using CentOS5, so we just went with the crowd
[14:58:09] <pombreda> mgedmin: I have been referring several ugly Pypi package pages due to faulty ReST to your restview ... :) I hop this is not bugging you
[20:51:50] <pombreda> can I use https://www.python.org/dev/peps/pep-0496/ in intall_requires? with the latest setuptools/wheels and to build wheels?
[20:53:08] <DanielWHolth> It only works in extras-require in wheel. Nb its bug tracker
[20:56:09] <pombreda> DanielWHolth: thx. I am trying this simple stuff: lxml 3.6.0 builds on windows as a wheel. It fails on 3.6.4. But work on 3.6.4 for manylinux (which does not works on 3.6.0) ...
[20:59:34] <ngoldbaum> since you need build machines on three OS choices
[20:59:53] <pombreda> that I have: you can see the build loop there: https://github.com/pombreda/thirdparty and https://github.com/pombreda/thirdparty-manylinux
[21:00:10] <pombreda> on windows@appveyor and linux/mac@travis
[21:21:48] <pombreda> that is ratherr under documented in the PEPs imho, but is works superbly
[21:22:01] <apollo13> oh, I ment the segfault trace, but great it works for you
[21:22:53] <pombreda> apollo13: I did not waste time to investigate the lxml manylinux segfault trace as the lxml maintainers published a working manylinux offocial wheel on Pypi this week -end
[21:23:16] <pombreda> (I mean the non working one build with lxml 3.3.6 and the many linux docker images)
[21:26:32] <pombreda> DanielWHolth: and it works great so far :) thank you really very much... For anyone who would want this here is the commit for the IRC logs: https://github.com/nexB/scancode-toolkit/commit/789ef18f620c98efdf7cdc9f9853ea494cb45bc4#diff-2eeaed663bd0d25b7e608891384b7298L110
[21:28:14] <pombreda> so DanielWHolth I reckon that using extra_requires with environment markers does not require a special pip invocation then?
[21:32:35] <DanielWHolth> The empty extra name is equivalent to an install req
[21:34:44] <pombreda> DanielWHolth: this explains it all.... Thank you my Lord.
[21:36:34] <pombreda> I guess I condemned to push a patch to https://github.com/pypa/python-packaging-user-guide/ explaining how to do this in simple terms :P
[21:38:14] <pombreda> or not: my last PR there was a year ago: https://github.com/pypa/python-packaging-user-guide/pull/160 and has still not be pulled in? :|
[21:39:49] <pombreda> well I will do it any way :P