PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Thursday the 21st of January, 2016

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[00:00:20] <dstufft> Probably we just need to add os.path.dirname(dist.egg_info) in {sysconfig.get_path("stdlib"), sysconfig.get_path("platstdlib")} except all cross version
[00:00:36] <dstufft> to if dist.key in stdlib_pkgs and ^^^:
[00:00:48] <dstufft> that code isn't exactly right
[00:00:53] <dstufft> but I think you know what I mean?
[00:00:53] <lifeless> dstufft: so I'm thinking we don't need to check dist.key in that case
[00:01:07] <dstufft> oh, yea that seems fine too
[00:01:14] <lifeless> dstufft: like, I don't think we care that its argparse; we care that pkg_resources returned it and its in the stdlib dir
[00:01:17] <dstufft> just if dist.egg_info in sysoncfigshit
[00:01:25] <dstufft> seems reasonable
[00:01:44] <lifeless> dstufft: I'm wondering about --root things
[00:02:07] <dstufft> what about them
[00:02:09] <lifeless> dstufft: might mess up the logic for this
[00:02:21] <lifeless> isn't that how we bring up virtualenvs?
[00:02:28] <dstufft> No
[00:02:31] <lifeless> ok
[00:02:32] <dstufft> virtualenvs are horrible hacks
[00:02:37] <Ivoz> just get all package maintainers to use version qualifiers on requirement for argparse! /s
[00:02:41] <lifeless> if you say don't worry, I won't worry
[00:02:48] <dstufft> I don't think it'll be a problem
[00:02:55] <lifeless> Ivoz: can't fix already published package versions
[00:03:14] <dstufft> --root *might* make us look for stdlib/platstdlib in the specified --root
[00:03:25] <dstufft> but it's going to be very weird for anything to be filled out there
[00:03:30] <dstufft> since pip won't ever write to it
[00:14:58] <lifeless> dstufft: offhand, hwats stdlib vs platstdlib ?
[00:15:13] <dstufft> on some platforms they seperate the .so files from the .py files
[00:15:32] <lifeless> oh, virtualenvs mess that up, right
[00:16:40] <dstufft> No, just we don't want to uninstall something in the standard library just because it wasn't pure python and thus was put into platstdlib on those platforms
[00:17:00] <lifeless> dstufft: wat - http://paste.openstack.org/show/484477/
[00:17:23] <lifeless> dstufft: I get the double check, virtualenvs fold them to one path is all - that was confusing my exploration
[00:17:31] <dstufft> ah
[00:17:56] <dstufft> the version check doesn't always work sanely when upgrading pip itself :/
[00:18:25] <lifeless> dstufft: that 7.1.2 is coming from somewhere....
[00:18:30] <lifeless> dstufft: it gets worse
[00:18:48] <lifeless> http://paste.openstack.org/show/484478/
[00:18:56] <lifeless> dstufft: you can see that my new code is being used ...
[00:19:28] <dstufft> lifeless: do you have a .egg-info in your curdir
[00:19:52] <lifeless> dstufft: yes. It has Version: 8.1.0.dev0
[00:20:31] <dstufft> python -c "import pkg_resources; print(pkg_resources.get_distribution('pip').location)"
[00:20:32] <dstufft> I think
[00:21:06] <dstufft> or
[00:21:11] <dstufft> python -c "import pkg_resources; print(pkg_resources.get_distribution('pip').egg_info)"
[00:21:12] <lifeless> /home/robertc/work/pip
[00:21:23] <lifeless> /home/robertc/work/pip/pip.egg-info
[00:21:34] <lifeless> grep 7.1 /home/robertc/work/pip/pip.egg-info -r
[00:21:38] <lifeless> -> ""
[00:21:38] <dstufft> is that for 8.1.0.dev0?
[00:21:41] <dstufft> hm
[00:22:01] <lifeless> /home/robertc/work/pip/pip.egg-info/PKG-INFO:Version: 8.1.0.dev0
[00:22:39] <dstufft> could drop a thing in pip/utils/outdated.py to see where it's getting the 7.1.2 from I guess
[00:23:14] <dstufft> https://github.com/pypa/pip/blob/develop/pip/utils/__init__.py#L810-L824
[00:23:25] <lifeless> dstufft: one thing I saw with the openstack fallout was that every pip invocation was warning
[00:23:37] <lifeless> dstufft: the lastcheck stuff wasn't working
[00:24:13] <dstufft> the last check is only for how often we check PyPI
[00:24:17] <dstufft> not for how often we warn
[00:24:36] <dstufft> so we don't just constantly hammer your network connection on every pip invocation
[00:24:40] <lifeless> ah
[00:26:12] <lifeless> and I've broken it (so its working). sigh, next time, I swear, I'll figure it out
[00:31:25] <dstufft> https://caremad.io/s/kEiD84jkTz/ top 10 things downloading from PyPI so far on the 20th (UTC time)
[00:31:43] <dstufft> pip 1.5.6 is ubuntu 15.10
[00:31:54] <dstufft> 1.5.4 is trusty and Debian
[00:31:55] <dstufft> I think
[00:39:33] <lifeless> E TypeError: create_environment() got an unexpected keyword argument 'download'
[00:39:36] <lifeless> :/
[00:40:39] <dstufft> lifeless: upgrade your virtualenv in your virtualenv
[00:40:53] <lifeless> dstufft: that was a new virtualenv I just ran tox -epy27 --notest to make
[00:41:16] <dstufft> hm
[00:41:21] <dstufft> somehow it's getting an old one
[00:41:34] <lifeless> dstufft: fixed now by install -U virtualenv
[00:41:37] <lifeless> but its odd :/
[00:46:30] <lifeless> dstufft: now, I need to figure out how to get the stdlib non-virtualenv path
[00:47:33] <lifeless> dstufft: the check needs to be not stdlib and not platstdlib, hmm or maybe I combine with the local check...
[00:55:58] <lifeless> dstufft: pushed a version for your consideration
[00:59:32] <Ivo> lifeless: try sys.real_prefix or sys.base_prefix
[01:09:14] <lifeless> dstufft: it needs to be merged with yours
[01:09:26] <lifeless> dstufft: ECHILD right now though
[01:10:11] <dstufft> ok
[03:08:02] <lifeless> dstufft: ok backish
[03:08:06] <lifeless> dstufft: where we at?
[12:25:51] <dstufft> lifeless: sorry, started feeling sick and laid down and fell asleep by accident
[17:52:42] <lifeless> dstufft: sleep good
[19:35:28] <lifeless> dstufft: how are we going for 8.1?
[19:53:09] <dstufft> lifeless: 8.0.1 is out
[19:53:16] <dstufft> virtualenv needs updated still
[19:53:20] <dstufft> working on that
[19:55:30] <lifeless> cool; shout if I can help
[19:57:56] <dstufft> lifeless: mostly just waiting on tests to run now for virtualenv
[20:54:01] <lifeless> dstufft: o/
[21:43:33] <dstufft> gotta go get alyssa
[21:43:40] <dstufft> will do 8.0.2 and virtualenv when I Ge back