PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Wednesday the 9th of July, 2014

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[01:23:04] <wsanchez_bmhq> What might cause `setup.py check` to fail with: error: invalid command 'check'
[01:23:28] <wsanchez_bmhq> I'm printing the setuptools module in use by setup.py and it's 1.5.4…
[01:24:41] <wsanchez_bmhq> Oh, python 2.6.6
[01:24:42] <wsanchez_bmhq> ew
[01:24:52] <wsanchez_bmhq> maybe that's is
[18:32:44] <glyph> dstufft: Hey I've got another good bug
[18:33:13] <glyph> dstufft: pip really, really wants to delete distribute on ubuntu precise.
[18:33:14] <Alex_Gaynor> glyph: what makes a bug good?
[18:33:28] <glyph> Alex_Gaynor: when it's intractable and full of backwards compatibility concerns and requires piling hacks on top of more hacks to fix
[18:33:46] <Alex_Gaynor> glyph: *Checks channel name*
[18:34:00] <glyph> Alex_Gaynor: pretty sure i'm in the right place!
[18:34:36] <glyph> dstufft: so basically I'm trying to 'pip install --upgrade --user setuptools' but it won't let me do this without deleting the system-installed setuptools.
[18:36:54] <glyph> oh wait should I be in -dev?
[18:38:12] <nanonyme> Yeah, that's nasty. I've just been working around it by using virtualenvs
[18:39:11] <glyph> nanonyme: I'm trying to bootstrap the process of setting up a reasonable virtualenv/pip/setuptools etc as --user so you can create envs and build wheels and so on in the first place :)
[18:41:43] <tomprince> You could just use a virtualenv for that too.
[18:42:29] <qwcode> glyph, it's this I think https://github.com/pypa/pip/issues/1851
[18:55:33] <glyph> qwcode: that looks precisely correct
[18:55:41] <glyph> I wonder if there's a workaround?
[18:57:01] <qwcode> glyph, is it system distribute or setuptools?
[18:59:43] <qwcode> glyph, other than fixing the bug, you could doctor the system metadata temporarily, so it doesn't appear installed.
[19:00:29] <qwcode> glyph, the fix would be a small change, but I fear other reprocussions, since this is gnarly territory, and we wanted to remove the distribute to setuptools migrations hack soonish anyway
[19:01:00] <glyph> qwcode: how would I doctor that metadata?
[19:01:14] <glyph> qwcode: ubuntu precise has another few years of life :)
[19:02:10] <qwcode> if you're not sure how to doctor the metadata, then I probably shouldn't be recommending that : )
[19:02:18] <glyph> qwcode: let me put it this way
[19:02:30] <glyph> I know what to monkeypatch in a .pth file
[19:02:36] <glyph> if you don't give me a better way I'm just going to do that :)
[19:02:57] <glyph> I want to make the scope of this mutation as minimal as possible.
[19:06:13] <qwcode> glyph, is it distribute or setuptools
[19:07:13] <qwcode> glyph, but no, I have no other quick fix other than pth or moving egg-info dirs around, depending on how it's installed globally
[19:08:10] <qwcode> glyph, maybe I try to get a fix in for this for the upcoming release, since it's fairly bad
[19:10:02] <glyph> qwcode: the whole point is that I can't elevate administrator privileges :-(
[19:10:16] <glyph> qwcode: thanks though, I'll just do this with a special script that monkeypatches right now
[20:16:57] <dstufft> glyph: sorry I was out, glad qwcode was able to provide some more info tho