PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 21st of September, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[08:28:26] <nanonyme> Can you define more indexes in a requirements file?
[08:29:27] <mgedmin> IIRC yes, with --extra-index-url=https://...
[09:08:45] <nanonyme> Awesome, sounds totally like what I want
[09:09:07] <nanonyme> So I'm planning to have --extra-index-url=http://jenkins/job/myjob/artifact/.../
[09:09:52] <nanonyme> Just in case you're wondering what the heck I'm doing :P
[09:10:25] <mgedmin> --find-links might be more appropriate
[09:10:30] <nanonyme> The particular project doesn't publish to our internal PyPI instance and it's currently way too much work to make them do that
[09:10:34] <nanonyme> Ah, okay
[09:10:44] <mgedmin> extra indexes need to follow a certain URL structure; --find-links is just a plain list of links to downloadable files
[09:10:59] <nanonyme> Does it work in addition to -i?
[09:11:02] <mgedmin> yes
[09:11:05] <nanonyme> Cool
[09:11:56] <rnix> hi, when installing virtualenv and a package to it like so -> sudo -u foo virtualenv . && sudo -u foo ./bin/pip install package -> i get permission denied for /root/.cache -> how is this cache directory set? i would like to use the one of foo user instead?
[09:12:55] <mgedmin> rnix, try sudo -H -u foo ...
[09:13:16] <mgedmin> sudo keeps HOME=/root by default, and pip tries to access ~/.cache
[09:13:25] <mgedmin> sudo -H sets HOME to the home directory of the user you sudo to
[09:16:08] <rnix> mgedmin: works, thanks!
[20:16:13] <nedbat> what does it mean when "pip freeze" reports the version number with triple-equals? ===
[20:18:17] <xafer> maybe that the version identifier does not conform to pep440
[20:34:42] <carljm> nedbat: it means yavascript, of course! (actually I have no idea)
[20:35:16] <nedbat> this channel is so helpful! :)
[20:36:55] <elarson> nedbat: do you have an example?
[20:39:20] <carljm> nedbat: more usefully, I think it's probably https://www.python.org/dev/peps/pep-0440/#arbitrary-equality
[20:39:33] <carljm> which means xafer was probably right
[20:39:56] <nedbat> oh, could be: https://gist.github.com/nedbat/a6d3d52d7ee0d1c78cff
[20:40:07] <carljm> this is pip's way of saying "this version 'number' doesn't make sense to me numerically according to pep 440, so I'm just outputting an arbitrary string equality"
[20:40:29] <nedbat> xafer: good call. there are two there, and they are both weird.
[20:43:44] <nedbat> xafer: thanks! :)
[20:49:08] <xafer> happy to help :)
[22:28:18] <agronholm> nedbat: do you use type hints in your code?