[09:06:12] <pmxbot> jaraco pushed 3 commits to setuptools (https://bitbucket.org/pypa/setuptools/) :
[09:06:12] <pmxbot> Force sdist zip format (preferred for _build_egg)
[09:06:12] <pmxbot> Remove test_build_egg. The test doesn't work and it's difficult to test _build_egg given the current interface.
[09:06:12] <pmxbot> Remove test_do_download, which also no longer works due to complexities around secure downloaders.
[10:54:59] <pmxbot> jaraco pushed 1 commit to setuptools (https://bitbucket.org/pypa/setuptools/) :
[10:54:59] <pmxbot> Update test_install to actually patch the hidden _python_cmd.
[11:00:33] <pmxbot> jaraco pushed 2 commits to setuptools (https://bitbucket.org/pypa/setuptools/) :
[11:00:33] <pmxbot> Remove test for use_setuptools, as it fails when running under pytest because the installed version of setuptools is already present.
[11:00:33] <pmxbot> Just remove test_ez_setup, as the last remaining test, test_install, only barely touches the functionality as the actually installation command is mocked. The test run in the travis config is much more comprehensive.
[11:35:49] <pmxbot> jaraco pushed 1 commit to setuptools (https://bitbucket.org/pypa/setuptools/) :
[11:35:49] <pmxbot> Update test to use local timestamps, so the tests pass in any timezone.
[11:48:53] <pmxbot> jaraco pushed 1 commit to setuptools (https://bitbucket.org/pypa/setuptools/) :
[11:48:53] <pmxbot> Use mktime for Python 3.2 compatibility
[11:52:44] <pmxbot> jaraco pushed 1 commit to setuptools (https://bitbucket.org/pypa/setuptools/) :
[11:52:44] <pmxbot> Remove unused UTC implementation
[18:59:21] <Ivo> dstufft: what do you mean by broken here https://github.com/pypa/pip/issues/1668#issuecomment-38460127
[19:08:50] <dstufft> they do rm -rf /usr/lib/../ensurepip
[19:08:58] <dstufft> as in they delete the module entirely
[19:11:05] <dstufft> because of the policy against bundled software
[19:11:18] <dstufft> which is dumb because they allow virtualenv to do the same thing already
[19:11:23] <Ivo> why is --without-ensurepip not enough
[19:11:53] <dstufft> I think they just took a scorched earth policy while they figure out what they are going to do
[19:12:06] <Ivo> my naive assumption is surely you'll get a cleaner outcome by using the configure option the maintainer of the upstream nicely provided for you
[19:12:44] <dstufft> --without-ensurepip only prevents pip being installed into the global site-packages
[19:12:56] <dstufft> The ensurepip module itself still exists
[19:13:05] <dstufft> and the venv module uses it to install pip into a newly created venv
[19:13:28] <dstufft> what debian did was use --without-ensurepip to prevent it from being installed into the global site-packages, but then also removed the module from the stdlib all together
[19:13:33] <dstufft> which means venv breaks by default
[19:13:40] <Ivo> clearly i have a bad idea about what a --without-ensurepip option should do :S
[19:14:26] <Ivo> I always thought that venv was going to provide basic plumbing, and let something like virtualenv implement niceties over the top of it, like installing an pip
[19:14:54] <dstufft> with 3.4 the built in venv module is basically a complete replacement of virtualenv
[19:15:11] <dstufft> well except I don't think it handles -p
[19:15:33] <Ivo> I don't really like this 'well since we have a bundled pip dagging around, may as well chuck it in with the venv module as well'
[19:16:14] <dstufft> otherwise the venv module is pratically useless
[19:16:17] <Ivo> trying to get too much right, and the pip module will be static with the python version
[19:16:50] <dstufft> if it's good enough for the global site-packages it should be good enough for a venv
[19:16:58] <dstufft> and pip gets upgraded in patch releases
[19:17:05] <dstufft> so 3.4.1 will get a new version of pip bundled
[19:17:30] <dstufft> and something like virtualenv can still provide a shim over the venv module and provide newer pip if someone wants that
[19:18:18] <dstufft> It's kind of asymetric for Python to have ``pip`` available by default in the global site-packages, but not have it available in a venv
[19:20:48] <Ivo> i think it'd be asymmetric if python just bundled pip straight out, instead of a bootstrap module
[19:42:11] <Ivo> dstufft: I always thought virtualenv would transition over to using venv instead of its own incantations when it found it was running on python >=3.3
[19:42:39] <dstufft> that's certainly a possiblity
[19:42:51] <dstufft> but there's very little reason to keep ensurepip in the stdlib at all if it's just an install time thing
[19:42:56] <Ivo> and by that means venv would certainly not be 'useless'
[19:52:35] <Ivo> soooo, thinking in irc messages... python is now trying to provide a package manager, i.e make pip its official package manager, like ruby does with gem and node does with npm... but since it once was a '3rd party' package manager, distros don't know how to react?
[19:53:41] <dstufft> if we just committed it straight to the stdlib then they would have just allowed it
[19:54:05] <dstufft> but instead we put an installer in the stdlib and bundled a package inside it and install it
[19:54:14] <dstufft> and distros reallly don't like bundled software
[19:54:22] <dstufft> it makes it harder for them to handle patches and stuff
[19:54:38] <Ivo> but not only that, we also make use of that to enable the shared nothing architecture that is a venv
[19:55:30] <Ivo> because you use that wheel to install a separate pip into a venv, which is now a feature of python (if you don't go removing stuff)
[19:55:51] <dstufft> for instance: If they want to patch pip to use the system provided certificates instead of the bundled ones, they have to patch the one provided by python-pip, and they have to unpack the Wheel, patch that pip, and repack the Wheel, and then stick it back inside
[19:56:28] <Ivo> so it would be less of a problem if we were more like node, in that the npm that handles a local node env is the same one that does global installs (you just add -g in your invocation)
[19:57:35] <dstufft> well it'd be less of a problem if we just shoved pip in the stdlib
[19:57:47] <Ivo> how do install it to a venv then tho
[19:58:09] <dstufft> you wouldn't have to install it, it'd be part of the stdlib
[19:58:10] <Ivo> or would you forgo that feature in that case
[19:58:19] <dstufft> so you'd get it just like everything else you get in the stdlib
[19:59:13] <dstufft> The reason we didn't do that is we wanted to be able to independetly upgrade pip in an rleady installed environment
[19:59:58] <dstufft> e.g they way we did it, even if you'er stuck on 3.4.0 and pip 1.5.4, but you want the latest pip (1.9 let's say), you're only a pip install --upgrade pip away from that
[20:00:49] <Ivo> so what was stopping the installer from putting a 1.5.4 pip in lib/site-packages
[20:01:08] <Ivo> and pip install --upgrade pip would also work
[20:02:32] <dstufft> well that's what it does more or less, it just does the unpacking of a Wheel at install time rather than commiting it to the repo
[20:02:46] <dstufft> I have to go and pick up my daughter
[20:02:57] <Ivo> but the latter would have been easier for distros
[20:03:06] <Ivo> cus they no longer have to worry about a wheel
[20:23:57] <dstufft> Ivo: there were concerns about that which I don't recall exactly, and venv doesn't include the system site-pacakges by default either
[20:24:51] <Ivo> that was why i was asking about whether you'd roll back the venv-includes-a-copy-of-pip feature
[20:26:13] <Ivo> is your daughter having a good day?
[20:31:03] <dstufft> rolling back that would require deprecating and removing features from CPython
[20:31:11] <dstufft> and i'm not convinced it'd be worth it tbh
[20:31:43] <dstufft> the distros will sort things out, they are just kind of trying to do that now
[20:32:22] <Ivo> well the example you gave, ca certificates, seems a bit hypocritical that they made no fuss about virtualenv vendoring zips
[20:32:42] <Ivo> but when python proper does it, its a no go
[20:35:04] <dstufft> Well python is a bigger deal than virtualenv, and I wouldn't exactly call it making a big fuss or anything
[20:35:18] <dstufft> they are rying to figure out what their policies are for python now
[20:35:34] <dstufft> for instance: one thing PEP453 does is recommend installing python-pip with Python
[20:37:15] <Ivo> imho the deliniation should be made on whether something is system-y or developer-y. ensurepip's copy of pip is developer-y, so system maintainer shouldn't be trying to mess with it
[20:37:30] <dstufft> Fedora is planning on introducing a circular dependency for that, Debian doesn't want to do that because a circular dependency is kind of icky
[20:37:44] <dstufft> also pip is a developer facing tool in their eyes, but Debian isn't just a developer facing OS
[20:38:37] <Ivo> well the problem is vanilla pip by default is modifying the system python and system path, so I'd say it has to be considered system-y
[21:00:16] <dstufft> even when python2 is gone it'll probably be ``python3`` still
[21:00:48] <dstufft> jezdez: but afaik all of Ubuntu's internal stuff uses 3.4 in the latest LTS, and python 3.4 is preinstalled but python2 requires an apt-get
[21:00:59] <dstufft> for a minimal install at least
[21:02:11] <tomprince> Oh. Reading https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/362570 suggests that dist-packages in /usr/local is to distinguish from a manually installed python in /usr/local
[21:02:28] <dstufft> tomprince: ah that makes sense
[21:02:35] <Ivo> arch is a happy reverse mirror land of joy
[21:02:46] <Ivo> if you want to install a python2 version of something you need a 2 in the name
[21:03:03] <dstufft> Ivo: I would maybe consider using arch for a desktop if I ever left the land of Apple
[21:04:01] <dstufft> but yea, right now the various linux distros support (or don't) PEP453 to varying degrees while they figure out how mad they are at PEP453/me
[21:04:33] <Ivo> dstufft: you get either the latest version of a thing after a week or two, or at its .1 release if its big and probably needs a bug release
[21:04:49] <dstufft> but afaict most of them are probably going to enable it at least for the venv module
[21:05:10] <dstufft> I doubt many of them will use ensurepip to install pip into the system python
[21:05:17] <dstufft> but I never expected them to anyways
[21:05:39] <dstufft> Fedora is got some thing which will dynamically generate a Wheel from an already intalled pip
[21:05:48] <Ivo> i essentially think they'd be a lot less scared if pip already had '--user by default'ish behaviour