PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Friday the 29th of July, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[10:48:54] <Timvde> I need to use an authenticated proxy to install packages through pip. However, I rather not type my password in a shell command. Can I make it ask for my password instead?
[13:32:15] <pombreda> Timvde: you could use an env variable?
[13:37:06] <pombreda> or write a pip wrapper script asking for the password?
[13:37:51] <Timvde> pombreda: Hmm, that second part sounds like a good idea :)
[13:38:15] <Timvde> Also, lesson of the day: using @ in your password doesn't work with username:password@host...
[13:38:28] <pombreda> :D
[13:38:29] <Timvde> I might have leaked the last part of my password to the sysadmins now, oops
[13:38:59] <pombreda> Timvde: trust none. Change your password :D
[13:39:07] <Timvde> (depends on how verbose their logging is, but let's assume it's leaked)
[13:39:14] <Timvde> Was planning to ;)
[13:39:39] <Timvde> Also finally gives me a good reason to migrate to a password manager
[13:39:46] <pombreda> note that you can also set an HTTP_PROXY and HTTPS_PROXY env var. pip honors it afaik
[13:40:01] <Timvde> pombreda: yes, I found that out :)
[13:40:07] <moldy> hi
[13:40:09] <moldy> what is the best practice for specifying that my package needs a certain minimum version of setuptools? just docs?
[13:40:10] <Timvde> And that's how I proceeded and finally leaked my password :P
[13:40:44] <pombreda> moldy: you can set that up in setup.py proper afaicr in the section .....
[13:41:08] <moldy> pombreda: hmm, in install_requires?
[13:41:20] <pombreda> likely so.
[13:41:48] <pombreda> but this might create a strange loop though it may work
[13:43:35] <moldy> pombreda: hmmm, that doesn't help in my case, i think. i am using the new environment marker syntax, so my egg_info step requires a recent setuptools
[13:47:01] <pombreda> you can check setuptools.__version__ once you imported it and fail gracefully so the user van update
[13:47:03] <pombreda> *can
[13:49:48] <moldy> that might be a good idea