PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Wednesday the 27th of January, 2016

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[01:03:46] <StevenK> dstufft: If you're back from dinner, https://github.com/pypa/packaging/pull/50 when you have time. I'm not happy about some of the docs prose, comment on the PR or merge it and we'll deal with it later
[01:05:50] <dstufft> StevenK: I am back, will do that once I write an email about the ABS PEP
[01:07:19] <dstufft> lifeless: Ok, I made a few small, bikesheddy comments on the ABS PEP, but I think it's generally good to go. I can't really articulate what's making me nervous as anything more than a general nervousness so I'm going to just chalk it up to the nature of what we're changing here and say we're good to go on getting a reference implementation done so we can make sure it actually works when implemented and we don't want any changes to the PEP
[01:07:20] <dstufft> from implementing it
[01:07:35] <dstufft> I'm drafting an email saying basically that to distutils-sig.
[01:16:04] <dstufft> StevenK: Ok, looking at that now
[01:16:43] <dstufft> (Sorry that my time is so all over the place, a bit of ADD coupled with being a bottleneck for a bunch of different things conspire to make me constantly trying to juggle too many things)
[01:18:11] <lifeless> dstufft: cool, thanks
[01:18:35] <lifeless> dstufft: well, if you want to scale some of that out, you just need to ask/offer
[01:18:40] <lifeless> dstufft: being a bottleneck is a choice
[01:20:26] <lifeless> dstufft: bah, that sounds judgy, I didn't mean it to be
[01:20:33] <dstufft> lifeless: yea, I have to learn to let go of things better :/
[01:20:59] <dstufft> (and also get better at asking for hlep)
[01:25:53] <lifeless> dstufft: tell me something
[01:26:08] <lifeless> dstufft: the distutils cross-version thing you did to my 8.0.1 patch
[01:26:32] <lifeless> dstufft: is there really no other way to get at purelib and platlib ?
[01:27:15] <Ivo> could let me do a patch release of virtualenv :D :D
[01:28:29] <dstufft> lifeless: this thing? https://github.com/pypa/pip/blob/develop/pip/compat/__init__.py#L26-L43
[01:28:58] <dstufft> Ivo: what is your PyPI username and do you have a gpg key
[01:29:00] <lifeless> dstufft: yeah; in setuptools_shim I need to figure out where the wheel got installed
[01:29:13] <lifeless> dstufft: for the shim of 'pip install --no-binary thing'
[01:29:40] <dstufft> lifeless: Ok, you want a different thing then, because there are config files that we need to inspect too
[01:29:42] <lifeless> dstufft: we build a wheel in the shim, pip install the wheel, then retroactively convert it to an .egg-info + record file
[01:30:11] <lifeless> dstufft: and AIUI the .dist-info directory could end up in either platlib or purelib
[01:30:20] <dstufft> lifeless: https://github.com/pypa/pip/blob/develop/pip/locations.py#L124-L182
[01:30:57] <lifeless> urgle
[01:31:04] <lifeless> I guess I'm importing pip in the shim then
[01:31:14] <lifeless> or copying that across
[01:31:22] <dstufft> lifeless: see: Rube goldberg machine of sadness
[01:31:31] <lifeless> dstufft: Life Choices
[01:31:37] <dstufft> so many life choices
[01:31:57] <dstufft> it'd probably be better to copy it, just because we make no promises in pip of API compat
[01:35:08] <lifeless> dstufft: can parse_config_files do per-distribution things?
[01:35:25] <lifeless> dstufft: e.g. do I really need to know dist_name, other than for headers, which I don't care about ?
[01:35:28] <dstufft> I'm not sure I know the answer to that
[01:35:40] <lifeless> k
[01:36:04] <dstufft> Why don't we care about headers though
[01:36:08] <dstufft> I think packages can install haders
[01:36:10] <dstufft> headers
[01:36:31] <lifeless> because I'm reading back what pip did
[01:36:42] <lifeless> and transforming the RECORD to a install-recod.txt
[01:36:50] <dstufft> oh
[01:36:51] <dstufft> okay
[01:37:15] <lifeless> my intent with the shim is to find out the holes in the spec
[01:37:28] <lifeless> and let folk with needs send patches to make it cover everything
[01:37:50] <lifeless> one of the bits we handwaved a little w.r.t. a shim is install of non-wheels
[01:37:59] <lifeless> 'build a wheel and let pip install it'
[01:38:20] <lifeless> is actually 'build a wheel, pip install that, move .dist-info to .egg-info, and generate an install-record that pip asked for
[01:39:23] <lifeless> pip helpfully edits RECORD comprehensively for me
[01:41:26] <lifeless> for instance, I haven't put in arg parsing for all of --home, --user etc yet
[01:41:41] <lifeless> thats fairly shallow - see what pip does, pass it down, figure out how to emulate
[01:49:19] <lifeless> lol, the wheel regex in pip is a little overcomplicated
[01:49:22] <lifeless> .+?
[01:49:32] <lifeless> isn't that equivalent to
[01:49:33] <lifeless> .*
[02:59:49] <lifeless> \o/ pip install working. yay.
[03:27:07] <lifeless> dstufft: and the shim is baseline complete - --user, --home etc missing.
[03:29:32] <StevenK> dstufft: I can sort out extras as a set(), did you want to ponder the split more (I'm not convinced as yet), or what is your plan?
[09:28:02] <Ivo> dstufft, pypi - Ivoz, gpg - https://keybase.io/ivo
[23:51:52] <lifeless> Nakato: StevenK: any reviews needed?