PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Friday the 6th of March, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[09:55:36] <ronny> is there a builtin way to get the latest version of a package in a download folder as well as pruning older versions from it?
[10:09:49] <pjdelport> ronny: I don't think so.
[10:10:30] <ronny> what about a function to parse filenames and versison numbers in them
[12:16:09] <pjdelport> ronny: There probably is one, yes, but i don't know offhand.
[16:57:14] <sugoruyo> hey folks, is this the right place to get some help regarding `pip`?
[16:58:58] <ronny> sugoruyo: yes
[16:59:27] <sugoruyo> ronny: ah, good. I seem to be having trouble getting pip to work through our proxy
[17:01:55] <ronny> sugoruyo: what kidn of proxy?
[17:01:58] <ronny> *kind
[17:03:34] <sugoruyo> ronny: I guess HTTP proxy? I think they're running squid but I'm not sure
[17:06:59] <ronny> sugoruyo: so whats the problem?
[17:08:31] <sugoruyo> first off, I'm running Mint (which might have something to do with it). I've got proxy settings defined in the DE and almost all GUI programs work fine, I've also got the settings specified for apt to work
[17:08:51] <sugoruyo> finally, my .bashrc defines $HTTP_PROXY and $HTTPS_PROXY, also in small letters as well
[17:09:16] <sugoruyo> most other CLI tools seem to work OK with all this
[17:09:25] <sugoruyo> pip always times out
[17:13:22] <ronny> sugoruyo: it seems you need to put the proxy setting into pip.conf as well
[17:13:33] <sugoruyo> ronny: where is that?
[17:15:07] <ronny> sugoruyo: ah, i see, you need o set PIP_PROXY
[17:15:16] <ronny> https://pip.pypa.io/en/latest/user_guide.html#configuration
[17:17:27] <sugoruyo> ronny: OK, .pip/pip.conf seems perfectly normal. What is the syntax though? I don't have such a file, do I just make one and put PIP_PROXY="proxyaddress" into it? Does it need to be quoted or not? I don't see this information on that docs page...
[17:17:51] <ronny> sugoruyo: oh wait, PIP_PROXY would be the env var
[17:18:02] <ronny> sugoruyo: for the toher stuff see the link i posted, its a ini file
[17:18:56] <sugoruyo> ronny: should setting PIP_PROXY=$HTTP_PROXY work?
[17:24:18] <ronny> sugoruyo: i think so, but cant test amt
[17:24:22] <ronny> *atm
[17:24:47] <sugoruyo> I just did, it doesn't work
[17:33:35] <sugoruyo> it seems to be limited to pip at the moment
[17:33:56] <sugoruyo> if I were to use requests to ask for something it automatically picks up the settings and goes along fine
[17:36:34] <sugoruyo> oh well, I gotta go, have a nice weekend folks