PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 29th of December, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[10:45:31] <gordonjcp> agronholm: yeah, it doesn't seem to be doing that either
[11:49:27] <agronholm> gordonjcp: is your pip recent enough?
[11:49:57] <gordonjcp> it's whatever is packaged with Ubuntu 15.10
[11:50:00] <gordonjcp> so, possibly not
[11:50:16] <gordonjcp> since I cache everything anyway I'd like to just use that
[12:17:42] <mgedmin> gordonjcp, AFAIU pip's supposed to honor http_proxy/https_proxy environment variables
[12:19:42] <gordonjcp> mgedmin: yeah, I thought that but it complains bitterly about not being able to use https
[12:19:56] <gordonjcp> mgedmin: I'm not at home right now so I can't post the exact error message
[12:19:58] <mgedmin> when you use https_proxy?
[12:20:07] <gordonjcp> well my proxy doesn't do https
[12:20:14] <mgedmin> I've never used a proxy server so I probably can't help you anyway
[12:20:23] <mgedmin> you can't get modern pip to use http
[12:20:32] <mgedmin> ubuntu 15.10 is probably sufficiently modern
[12:20:39] <gordonjcp> ah :-/
[12:20:50] <gordonjcp> so, it's https only?
[12:20:56] <gordonjcp> no way round that?
[12:20:58] <mgedmin> all I know from lurking in this channel/elsewhere is that https_proxy is supposed to work
[12:21:31] <gordonjcp> hm, I'm not sure how to make it work with the proxy serving https locally
[12:21:40] <gordonjcp> wouldn't it freak out over a different certificate?
[12:22:03] <mgedmin> I don't know how https_proxy works :/
[12:22:30] <gordonjcp> tbh I don't much care about https since if anyone's MITMing the 30 feet of wire between the server in the boiler cupboard and the PC in my workshop I've really got bigger problems on my hands
[12:22:42] <mgedmin> does it connect to the proxy server using HTTPS? or does it connect using HTTP and then use GET https://pypi..../ ? or does it try to use CONNECT pypi.python.org:443 ?
[12:22:56] <ionelmc> gordonjcp: you might need to specify a different index url (that's not on https)
[12:22:59] <gordonjcp> I don't know, I'll dig into it when I get back
[12:23:01] <gordonjcp> ionelmc: ah
[12:23:03] <gordonjcp> good call
[12:23:30] <mgedmin> http://stackoverflow.com/a/19962913
[12:24:43] <gordonjcp> mgedmin: noted
[12:24:51] <gordonjcp> of course maybe my proxy is broken
[12:25:31] <mgedmin> try accessing https://pypi.python.org/simple/setuptools with links/lynx/w3c?
[12:25:53] <mgedmin> to see if the proxy works
[12:26:12] <mgedmin> afaiu they obey the same https_proxy env var
[12:26:13] <gordonjcp> ye
[15:10:56] <borisj> Hi, Is it intended in Python 3 that namespace packages can contain regular packages?
[19:15:45] <dstufft> [Tritium]: a more realistic approach would be for PyPI to disallow .exe uploads I think. At some point I plan on going through and trying to disable uploads for formats that don't make sense to have on PyPI, like .rpm and such.
[19:16:11] <dstufft> gordonjcp: pip assumes a CONNECT based proxy I think
[19:17:08] <dstufft> gordonjcp: In any case, it's just requests under the cover, so you can eliminate pip and figure out the right options to get requests to do that and then just translate them to pip options. We do support http:// URLs, but you're required to use --trusted-host myhost.com to mark that host as allowed to be HTTP
[19:58:16] <gordonjcp> dstufft: okay, thanks
[20:04:44] <gordonjcp> agronholm: pip is definitely redownloading the entire world every time
[20:05:20] <gordonjcp> it's okay, I guess I can just not bother testing whether or not pip grabs the right packages
[20:05:34] <gordonjcp> hour-long test cycles do not make for rapid development
[20:05:55] <agronholm> gordonjcp: so have you tried upgrading pip?
[20:06:00] <gordonjcp> agronholm: yes
[20:06:05] <gordonjcp> it definitely does not cache
[20:06:14] <agronholm> it does cache here
[20:06:22] <gordonjcp> :-/
[20:06:29] <jleclanche> hiyas, are there dumps of the pypi database available somewhere? I already found the /simple/ index, but wondering if I can crawl the packages without too much overhead for the site.
[20:06:42] <gordonjcp> agronholm: which version are you on?
[20:07:48] <agronholm> gordonjcp: 7.1.2
[20:08:33] <gordonjcp> hm
[20:10:17] <gordonjcp> where is it supposed to cache stuff?
[20:12:10] <gordonjcp> waaaaaaaaaaaaaaait a bloody minute
[20:12:33] <gordonjcp> it's running pip from my virtualenv, which is 1.5.6
[20:12:35] <gordonjcp> wtf
[20:25:15] <gordonjcp> agronholm: well that clears a few things up
[20:25:22] <gordonjcp> agronholm: thanks for your patience
[20:26:00] <gordonjcp> mgedmin, ionelmc and dstufft also, thanks :-)
[22:35:46] <buck1> does anyone know why pip1.5 is giving me partial wheels? http://paste.pound-python.org/show/fbIh3MAeXJBoIoO0S3qd/
[22:35:50] <buck1> a known bug?
[22:47:59] <xafer> It might be related to https://github.com/pypa/pip/pull/2122 that landed in pip6 ?