[00:26:52] <kober> ionelmc: ok, before it seemed like it was an issue with me generating the file too late. Now I see it in my package: pollweb-0.0.1.dev0/assets/manifest.json but when I `pip install` that package in site-packages/pollweb/ there is no assets folder
[00:26:58] <kober> and no manifest.json file in there anywhere
[00:28:58] <kober> in the sdist its at the same location as the setup.py
[00:35:47] <kober> Didn't seem to help any, the manifest.json doesn't end up in the package anywhere
[00:36:33] <kober> I'm installing via `pip install dist/pollweb-0.0.1.dev0.tar.gz`
[00:37:17] <kober> Interesting. Doesn't look like it made it into the tar with that flag either like it was before
[00:37:49] <ionelmc> kober: remove all egg-info/build dirst
[00:38:21] <ionelmc> don't try packaging changes in a dirty place
[00:41:12] <kober> ok, so I see it when I generate the sdist: hard linking assets/manifest.json -> pollweb-0.0.1.dev0/assets and in the tar ball: pollweb-0.0.1.dev0/assets/manifest.json
[00:41:45] <kober> but a pip install doesn't get it there
[00:42:32] <ionelmc> kober: show your setup.py and file layout
[00:58:18] <kober> ionelmc: https://paste.fedoraproject.org/314307/45368313/ the setup.py
[01:12:22] <ionelmc> actually that's how i figured out how to do the pth install trick
[01:13:25] <ionelmc> kober: i'm not sure sdist supports with subcommand thing
[01:13:31] <kober> Does look like this only works the second time because I cleaned everything and I see its generated the dynamic MANIFEST.in file without my stuff: https://paste.fedoraproject.org/314310/14536840/
[01:33:01] <ionelmc> one has to wonder why you're using npm when you have python tho :)
[01:34:16] <ionelmc> it's like shopping for pliers in the grocery store
[01:36:14] <kober> front-end guy has this whole workflow for generating his assets and everything and I don't want to break him. I just need the manifest file in python so I can decache
[09:01:26] <domenkozar> is Jason R Coombs around here?
[13:03:27] <mgedmin> oh, the "UserWarning: Support for Python 3.0-3.2 has been dropped. Future versions will fail here." comes from the vendored pkg_resources
[13:03:47] <mgedmin> jml, look closer, that build job uses pip 6.0.7 to pip -U pip
[13:06:13] <ravenx> anyone have success moving from virtualenv to docker?
[13:06:49] <ravenx> right now, what I don't like is that, everytime I run a build/test on Jenkins, pip does the whole song and dance of rebuilding the virtualenv, building/downloading/compiling dependencies
[13:06:58] <ravenx> I would like something that only does it when it detects a change
[13:07:30] <mgedmin> actually, if you don't ask jenkins to wipe the workspace, it'll reuse the existing virtualenv and won't have to download/compile/install anything
[13:08:49] <ravenx> mgedmin: really? even if, in my Jenkins buildscript (shell option) i have a "virtualenv test; source test/bin/activate", Jenkins will be smart enough to skip the virtualenv step, and go right to source?
[13:09:56] <mgedmin> virtualenv test will maybe overwrite the test/bin/python with another copy of itself, but it won't clear the site-packages
[13:10:20] <mgedmin> any subsequent pip install will find existing installed packages and won't have to reinstall them
[13:10:39] <mgedmin> the risk here is when you remove a dependency from your setup.py/requirements.txt but of course it remains installed in the existing virtualenv
[13:10:52] <mgedmin> and maybe your code still relies on imports from that dep, but you won't notice it's missing because tests won't fail
[13:10:53] <ravenx> mgedmin: true. but that hoepfully shouuuuuudln't cause much of a problem.
[13:11:05] <mgedmin> there are solutions for this (e.g. pip-sync from pip-tools)
[13:14:19] <ravenx> cuz right now i have a feeling that the reason my jenkins is crashing every other day is that it is getting pounded by doing pip work and not the unittests itself lol
[13:17:28] <ravenx> sometimes when something is building, the entire website just halts and refuses to go back up
[13:18:20] <mgedmin> can you ssh in during that time? do you have any kind of cpu/memory/swap/disk io monitoring graphs for the time (e.g. collectd)?
[13:18:44] <ravenx> i don't have collectd, most i have is a nagios thing for that server.
[13:18:53] <ravenx> though i do have a feeling that it could be a lack of ram.
[13:19:05] <ravenx> I read somewhere that Jenkins is ram intensive.
[13:19:21] <mgedmin> are you the one who complained a few days ago about jenkins java processes eating all possible CPU cores while running jobs, to the point where it wouldn't respond to http requests?
[13:21:19] <ravenx> but now that you re-word it that way
[13:21:23] <ravenx> that sounds like the problem i am having right now
[14:42:56] <dstufft> jml: right, no 3.2 in pip 8+, but you can either ``pip install pip<8`` or ``curl https://bootstrap.pypa.io/3.2/get-pip.py | python``
[15:31:37] <dstufft> we have a system that automatically translates any CLI flags to environment variables and to config files
[15:31:45] <dstufft> and --version is a cli flag and gets translated
[15:32:55] <jml> dstufft: Ah, I see. I was just confused for a while as I got "ValueError: invalid truth value '<8'" errors when trying to restrict my pip version
[15:33:14] <dstufft> yea, you're not the first to run into it
[15:33:16] <jml> e.g. "maybe it's some weird shell escaping thing, trying to read from fd 8?!"
[15:33:29] <dstufft> it doesn't really make sense for --version to be in the config or env variables
[15:33:35] <dstufft> it just is because it's automatic
[15:40:08] <jml> now that I've restricted pip, I'm getting setuptools errors: https://travis-ci.org/jml/testtools/jobs/104659475 AttributeError: 'module' object has no attribute 'SourceFileLoader'
[15:40:20] <jml> I've tried restricting to <19.5, but that doesn't seem to help
[17:00:11] <nedbat> what's the new way to do dependency_links? I want my setup.py to be generic ("I need foobar"), but my actual installation to know that foobar is at a github url. is there a way?
[17:06:49] <dstufft> nedbat: add it to your requirements.txt that you pass to pip via -r
[17:07:01] <dstufft> https://caremad.io/2013/07/setup-vs-requirement/ has more info
[17:07:22] <nedbat> dstufft: i see, so install the prereq from github first, then the mention in setup.py will be satisfied?
[17:08:27] <dstufft> nedbat: yea, lnoger term we'll have "direct dependencies" which will let you depend on stuff like that directly... but you won't be able to upload anything with a direct dependency to PyPI
[17:11:07] <nedbat> dstufft: any ideas for something like a private file that says, "Anytime pip tries to install foobar, it should get it from this github url"? Then I could just "pip install thing", and if thing needed foobar, it would come from github?
[17:12:34] <dstufft> there's nothing that explicit, you can add a find-links = https://github.com/blah blah blah#egg=thing-1.0+nedbat though I believe
[18:05:15] <wsanchez> Any reason why "python setup.py sdist upload" would sometimes not include header files?
[18:05:43] <dstufft> wsanchez: is "computer" a good answer?
[18:05:58] <wsanchez> On PyPI, kerberos-1.2.3 (C extension) is missing headers. I just uploaded 1.2.4 and they are there; no changes except the version.
[18:06:17] <wsanchez> dstufft: Yeah that's my best theory. Was hoping you had a better one. :-)
[18:06:32] <wsanchez> Oh well, I'll just pay attention next time.
[18:06:38] <dstufft> is it using anything fancy like svn magic support
[18:08:41] <dstufft> wsanchez: 1.2.3 doesn't seem to have a MANIFEST.in file in the package.
[18:09:39] <wsanchez> Both were svn checkout, and sdist upload from within the directory
[18:10:05] <wsanchez> I did 1.2.3 last week, so further details are fuzzy. Meh.
[18:10:25] <dstufft> 1.2.3 is also missing the LICENSE file
[18:11:44] <dstufft> wsanchez: sorry I don't have a better answer, I don't see anything that stands out except the reason it's not included is probably realted to the MANIFEST.in file not existing
[18:11:48] <dstufft> why that doesn't exist, I dunno